{"uid":"cap_H6UPCjqmhih4-qpM4sGgf","slug":"one-engine-text-token-word-counter-18934391","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/t1?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.0005","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.0005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CwjUE8lgxps34aFL2g_K1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0005","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 (token tier T1) in a given text string 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":"Validate content length before submission","prompt":"Before I submit this article draft to the journal, can you count the words in it so I know if I'm under their 3,000-word limit? Here's the text: [article text]"},{"title":"Word count check for a contract document","prompt":"How many words are in this legal contract text? I need to know before I send it to billing since they charge per word: [contract text]"},{"title":"Monitor essay word targets","prompt":"My student submitted this essay — can you count the words to see if it meets the 500-word minimum requirement? Here's what they wrote: [essay text]"}],"resultDescription":"Returns a JSON object containing the word count and potentially related token statistics for the submitted text. The response includes computed metrics derived from parsing the input string.","failureModes":["Text exceeding 50,000 characters may be rejected or truncated","Empty text field may return zero or an error","Payment failure via x402 will block the request","Malformed JSON body will result in a 400-level error","Non-string text values may cause validation errors"],"whenToPreferThis":"Choose this endpoint when you need a cheap, lightweight word count or text token measurement for a string up to 50,000 characters, especially in an autonomous agent pipeline that already uses x402 micropayments on Base. At $0.0005 USDC per call it is cost-effective for high-frequency counting tasks where you don't want to run local NLP libraries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:37.822Z","isFirstParty":false,"canonicalSlug":"one-engine-text-token-word-counter-9981bf78"}