# KiHustle Type-Token Ratio Calculator

> KiHustle Type-Token Ratio Calculator is a paid API for AI agents from kihustle.tech, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Computes the type-token ratio (TTR) of a given text, a lexical diversity metric measuring unique word types relative to total tokens

## Facts

- Endpoint: POST https://kihustle.tech/agents/api/v1/type-token-ratio?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kihustle-type-token-ratio-calculator-fe55eca3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_18gDmy1n1BTKJuI6N0brw

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability kihustle-type-token-ratio-calculator-fe55eca3 -d '<json body>'
```

Example prompt: Can you calculate the type-token ratio for this text: 'The quick brown fox jumps over the lazy dog and the fox runs away quickly'? I want to know how lexically diverse it is.

## When to prefer this

Choose this endpoint when you need a quick, low-cost lexical diversity metric for a single text sample. It is well-suited for NLP preprocessing pipelines, content quality scoring, plagiarism analysis workflows, or language learning applications where vocabulary richness needs to be quantified. Prefer it over full NLP suites when you only need the TTR statistic without sentiment, POS tagging, or other linguistic annotations.

## Known failure modes

- Empty or missing text field returns an error or undefined result
- Extremely short texts (1-2 words) produce TTR of 1.0 which may be misleading
- Very long texts may produce artificially low TTR due to natural word repetition
- Non-text or heavily numeric input may yield unreliable diversity scores
- Malformed JSON request body returns a 400-level error

## How this service works

Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.

## Output

Returns a JSON object containing the computed type-token ratio result and a success status indicator. The TTR value reflects the proportion of unique word types to total tokens in the submitted text, serving as a lexical diversity metric.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "processed",
  "status": "success"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kihustle-type-token-ratio-calculator-fe55eca3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kihustle.tech](https://www.zero.xyz/host/kihustle.tech/llms.txt)
