# ONE Engine Text Token Character Counter (t1)

> ONE Engine Text Token Character Counter (t1) 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 characters in a given text string, returning a token/character metric for up to 50,000 characters of input.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v3/text-token/characters/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-character-counter-t1-bc895294
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__hDloN8oS_nvE3GQKXQMf

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-character-counter-t1-bc895294 -d '<json body>'
```

Example prompt: Count the number of characters in this text for me: 'The quick brown fox jumps over the lazy dog. This is a sample paragraph used to test character counting.'

## When to prefer this

Choose this endpoint when you need a cheap, pay-per-call character counting utility with no subscription overhead, especially in autonomous agent pipelines running on Base via x402. At $0.0005 USDC per call, it's cost-effective for frequent, lightweight text measurement tasks where you want to avoid building your own counting logic or hitting rate-limited free-tier APIs.

## Known failure modes

- Text exceeds 50,000 character limit — request rejected or truncated
- Empty text field — may return zero count or validation error
- Missing required 'text' field — returns 400 bad request
- Payment not settled via x402 — returns 402 Payment Required
- Network timeout on the Cloudflare Worker — returns 5xx 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 the character count (and potentially token-related metrics) for the submitted text. The response schema is open-ended (additionalProperties: true), so it may include supplementary counts or metadata alongside the primary character count figure.

## 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-character-counter-t1-bc895294/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)
