# ONE Engine Text Normalize Trim (Top 10)

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

Trims and normalizes whitespace or formatting in a text string, returning up to the top 10 normalized results.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v3/text-normalize/trim/t10?utm_source=zero.xyz
- Price: $0.03/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-normalize-trim-top-10-650d6e5f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6s8BewuKgM3as1YZxMK5Z

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-normalize-trim-top-10-650d6e5f -d '<json body>'
```

Example prompt: Can you trim and normalize all the extra whitespace and formatting in this text: '   Hello,   world!   This is   some   messy   text.   '?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call text trimming and normalization operation without spinning up a local NLP library. It is ideal for autonomous agents that occasionally need to clean text strings on-demand and want to pay only for what they use via x402 microtransactions on Base. It is well-suited for preprocessing steps in pipelines handling moderate-length text (up to 50,000 characters).

## Known failure modes

- Text exceeding 50,000 characters may be rejected or truncated
- Missing required 'text' field returns a validation error
- Empty string input may return an empty or trivial result
- Payment failure via x402 on Base blocks the request
- 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 up to 10 normalized/trimmed versions or representations of the input text, with whitespace and formatting cleaned according to the normalization rules applied by the trim operation.

## 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-normalize-trim-top-10-650d6e5f/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)
