# AgentShelf Lines Sort Ascending

> AgentShelf Lines Sort Ascending is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.007/call, status unknown (last checked 2026-09-29).

Sorts lines of text in ascending (A-Z / 0-9) alphabetical order and returns the result

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/lines-sort-asc?utm_source=zero.xyz
- Price: $0.007/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-lines-sort-ascending-5aba094a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IU_uyV5_RdTZ-P9gXxlEz

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-lines-sort-ascending-5aba094a -d '<json body>'
```

Example prompt: Sort these lines of text in ascending (A-Z) order: 'banana
apple
cherry
date'

## When to prefer this

Choose this endpoint when you need a pure, no-network, deterministic ascending sort of newline-delimited text lines with a predictable flat fee of $0.007 USDC. Prefer the free sandbox endpoint POST /v1/sandbox/lines-sort-asc first; use this paid endpoint when the sandbox is unavailable or a guaranteed production-grade response is required.

## Known failure modes

- Empty or missing 'text' field returns a validation error
- Text exceeding 100,000 characters is rejected
- Insufficient USDC balance or payment failure results in HTTP 402
- Network or service unavailability returns 5xx error

## How this service works

Call when an agent needs lines of text transformed with sort-asc. No network. Exact $0.007 USDC. Prefer unpaid POST /v1/sandbox/lines-sort-asc first.

## Output

The endpoint returns the input text with all newline-delimited lines sorted in ascending alphabetical/lexicographic order. Lines are reordered from smallest to largest (A to Z, 0 to 9), preserving line content without modification.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "examples": [
    "b\na\n"
   ],
   "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-lines-sort-ascending-5aba094a/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)
