{"uid":"cap_P2M5pySkOq-dLcrBIDm2x","slug":"fastapi-online-text-stats-a6667701","name":"fastapi.online Text Stats","description":"Chat, embeddings, OCR, speech-to-text, image editing, image understanding (captioning/Q&amp;A), text-to-speech, translation, writing tools, classification tools, developer tools, local utilities, format/checksum validators, encoding &amp; crypto utilities, date/time calculators, geo/coordinate math, math &amp; finance calculators, novelty tools, and business/social writing generators — 179 endpoints in all, across multiple specialized self-hosted models. Pay per call with crypto — no signup — or get an API key.","url":"https://api.fastapi.online/text-stats?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":50000,"minLength":1}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0005","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Zn1LkzjJaXypzJCAAPgze","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes text statistics (e.g. word count) for a given string of text, billed per call via crypto micropayment.","exampleAgentPrompt":"Can you count the words in this paragraph for me: 'The quick brown fox jumped over the lazy dog. It was a beautiful autumn morning and the leaves were just beginning to turn.'","exampleUseCases":[{"title":"Word count for drafted article","prompt":"I just finished drafting this blog post — can you tell me the word count? Here's the full text: 'Artificial intelligence is transforming industries at an unprecedented pace...'"},{"title":"Validate submission length requirement","prompt":"My grant application says I can't exceed 500 words. Can you check how many words are in my draft so I know if I need to trim it?"},{"title":"Content stats for SEO audit","prompt":"I need to know the word count of this product description before I submit it to the SEO team: 'Our premium ergonomic chair combines lumbar support with breathable mesh...'"}],"resultDescription":"Returns a JSON object containing at minimum a 'word_count' field (number) indicating how many words are in the submitted text. Additional statistics may be included in the response.","failureModes":["Missing 'text' field in request body returns a validation error","Empty string may return a word count of zero or an error","Very long text strings may cause timeouts or rejection","Payment failure or insufficient USDC balance blocks the call","Network errors or service downtime return HTTP 5xx"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call word count or text statistics computation without signup or subscription. It is ideal for agents that only occasionally need text metrics and want to avoid committing to a SaaS plan. If you need richer NLP analytics (sentiment, named entities, etc.), consider the other endpoints on the same platform.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T20:28:43.732Z","isFirstParty":false,"canonicalSlug":"fastapi-online-text-stats-a6667701"}