# ONE Engine Text Normalize Trim

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

Trims leading and trailing whitespace from a text string up to 50,000 characters.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v3/text-normalize/trim/t8?utm_source=zero.xyz
- Price: $0.01/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-61eddf63
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_U2FL6H4pJ_BXriBgapXb7

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-61eddf63 -d '<json body>'
```

Example prompt: Trim the whitespace from the beginning and end of this text: '   Hello world, this is my document content that needs cleaning.   '

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call text trimming operation without spinning up your own infrastructure, especially in autonomous agent pipelines on Base using x402 micropayments. Useful when you want a reliable remote trim operation as part of a larger text normalization workflow.

## Known failure modes

- Text exceeds 50,000 character limit — request rejected
- Missing required 'text' field — validation error
- Payment failure via x402 protocol — call not processed
- Empty string input may return empty result

## 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 trimmed version of the input text with leading and trailing whitespace removed, up to 50,000 characters input size.

## 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-61eddf63/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)
