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

Counts the number of words (token tier T1) in a given text string up to 50,000 characters.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v3/text-token/words/t1?utm_source=zero.xyz
- Price: $0.0005/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-18934391
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_H6UPCjqmhih4-qpM4sGgf

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-18934391 -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, 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.

## Known failure modes

- 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

## How this service works

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

## Output

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.

## 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-18934391/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)
