# 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.01/call, status unknown (last checked 2026-10-02).

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

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v3/text-token/words/t8?utm_source=zero.xyz
- Price: $0.01/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-133198e1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wP--VxXVJyn2sTOTCS0vS

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-133198e1 -d '<json body>'
```

Example prompt: How many words are in this text: '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, pay-per-call word/token count for arbitrary text strings up to 50,000 characters in an autonomous agent context. It is ideal when you want to avoid integrating a heavier NLP library locally, when operating in a cost-sensitive pipeline where $0.01 per call is acceptable, or when you need a lightweight stateless word count utility callable from an AI agent with x402 payment support on Base.

## Known failure modes

- Text exceeding 50,000 characters may be rejected or truncated
- Empty or missing 'text' field returns a validation error
- Payment failure via x402 prevents the call from executing
- Network timeout on the Cloudflare Worker edge node
- Malformed JSON body returns a 400-level error

## How this service works

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

## Output

Returns a JSON object containing word count and potentially token-level statistics derived from the submitted text. The exact fields are flexible (additionalProperties: true), but the primary output is a numerical count of words found in the input text.

## 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-133198e1/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)
