{"uid":"cap_9vjx0aBQ2kiFvIKfRHYE-","slug":"pennyrail-text-statistics-ae0be5d9","name":"PennyRail Text Statistics","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/tools/text-stats","method":"GET","headers":{},"bodySchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string"}}},"responseSchema":{"type":"object","required":["characters","words","sentences","readingSeconds"],"properties":{"words":{"type":"integer"},"sentences":{"type":"integer"},"characters":{"type":"integer"},"readingSeconds":{"type":"number"}},"additionalProperties":true},"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_NsKwBpi-eoLwoTi9zpsvV","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, and estimated reading time for a given text string","exampleAgentPrompt":"Can you tell me how many words, characters, and sentences are in this text, and how long it would take to read: 'Artificial intelligence is transforming the way we work, communicate, and create. Every industry is feeling its impact, from healthcare to finance to education.'?","exampleUseCases":[{"title":"Blog post length check","prompt":"Before I publish this blog draft, can you tell me the word count, sentence count, and estimated reading time? Here's the text: 'Content marketing is one of the most effective ways to grow an audience online. By consistently publishing valuable, relevant content, brands can attract readers who are genuinely interested in what they offer.'"},{"title":"Email brevity audit","prompt":"I want to make sure my sales email isn't too long — can you count the words and sentences and tell me how many seconds it would take to read? The email reads: 'Hi Sarah, I wanted to follow up on our conversation last week about streamlining your onboarding process. We've helped companies like yours cut ramp time by 40%. Would you be open to a 20-minute call this Thursday?'"},{"title":"Content platform word limit enforcement","prompt":"Check if this user-submitted comment is within a reasonable length — give me the character count, word count, and reading time for: 'I completely disagree with the premise of this article. The author ignores decades of research showing that remote work actually increases productivity for knowledge workers when done with proper tooling and management.'"}],"resultDescription":"Returns a JSON object with four fields: characters (integer total character count), words (integer word count), sentences (integer sentence count), and readingSeconds (number representing estimated reading time in seconds). Additional fields may be present due to additionalProperties: true in the schema.","failureModes":["Missing required 'text' field returns an error","Empty string input may return zeros or an error","Extremely long texts may hit timeout or size limits","Non-string text values may cause validation errors","Network or service unavailability returns a 5xx error","Payment failure (x402) prevents access to the endpoint"],"whenToPreferThis":"Choose this endpoint when you need a fast, low-cost computation of basic text statistics (word count, character count, sentence count, reading time) without requiring a heavyweight NLP library or model inference. It is ideal for content pipelines, editorial tools, or agent workflows that need quick readability metrics on arbitrary text strings. At $0.001 USDC per call it is economical for high-volume use cases. Prefer alternatives if you need advanced readability scores (Flesch-Kincaid, Gunning Fog), sentiment, or language detection.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:49:46.648Z","isFirstParty":false}