{"uid":"cap_nCC2gwpKyKMIaqqUnGD5m","slug":"primeapi-character-count-15a875cd","name":"PrimeAPI Character Count","description":"Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.","url":"https://prime-api-seven.vercel.app/api/tools/text/char-count","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","description":"Search query or input parameter"}}},"responseSchema":{"type":"object","description":"API response data"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.144365","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.144365/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.144365","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.144365","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gcRJGQfgVpui_py_DLZut","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.144365","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":"How many characters are in the following text: 'The quick brown fox jumps over the lazy dog'?","exampleUseCases":null,"resultDescription":"Returns a character count value for the input text string, indicating the total number of characters in the provided input.","failureModes":["Empty input string returns zero or error","Oversized input may be rejected or truncated","Payment failure (402) if USDC balance insufficient on Base","Generic API error response if service is unavailable"],"whenToPreferThis":"Use this endpoint when you need a simple, pay-per-call character count computation without managing API keys. Suitable for agents that need to measure text length on demand as part of a larger workflow, especially when already integrated with the x402 USDC payment protocol on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:58:52.376Z","isFirstParty":false}