# ONE Engine Text Whitespace Normalizer (T9)

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

Normalizes whitespace in a text string, collapsing or standardizing irregular spacing, tabs, and line breaks.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v3/text-normalize/whitespace/t9?utm_source=zero.xyz
- Price: $0.018/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-whitespace-normalizer-t9-fee719ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nGrAjp9VG8P-e6YElAFbC

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-whitespace-normalizer-t9-fee719ce -d '<json body>'
```

Example prompt: Can you clean up the whitespace in this text? It has a bunch of irregular spaces, tabs, and double spaces scattered throughout: 'The  quick   brown		fox  jumped   over  the lazy   dog.'

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call whitespace normalization step for text preprocessing — especially in agent pipelines where text is extracted from web scraping, PDF parsing, or OCR and contains irregular spacing. Ideal when you want a cheap ($0.018 USDC), stateless, single-purpose utility without building your own normalization logic.

## Known failure modes

- Text exceeds 50,000 character limit — request rejected or truncated
- Empty or missing 'text' field — validation error returned
- Payment failure via x402 — 402 response if USDC payment is not provided
- Network timeout on the Cloudflare Workers endpoint
- Unexpected characters or binary content causing processing errors

## How this service works

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

## Output

A JSON object containing the whitespace-normalized version of the input text, with irregular spaces, tabs, and extra line breaks collapsed or standardized.

## 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-whitespace-normalizer-t9-fee719ce/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)
