# ONE Engine Text Line-Ending Normalizer

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

Normalizes line endings in text (e.g. converting \r\n, \r, and mixed endings) to a consistent format for downstream agent processing.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v3/text-normalize/line-endings/t6?utm_source=zero.xyz
- Price: $0.004/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-line-ending-normalizer-435413a3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vWGeVl2yDZcHZS8vxFxGP

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-line-ending-normalizer-435413a3 -d '<json body>'
```

Example prompt: Normalize the line endings in this text so they're all consistent — it has a mix of Windows CRLF and Unix LF endings and I need it cleaned up before I pass it to the next step.

## When to prefer this

Choose this endpoint when you need a cheap, fast, stateless text transformation to normalize line endings before passing text to downstream agents, LLMs, databases, or parsers. At $0.004 per call with pay-per-use x402 billing, it's ideal for high-volume pipelines or agent workflows that process text from mixed sources (Windows, Mac, Unix) without needing to spin up custom preprocessing code.

## Known failure modes

- Text exceeds 50,000 character limit — request rejected
- Empty text field — may return error or empty result
- Malformed JSON request body — returns 400-level error
- Payment failure via x402 on Base — returns 402 Payment Required
- Network timeout on Cloudflare Worker edge

## 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 (typically LF), suitable for further downstream processing by agents or pipelines.

## 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-line-ending-normalizer-435413a3/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)
