# ONE Engine Text Normalize – Line Endings (t4)

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

Normalizes line endings in text strings, standardizing mixed or inconsistent newline characters (CR, CRLF, LF) to a consistent format.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v3/text-normalize/line-endings/t4?utm_source=zero.xyz
- Price: $0.0015/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-t4-ffe00c6e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aoRRPs4X3CxpAV4wJHXNT

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-t4-ffe00c6e -d '<json body>'
```

Example prompt: Can you normalize the line endings in this text for me? It has mixed CRLF and LF characters and I need them all consistent: 'Hello\r\nWorld\nFoo\r\nBar'

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call microservice to normalize line endings without spinning up local text-processing infrastructure. Ideal for autonomous agents that occasionally encounter mixed newline text from cross-platform sources (Windows/Unix/Mac) and need a clean, consistent string before further processing. At $0.0015 USDC it is cost-effective for infrequent or programmatic use.

## Known failure modes

- Text exceeding 50,000 characters returns a validation error
- Empty or missing 'text' field returns a 400 bad request
- Payment failure via x402 protocol returns a 402 Payment Required response
- Malformed JSON body returns a parse 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 the input text with all line endings normalized to a consistent format, replacing any mix of CR (\r), CRLF (\r\n), or LF (\n) characters with a standardized newline sequence.

## 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-t4-ffe00c6e/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)
