# 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-13).

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

## Facts

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

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-04a62104 -d '<json body>'
```

Example prompt: Can you calculate the type-token ratio of this paragraph to tell me how lexically diverse it is: 'The quick brown fox jumps over the lazy dog. The dog barked at the fox.'?

## When to prefer this

Choose this endpoint when you need a quick, affordable per-call lexical diversity metric for individual text samples, particularly in NLP pipelines, content quality checks, or educational assessment workflows where micropayment-per-call billing is acceptable.

## Known failure modes

- Empty text input returns an error or undefined ratio
- Extremely short texts (1-2 words) produce misleadingly high TTR values
- Very long texts may produce artificially compressed TTR due to vocabulary saturation
- Non-text or numeric-only input may produce unexpected results
- Payment failure (402) if USDC micropayment is not correctly attached

## 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 with a result field indicating the computed type-token ratio value (number of unique word types divided by total word tokens) and a status field confirming successful processing.

## 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-04a62104/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)
