{"uid":"cap_kax81ldYOMTPC-LAqhboW","slug":"one-engine-text-token-word-counter-b73f35ee","name":"ONE Engine Text Token Word Counter","description":"Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.","url":"https://one-search.one-engine.workers.dev/v3/text-token/words/t6?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Text up to 50000 characters"}}},"responseSchema":{"type":"object","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kJRfkrx_sz8ZMZw7dR9zP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","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, returning token/word statistics for up to 50,000 characters.","exampleAgentPrompt":"Count the words in this text for me: 'The quick brown fox jumps over the lazy dog. It was a bright cold day in April, and the clocks were striking thirteen.'","exampleUseCases":[{"title":"Essay word count checker","prompt":"Can you count how many words are in my essay draft? Here it is: 'Artificial intelligence has transformed the way we interact with technology. From voice assistants to recommendation engines, AI is everywhere in modern life. The question is no longer whether AI will change society, but how quickly and how profoundly it will do so.'"},{"title":"Content length verification before publishing","prompt":"I need to know the word count of this blog post introduction before I submit it — 'In the ever-evolving landscape of digital marketing, understanding your audience has never been more critical. Brands that succeed are those that listen, adapt, and deliver value at every touchpoint.' How many words is that?"},{"title":"Contract text length measurement","prompt":"How many words are in this contract clause? 'The Licensee agrees to use the Software solely for internal business purposes and shall not sublicense, sell, resell, transfer, assign, or otherwise dispose of the Software or any portion thereof without the prior written consent of the Licensor.'"}],"resultDescription":"Returns an object containing word count and token statistics derived from the submitted text, such as total word count and possibly token-level breakdown for up to 50,000 characters of input.","failureModes":["Text exceeds 50,000 character limit — request rejected or truncated","Empty text field — may return zero count or validation error","Payment not attached or insufficient USDC balance — 402 Payment Required response","Malformed JSON body — 400 Bad Request","Network timeout on Cloudflare Workers edge — retry recommended"],"whenToPreferThis":"Choose this endpoint when you need a cheap, fast, pay-per-call word/token count for arbitrary text without standing up your own NLP pipeline. At $0.004 USDC per call via x402 on Base, it suits autonomous agents that process text on demand without subscription overhead. Prefer it over heavyweight NLP APIs when you only need word-count metrics, not full linguistic analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:06.495Z","isFirstParty":false,"canonicalSlug":"one-engine-text-token-word-counter-9981bf78"}