{"uid":"cap_uZhpf2yjxvbDGDWCKRixR","slug":"relaystation-text-count-19485983","name":"Relaystation Text Count","description":"$0.0002/MB. Count characters, words, and lines — plus reading time. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/text/count","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Bu4a-bpnF91-wM8RcSDjp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Counts characters, words, and lines in text and returns estimated reading time, billed at $0.0002/MB via x402.","exampleAgentPrompt":"Can you count the words, characters, and lines in this article and tell me how long it would take to read? Here's the text: [paste text]","exampleUseCases":[{"title":"Blog post reading time estimate","prompt":"Here's my draft blog post — can you tell me how many words it has and how long it'll take an average reader to get through it?"},{"title":"SMS character limit checker","prompt":"I need to know exactly how many characters are in this message I'm about to send — can you count them so I know if it fits in a single SMS?"},{"title":"Submission word count verification","prompt":"This journal requires submissions to be under 3,000 words — can you count the words in my essay draft and let me know if I'm over the limit?"}],"resultDescription":"Returns a structured response containing character count, word count, line count, and estimated reading time for the provided text input.","failureModes":["Empty or missing text body returns an error","Extremely large payloads may exceed billing thresholds or timeouts","Non-UTF-8 encoded text may cause parsing errors","Insufficient x402 payment balance results in payment required error"],"whenToPreferThis":"Use this endpoint when you need fast, cheap, per-call text metrics (characters, words, lines, reading time) without spinning up a local NLP library. Ideal for agents that need to validate content length before submission, estimate reading time for content pipelines, or check character limits for platforms like SMS or social media. The x402 micropayment model at $0.0002/MB makes it cost-effective for both small and large text volumes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:50:28.022Z","isFirstParty":false}