{"uid":"cap_XBjztWu-aD9Zwv7f9YDqq","slug":"pennyrail-text-statistics-66e7b538","name":"PennyRail Text Statistics","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/text.stats--text-stats","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string"}}},"responseSchema":{"type":"object","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_KR-Qe1IsaigS-p4vf2quv","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 statistical metrics (character count, word count, sentence count, etc.) for a given input text string","exampleAgentPrompt":"Can you run text stats on this paragraph for me: 'The quick brown fox jumps over the lazy dog. It was a bright and sunny afternoon in the meadow.'","exampleUseCases":[{"title":"Blog post length check","prompt":"I just finished drafting this article intro — can you tell me how many words, sentences, and characters it has? Here's the text: 'Artificial intelligence is reshaping every industry from healthcare to finance. But few people understand how these systems actually work under the hood.'"},{"title":"Student essay word count validation","prompt":"My essay needs to be at least 500 words — can you check the stats on this text I wrote so I know if I've hit the limit? Here it is: 'The Renaissance was a period of profound cultural transformation in Europe...'"},{"title":"Marketing copy length audit","prompt":"I want to check the character and word count on this ad copy before we submit it: 'Discover the power of smarter living with our all-new home automation suite — designed for you.'"}],"resultDescription":"Returns a JSON object containing computed text statistics such as word count, character count, sentence count, and potentially other readability or frequency metrics derived from the submitted text string.","failureModes":["Missing 'input' field returns a validation error","Empty string input may return zero-value stats or an error","Very large text payloads may time out or be rejected","Payment failure (HTTP 402) if USDC balance is insufficient","Malformed JSON body causes a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call text statistics computation without setting up a dedicated NLP service. Ideal for lightweight word/character/sentence counting in automated pipelines where spinning up a full text-analysis library is overkill. Best suited for single-string inputs needing basic metrics rather than deep semantic analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:58:44.149Z","isFirstParty":false}