{"uid":"cap_FBcZGIHhD7mhNAj16-FYq","slug":"one-engine-text-token-word-counter-9981bf78","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/t7?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.0065","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.0065/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0065","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0065","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZCEd2au6AKOnWSRmiJyAq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0065","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Counts or tokenizes words in a given text string, returning word-level token analysis for up to 50,000 characters.","exampleAgentPrompt":"Count the words in the following text and give me the word totals: '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":"Blog post word count check","prompt":"Can you count how many words are in this draft blog post? I need to make sure it's under 1500 words before I submit it. Here's the text: [paste article text]"},{"title":"Contract length verification","prompt":"How many words are in this legal contract text? I need to verify it meets the minimum 500-word requirement before sending to the client."},{"title":"Social media copy measurement","prompt":"Tell me the word count for this marketing copy I wrote — I need to know if it fits within the 280-word limit for our newsletter snippet."}],"resultDescription":"Returns a JSON object containing word count metrics and/or tokenized word data derived from the submitted text. Likely includes total word count, individual word tokens, and possibly additional statistics about the text's word composition.","failureModes":["Text exceeds 50,000 character limit — request rejected or truncated","Empty text field returns zero count or error","Payment failure via x402 prevents processing","Ambiguous tokenization rules for hyphenated words or contractions may produce unexpected counts","Non-ASCII or non-Latin scripts may not tokenize as expected"],"whenToPreferThis":"Use this endpoint when you need a fast, low-cost, pay-per-call word count or word tokenization operation on text up to 50,000 characters, especially within autonomous agent workflows using x402 micropayments on Base. Prefer this over embedding-based or LLM-based word counting when you want deterministic, cheap, programmatic results without spinning up a larger model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:11.523Z","isFirstParty":false,"canonicalSlug":"one-engine-text-token-word-counter-9981bf78"}