{"uid":"cap_E5aYSe1M0dWhBKvBc0XqV","slug":"kihustle-type-token-ratio-calculator-2c29d90f","name":"KiHustle Type-Token Ratio Calculator","description":"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.","url":"https://kihustle.tech/api/v1/type-token-ratio","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string"}}},"responseSchema":{"type":"json","example":{"result":"processed","status":"success"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VfVMDtlIHCfRhB7Rh_L2L","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the type-token ratio (TTR) of a given text, measuring lexical diversity by comparing unique word types to total word tokens","exampleAgentPrompt":"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 as the fox ran away.'","exampleUseCases":[{"title":"Vocabulary richness for content grading","prompt":"I have a student essay here — can you compute its type-token ratio so I can assess how varied their vocabulary is? Here's the text: 'Learning is important. Learning helps us grow. We learn every day by doing new things and learning from mistakes.'"},{"title":"SEO content repetition check","prompt":"Can you run a type-token ratio analysis on this blog post draft to see if it's too repetitive before I publish it? Text: 'AI tools help businesses. AI tools save time. AI tools are powerful tools for modern businesses to use every day.'"},{"title":"NLP pipeline lexical feature extraction","prompt":"I need the type-token ratio score for this sentence as a lexical diversity feature for my NLP model: 'She sells seashells by the seashore and the seashore sells the shells she sells.'"}],"resultDescription":"Returns a JSON object indicating the processing result and success status. Based on the TTR computation, the response contains a result field with the computed ratio or processed output and a status field confirming success. The TTR value represents the proportion of unique words (types) to total words (tokens) in the submitted text, ranging from 0 to 1 where higher values indicate greater lexical diversity.","failureModes":["Empty text input may return an error or undefined ratio","Extremely short texts (1-2 words) produce unreliable TTR values close to 1.0","Non-string input types will likely fail schema validation","Very long texts may be truncated or slow to process","Non-Latin scripts or multilingual text may produce unexpected tokenization results","Payment failure (insufficient USDC balance) blocks the request entirely"],"whenToPreferThis":"Choose this endpoint when you need a quick, paid-per-call TTR computation without setting up local NLP infrastructure. It is ideal for lightweight lexical diversity checks in content pipelines, educational grading tools, or NLP feature extraction workflows where simplicity and low per-call cost matter more than advanced linguistic models. Prefer this over custom NLP libraries when you want a serverless, pay-as-you-go approach at $0.002 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:58:18.563Z","isFirstParty":false}