# Newline LF-Final Normalizer

> Newline LF-Final Normalizer is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-29).

Normalizes line endings in text to LF (Unix-style) with a final newline, with no network or LLM involved.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/newline-lf-final?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/newline-lf-final-normalizer-16b06a6b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uo1XM8mubaHNVIo95ZSYf

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 newline-lf-final-normalizer-16b06a6b -d '<json body>'
```

Example prompt: Can you normalize all the line endings in this text to LF (Unix-style) and make sure it ends with a final newline? Here's the text: 'Hello\r\nWorld\r\nFoo\r\n'

## When to prefer this

Choose this endpoint when you need a fast, deterministic, offline text normalization with no LLM overhead and no network calls. Ideal for pipeline preprocessing steps where consistent LF line endings and a trailing newline are required. Use the free sandbox POST /v1/sandbox/newline-lf-final first; fall back to this paid endpoint when the sandbox is unavailable or rate-limited.

## Known failure modes

- Empty or missing text field returns a validation error
- Text exceeding 100,000 characters is rejected
- Payment of exactly $0.001 USDC required; missing or incorrect payment returns 402
- Malformed JSON body returns a 400 error

## How this service works

Call when an agent needs newlines normalized to lf-final. No network and no LLM. Exact $0.001 USDC. Prefer unpaid POST /v1/sandbox/newline-lf-final first.

## Output

Returns the input text with all line endings converted to LF (\n), including mixed CRLF (\r\n) and bare CR (\r), and ensures the text concludes with a final LF character.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "examples": [
    "Hello, World!"
   ],
   "maxLength": 100000,
   "minLength": 1,
   "description": "Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/newline-lf-final-normalizer-16b06a6b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
