# Agentshelf Newline to CR Converter

> Agentshelf Newline to CR Converter is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.008/call, status unknown (last checked 2026-10-11).

Normalizes newline characters in text to carriage return (CR, \r) without any network calls or LLM processing

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/newline-cr?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-newline-to-cr-converter-d12ee787
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-bQioKJB5AHTfx_POfJBZ

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 agentshelf-newline-to-cr-converter-d12ee787 -d '<json body>'
```

Example prompt: Can you normalize all the newlines in this text to carriage returns (CR only)? Here's the text: 'Hello\nWorld\nThis is a test\n'

## When to prefer this

Use this endpoint when you need a fast, deterministic, zero-latency conversion of newline characters to CR with no LLM overhead and no external network calls. Prefer the free sandbox endpoint POST /v1/sandbox/newline-cr first if available. Choose this paid endpoint when the sandbox is unavailable or rate-limited and you need guaranteed processing.

## Known failure modes

- Empty or missing text field returns a validation error
- Text exceeding 100,000 characters is rejected
- Malformed JSON request body returns a 400 error
- Payment of exactly $0.008 USDC required; underpayment results in 402 Payment Required

## How this service works

Call when an agent needs newlines normalized to cr. No network and no LLM. Send JSON {"text":"Hello, World!"}. Exact $0.008 USDC on Base. Try unpaid POST /v1/sandbox/newline-cr first.

## Output

Returns the input text with all newline characters (\n, \r\n, etc.) replaced/normalized to carriage return (\r) characters only. No LLM inference, no network calls — pure deterministic string transformation.

## 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/agentshelf-newline-to-cr-converter-d12ee787/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)
