{"uid":"cap_msdi9MViHgMDbxHD_Y7Qg","slug":"24k-labs-text-statistics-api-e1d3b696","name":"24K Labs Text Statistics API","description":"Character, word, sentence, paragraph counts, average word length, and reading time.","url":"https://api.24klabs.ai/api/text-stats","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string"}}},"responseSchema":{"type":"json","example":{"words":6,"characters":28}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_M85GmnL-hFVwevL5_uDJQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a text string and returns character, word, sentence, and paragraph counts, average word length, and estimated reading time.","exampleAgentPrompt":"Can you give me the full text stats for this article — word count, character count, sentence and paragraph counts, average word length, and estimated reading time?","exampleUseCases":[{"title":"Blog post readability check","prompt":"How many words, sentences, and paragraphs are in this blog post draft, and how long will it take the average person to read it?"},{"title":"Essay word count verification","prompt":"I need to verify my essay hits the right length — can you count the words, characters, and sentences in it and tell me the average word length?"},{"title":"Content length audit for SEO","prompt":"Run text stats on this landing page copy — give me the word count, paragraph count, and reading time so I can make sure it's the right length for SEO."}],"resultDescription":"A JSON object containing: total character count, total word count, sentence count, paragraph count, average word length (in characters), and estimated reading time (typically in minutes or seconds). All metrics are derived from the submitted text string.","failureModes":["Empty or missing text body returns an error","Extremely large text payloads may time out or be rejected","Non-UTF-8 encoded text may cause parsing errors","Network or payment authorization failure results in no response"],"whenToPreferThis":"Use this endpoint when you need fast, structured text metrics — word count, character count, sentence/paragraph counts, and reading time — without needing full NLP analysis like sentiment or entity extraction. It is ideal for content editors, SEO tools, and writing assistants that need lightweight, quantitative text statistics at low cost ($0.001 per call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:08.356Z","isFirstParty":false}