# ONE Engine Text Normalize Line Endings

> ONE Engine Text Normalize Line Endings 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).

Normalizes line endings in a text string (up to 50,000 characters) to a consistent format via a pay-per-call API on Base.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v3/text-normalize/line-endings/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-line-endings-4a2d4a20
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1li6QpNlDFyVFHu0msl-5

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-line-endings-4a2d4a20 -d '<json body>'
```

Example prompt: Can you normalize the line endings in this text for me? Here it is: 'Hello\r\nWorld\r\nThis is a test\r\n' — just make the line endings consistent throughout.

## When to prefer this

Choose this endpoint when you need a cheap, stateless, per-call utility to normalize line endings in a text string without building your own normalization logic. Ideal for AI agents processing arbitrary text from mixed sources (Windows, Unix, Mac) before passing it downstream to parsers, code executors, or storage systems. At $0.01 USDC per call it is cost-effective for occasional normalization tasks without requiring a full text-processing library or microservice.

## Known failure modes

- Text exceeds 50,000 character limit — request rejected with an error
- Missing required 'text' field in request body — validation error returned
- Payment not included or insufficient USDC — 402 Payment Required response
- Empty string input — may return empty or no-op result
- Network timeout on the Cloudflare Workers edge — transient failure

## 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 input text with all line endings normalized to a consistent format (e.g., all CRLF converted to LF, or vice versa, removing mixed line ending inconsistencies).

## 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-line-endings-4a2d4a20/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)
