# ONE Engine Text Character Counter

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

Counts the number of characters in a given text string, returning a character count for up to 50,000 characters of input.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v3/text-token/characters/t7?utm_source=zero.xyz
- Price: $0.0065/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-character-counter-8fb82932
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6kE_Gckh6Yi77bxoKiqoj

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-character-counter-8fb82932 -d '<json body>'
```

Example prompt: Can you count how many characters are in this text for me: 'The quick brown fox jumps over the lazy dog. This sentence needs to be measured precisely.'

## When to prefer this

Choose this endpoint when you need a cheap, programmatic, pay-per-call character count for text strings — especially in agentic pipelines where you want to validate or log text length before passing content to downstream APIs with character limits. At $0.0065 USDC per call via x402 on Base, it is well-suited for high-frequency automated workflows.

## Known failure modes

- Text exceeding 50,000 characters may be rejected or truncated
- Missing required 'text' field returns a validation error
- Payment failure via x402 prevents the call from completing
- Empty string input may return zero or an error depending on server handling

## 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 related metrics) for the submitted text string, up to 50,000 characters.

## 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-character-counter-8fb82932/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)
