# ONE Engine Text Token Word Counter

> ONE Engine Text Token Word Counter is a paid API for AI agents from one-search.one-engine.workers.dev, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-02).

Counts the number of words in a given text string, returning token/word statistics for up to 50,000 characters.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v3/text-token/words/t6?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/one-engine-text-token-word-counter-b73f35ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kax81ldYOMTPC-LAqhboW

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability one-engine-text-token-word-counter-b73f35ee -d '<json body>'
```

Example prompt: 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.'

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "text": {
   "type": "string",
   "description": "Text up to 50000 characters"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/one-engine-text-token-word-counter-b73f35ee/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from one-search.one-engine.workers.dev](https://www.zero.xyz/host/one-search.one-engine.workers.dev/llms.txt)
