{"uid":"cap_RHwfY33vc8m2jQHdKM_2K","slug":"pennyrail-text-character-count-length-a3cef19e","name":"PennyRail Text Character Count / Length","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/text.char-count--text-length","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_lLMOfoU3bxvGlrrl5Uasc","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":"Counts the number of characters in a given text string and returns the character count and/or length","exampleAgentPrompt":"How many characters are in this text: 'The quick brown fox jumps over the lazy dog'?","exampleUseCases":[{"title":"Character limit validation before posting","prompt":"Check how many characters are in this tweet draft so I know if it fits the 280-character limit: 'Just launched our new product — it's faster, smarter, and built for teams who move quickly. Try it free for 30 days at example.com!'"},{"title":"Word processor character counter","prompt":"Count the characters in this paragraph I wrote for my bio: 'I'm a software engineer with 10 years of experience building scalable systems for fintech and e-commerce companies.'"},{"title":"SMS message length check","prompt":"How long is this SMS message in characters? 'Your package has been delivered to the front door. Please bring it inside at your earliest convenience. — ShipCo'"}],"resultDescription":"Returns a JSON object containing the character count and/or length of the submitted text string as a numeric value, indicating how many characters are present in the input.","failureModes":["Missing 'input' field in request body returns a validation error","Empty string input may return 0 or an error depending on implementation","Very large strings may hit payload size limits","Non-string input types may cause schema validation failure","Payment failure via x402 protocol results in 402 Payment Required before processing"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call character count or string length computation without standing up your own infrastructure. Ideal for AI agents that need to validate text length constraints, check character limits for social media or SMS, or compute string metrics on demand without a dedicated NLP service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:18:24.441Z","isFirstParty":false}