# AgentShelf Case-Insensitive Line Sorter

> AgentShelf Case-Insensitive Line Sorter 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-24).

Sorts lines of text case-insensitively (sort-ci) and returns the sorted result

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/lines-sort-ci?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-case-insensitive-line-sorter-5241d865
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hfLSQgiUcLx1We64xunaG

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-case-insensitive-line-sorter-5241d865 -d '<json body>'
```

Example prompt: Sort these lines of text alphabetically, ignoring uppercase and lowercase differences: 'Banana
Apple
cherry
date
ELDERBERRY'

## When to prefer this

Use this endpoint when you need a deterministic, server-side case-insensitive line sort without any local compute — particularly useful in agent pipelines that run in sandboxed environments with no access to shell utilities like `sort -f`. If a free sandbox endpoint at POST /v1/sandbox/lines-sort-ci is available, prefer that first to avoid the $0.008 USDC charge.

## Known failure modes

- Empty or missing 'text' field returns a validation error
- Text exceeding 100,000 characters is rejected
- Payment failure or insufficient USDC balance causes a 402 response
- Network unreachable or service downtime returns a 5xx error

## How this service works

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

## Output

Returns the input text with all lines reordered in case-insensitive ascending alphabetical order, preserving original line content (including original casing of each line).

## 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-case-insensitive-line-sorter-5241d865/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)
