{"uid":"cap_gpjne6BPK4xvbVaaL4-r3","slug":"omniapi-text-character-count-4c74627a","name":"OmniAPI Text Character Count","description":"444 endpoints across 9+ chains. Crypto, AI, Social, Finance, Weather, Tools. Pay per call in USDC via x402 with 4 facilitators: Dexter, Meridian, FluxA, GoPlausible.","url":"https://omni-api-cyan.vercel.app/api/tools/text/char-count","method":"POST","headers":{},"bodySchema":{"type":"object","required":["query"],"properties":{"input":{"type":"string","description":"Input data for the endpoint"},"query":{"type":"string","description":"Search query or input text"},"params":{"type":"object","description":"Additional parameters"}}},"responseSchema":{"type":"object","description":"API response data"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.014164","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.014164/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.014164","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.014164","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pmln_rEcEdqo3PFIcVTEt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.014164","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 this text: 'The quick brown fox jumps over the lazy dog'?","exampleUseCases":[{"title":"Social media post length check","prompt":"Can you count the characters in this tweet draft so I know if it fits the 280-character limit: 'Excited to announce our new product launch — come join us this Friday for a live demo and Q&A session!'"},{"title":"SEO meta description validation","prompt":"Count the characters in this meta description for me: 'Buy premium organic coffee beans sourced directly from Colombian farms — free shipping on orders over $50.' I need to know if it's under 160 characters."},{"title":"Form field input length check","prompt":"I need to know how many characters are in this user bio before I store it: 'Software engineer by day, amateur chef by night. I love building tools that make people's lives easier and exploring new cuisines around the world.'"}],"resultDescription":"Returns the character count (an integer) representing the total number of characters in the submitted text string, likely including spaces and punctuation.","failureModes":["Empty or missing query/input field returns an error or zero count","Very large text strings may be truncated or rejected","Ambiguity between character count with vs. without spaces may cause unexpected results","Non-UTF-8 or special Unicode characters may be miscounted or cause errors","Payment failure via x402 prevents the call from completing"],"whenToPreferThis":"Use this endpoint when you need a quick, paid-per-call character count computation via the x402 micropayment protocol and already have OmniAPI access set up. For free or bulk text analysis, a local string-length function or a standard NLP library would be more cost-effective.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:49:07.287Z","isFirstParty":false}