{"uid":"cap_-Uw032sDJk5nmWFkNygUc","slug":"text-statistics-api-a7151017","name":"Text Statistics API","description":"Word/character/sentence counts, reading time and language stats for any text — content QA and length budgeting","url":"https://money-reactor.makar52nn2016.workers.dev/api/text-stats?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","properties":{"queryParams":{"type":"object","properties":{}}}},"output":{"type":"object","properties":{"example":{"status":"ok"}}}}},"responseSchema":{"type":"json","example":{"status":"ok"}},"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_8SzKW_NcKK793W3-lh8En","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":"Returns word count, character count, sentence count, reading time, and language statistics for any input text","exampleAgentPrompt":"Can you give me the word count, sentence count, reading time, and language stats for this article draft: 'Artificial intelligence is transforming industries worldwide. From healthcare to finance, AI tools are enabling faster decisions and deeper insights...'?","exampleUseCases":[{"title":"Blog post length budget check","prompt":"I just wrote this blog post intro and need to know the word count, character count, and estimated reading time before I publish it — here's the text: 'The future of remote work is changing rapidly as more companies embrace hybrid models, creating new challenges for teams across the globe.'"},{"title":"Content QA before CMS submission","prompt":"Before I submit this article to the CMS, can you run a text stats check on it and tell me word count, sentence count, and reading time? Here's the copy: 'Climate change is accelerating at an unprecedented rate, with global temperatures rising by 1.1 degrees Celsius above pre-industrial levels...'"},{"title":"Newsletter character limit validation","prompt":"I need to make sure this newsletter section fits within our 200-word limit — can you count the words and characters in this text: 'Our quarterly report highlights record revenue growth across all divisions, driven by strong demand in the Asia-Pacific region and new product launches...'"}],"resultDescription":"A JSON object containing word count, character count, sentence count, estimated reading time, and language statistics for the submitted text, allowing agents to assess content length, readability, and composition at a glance.","failureModes":["Empty or missing text parameter returns an error or zero counts","Extremely long texts may hit request size limits","Non-UTF-8 encoded characters may cause parsing issues","Payment failure (402) if USDC balance is insufficient for the $0.002 per call fee"],"whenToPreferThis":"Choose this endpoint when you need quick, structured text metrics (word/character/sentence counts and reading time) without invoking a full LLM — it is cheaper, faster, and deterministic compared to asking an AI to estimate these values. Ideal for content QA pipelines, publishing workflows, and length-budget enforcement where exact counts matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:33:16.115Z","isFirstParty":false,"canonicalSlug":"text-statistics-api-a7151017"}