{"uid":"cap_OjhN_0CCRtQJJgJ4MhjMJ","slug":"one-engine-text-token-word-counter-6694770e","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/t2?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.0007","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.0007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wlgTbYq-pXe22mAlSEtak","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0007","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 up to 50,000 characters","exampleAgentPrompt":"Can you count how many words are in this text for me: 'The quick brown fox jumps over the lazy dog — a classic sentence used in typography and keyboard testing since the early days of printing'?","exampleUseCases":[{"title":"Article word count check","prompt":"I need to know the word count of this draft article before submitting it — here's the full text: 'Artificial intelligence is transforming industries at an unprecedented pace, reshaping how businesses operate and how people interact with technology every day...' Can you count the words for me?"},{"title":"SEO content length verification","prompt":"Check how many words are in this blog post body so I can make sure it hits at least 1,000 words for SEO purposes: 'Search engine optimization remains one of the most important digital marketing strategies for businesses of all sizes...'"},{"title":"Contract clause token analysis","prompt":"I need to tokenize and count the words in this legal clause to estimate processing costs before sending it to an AI model: 'The party of the first part agrees to indemnify and hold harmless the party of the second part from any and all claims, damages, losses, and expenses arising out of...'"}],"resultDescription":"A JSON object containing word count metrics and/or tokenized word data derived from the submitted text, such as total word count, individual word tokens, or related text statistics.","failureModes":["Text exceeds 50,000 character limit — request rejected","Empty text field — returns error or zero count","Malformed JSON body — 400 bad request","Payment not included or insufficient — 402 payment required","Non-text binary content passed as string — unpredictable results"],"whenToPreferThis":"Choose this endpoint when you need a cheap, pay-per-call word count or text tokenization operation for up to 50,000 characters and are already operating in an x402/Base payment context. Ideal for autonomous agents that need to measure text length programmatically without committing to a subscription-based NLP platform.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:28.107Z","isFirstParty":false,"canonicalSlug":"one-engine-text-token-word-counter-9981bf78"}