{"uid":"cap_z61Tr0VHBgHdh-86qmBhU","slug":"ccc-tools-text-statistics-api-197ef8cc","name":"CCC Tools Text Statistics API","description":"Developer utilities via x402 micropayments. QR code generation, markdown-to-HTML conversion, base64 encoding/decoding, hash generation (SHA256/SHA512/MD5), text statistics, and JSON formatting.","url":"https://ccc-tools-phi.vercel.app/api/text-stats","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Text to analyze"}}},"responseSchema":null,"example":{"request":{"text":"The quick brown fox jumps over the lazy dog. It was a sunny afternoon and the forest was quiet. This is a test of the text analysis API."},"response":{"chars":136,"lines":1,"words":28,"sentences":3,"paragraphs":1,"charsNoSpace":109,"readingTimeMin":1}},"exampleRequest":{"text":"The quick brown fox jumps over the lazy dog. It was a sunny afternoon and the forest was quiet. This is a test of the text analysis API."},"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_586240xAfTwTb0jTqEEPn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","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 statistical metrics such as word count, character count, sentence count, and other text properties","exampleAgentPrompt":"Can you give me the full text stats for this paragraph — word count, character count, sentence count, all of it: 'The quick brown fox jumps over the lazy dog. It was a sunny afternoon and the forest was quiet.'","exampleUseCases":null,"resultDescription":"Returns statistical metrics about the provided text, including word count, character count, sentence count, paragraph count, and estimated reading time or other text properties.","failureModes":["Empty or missing text parameter returns an error","Extremely long text strings may cause timeouts or truncation","Payment failure via x402 micropayment results in 402 Payment Required response","Malformed request returns 400 Bad Request"],"whenToPreferThis":"Use this endpoint when you need quick, cheap ($0.05 USDC) programmatic text statistics — word count, character count, sentence analysis — without setting up a local NLP library. Ideal for agents that need to measure content length before processing, validate text constraints, or report on document properties.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:34:25.447Z","isFirstParty":false}