{"uid":"cap_zyUdVlNG7wYITknCV4G7s","slug":"text-stats-api-7b6fb25e","name":"Text Stats API","description":"Generated by create next app","url":"https://x402-qr-api.vercel.app/api/text-stats?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"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_PNyyBbKRKolpv7qDqafBO","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":"Returns statistical analysis of a text string, including word count, character count, sentence count, and related metrics","exampleAgentPrompt":"Can you get me the word count, character count, and sentence count for this text: 'The quick brown fox jumps over the lazy dog. It was a bright sunny day in the forest.'","exampleUseCases":[{"title":"Blog post length check","prompt":"How many words and sentences are in this draft intro: 'Artificial intelligence is transforming industries across the globe. From healthcare to finance, the impact is undeniable and growing every year.'?"},{"title":"Reading time estimate for article","prompt":"Can you tell me the estimated reading time and word count for this paragraph: 'The history of computing spans decades of rapid innovation, starting from room-sized machines to pocket-sized devices that outperform their predecessors by orders of magnitude.'?"},{"title":"Content moderation character count","prompt":"I need the character count and word count for this user-submitted text to check if it exceeds our 50-word limit: 'Please review my application at your earliest convenience. I have attached all relevant documents and look forward to hearing from you soon.'"}],"resultDescription":"Returns computed text statistics including word count, character count, sentence count, paragraph count, and estimated reading time for the provided input text.","failureModes":["Empty or missing text input returns an error or zero-value stats","Extremely long text inputs may hit request size limits","Non-UTF-8 encoded characters may cause parsing errors","Rate limiting or payment failure (402) if x402 payment is not properly attached"],"whenToPreferThis":"Use this endpoint when you need quick, lightweight text statistics such as word count, character count, or reading time without requiring a full NLP pipeline. It is ideal for content validation, SEO checks, or UI feedback where simple text metrics are sufficient and low cost ($0.001 USDC) per call is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T06:32:24.712Z","isFirstParty":false,"canonicalSlug":"text-stats-api-7b6fb25e"}