{"uid":"cap_7e9RJu3qMreNBfcWg4pmD","slug":"omniapi-word-count-c869c5f8","name":"OmniAPI Word 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/word-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.082554","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.082554/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.082554","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.082554","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gWMW0x3j0KmCZeD2tP_DK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.082554","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 words in a given text string","exampleAgentPrompt":"Can you count how many words are in this paragraph: 'The quick brown fox jumps over the lazy dog and then runs away into the forest'?","exampleUseCases":[{"title":"Essay word count checker","prompt":"Count the words in this essay draft for me: 'Technology has transformed the way we communicate, work, and live. Over the past two decades, smartphones and the internet have reshaped society in ways previously unimaginable.'"},{"title":"Social media post length check","prompt":"How many words is this tweet draft: 'Excited to announce our new product launch! Join us this Friday for a live demo and Q&A session with the founding team.'?"},{"title":"Contract clause word limit validation","prompt":"I need to know the word count of this contract clause to make sure it's under 100 words: 'The parties agree that any dispute arising under this agreement shall be resolved through binding arbitration in the state of California, under the rules of the American Arbitration Association.'"}],"resultDescription":"Returns the total word count of the input text, and potentially additional text statistics such as word frequency or character count","failureModes":["Empty or missing query field returns an error or zero count","Extremely long text strings may be truncated or cause timeout","Non-text inputs (numbers, symbols only) may return unexpected counts","Payment failure via x402 results in 402 response and no data returned"],"whenToPreferThis":"Use this endpoint when you need a quick, programmatic word count for any text string and are already integrated with the OmniAPI x402 payment flow. It is appropriate for lightweight, single-call text measurement without requiring a full NLP or document processing pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:59:26.324Z","isFirstParty":false}