{"uid":"cap_0rSnRwxgpVHkUCqEwkYdv","slug":"pennyrail-character-counter-0f0b7588","name":"PennyRail Character Counter","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/nano/text.char-count--count-characters","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_Hsczw5kmZWOVvTtJPXvV6","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","exampleAgentPrompt":"Count the characters in this text for me: 'The quick brown fox jumps over the lazy dog.'","exampleUseCases":[{"title":"Social media post length check","prompt":"How many characters is this tweet draft? 'Just launched our new product — built for speed, designed for you. Try it free today and let us know what you think! #launch #startup'"},{"title":"Input validation before API submission","prompt":"Before I send this to the API, can you count the characters in this string: 'Hello, World! This is a test payload.'? I need to make sure it's under 160 characters."},{"title":"Billing by character volume","prompt":"Count the characters in this block of text so I can estimate the processing cost: 'Artificial intelligence is transforming the way businesses operate across every industry sector worldwide.'"}],"resultDescription":"Returns a JSON object containing the character count for the provided input string, indicating the total number of characters present in the text.","failureModes":["Missing required 'input' field returns a validation error","Empty string may return zero or an error depending on server handling","Non-string input types may cause a schema validation failure","Network or payment authorization issues may result in a 402 or 5xx error"],"whenToPreferThis":"Use this endpoint when you need a simple, reliable, pay-per-call character count computation without setting up local string processing. Ideal for lightweight agent workflows, serverless pipelines, or billing calculations where a microservice approach is preferred over inline code.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:55:55.906Z","isFirstParty":false}