{"uid":"cap_-Y_jBoNYxG3bQxQ6j1I_3","slug":"forgemesh-text-statistics-api-6efb44d0","name":"ForgeMesh Text Statistics API","description":"Text statistics API: characters, words, sentences, average sentence length, Flesch reading-ease score, estimated reading time, and estimated LLM token count for any text — instant, computed locally, nothing stored. For context-budget checks, readability gates, and content QA in agent pipelines.","url":"https://x402.forgemesh.io/text-statistics","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string"}}},"responseSchema":{"type":"json","example":{"words":13,"sentences":2,"flesch_reading_ease":97,"estimated_llm_tokens":16}},"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_gblotN7c1UhSaP2lAL2mM","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":"Computes character count, word count, sentence count, average sentence length, Flesch reading-ease score, estimated reading time, and estimated LLM token count for any submitted text.","exampleAgentPrompt":"Can you give me the full text statistics for this paragraph — word count, character count, Flesch readability score, estimated reading time, and token count: 'Artificial intelligence is transforming how we write, read, and communicate, but not everyone agrees on whether that transformation is for the better.'","exampleUseCases":null,"resultDescription":"Returns a JSON object containing character count, word count, sentence count, average sentence length, Flesch reading-ease score (0–100), estimated human reading time, and estimated LLM token count for the submitted text. No data is stored server-side.","failureModes":["Empty or missing 'text' field returns an error response","Extremely long text may exceed request size limits","Non-UTF-8 encoded content may cause parsing errors","Network timeout on slow connections despite fast computation"],"whenToPreferThis":"Use this endpoint when you need instant, stateless text statistics including LLM token estimation, readability scoring, and reading-time estimates — especially in agent pipelines doing context-budget checks, readability gates, or content QA. Prefer this over heavyweight NLP APIs when you only need lightweight computed metrics without storing data or sending content to a third party.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T01:04:54.777Z","isFirstParty":false}