# PennyRail Text Lines Sort

> PennyRail Text Lines Sort is a paid API for AI agents from pennyrail.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Sorts the lines of a text string (or array of strings) alphabetically and returns the sorted result

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/f/text.lines-sort
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-text-lines-sort-2b00d11f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FpwqosSDgsJ9xeE3mHNbZ

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 pennyrail-text-lines-sort-2b00d11f -d '<json body>'
```

Example prompt: Sort these lines alphabetically: 'banana
apple
cherry
date'

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call text line sorting operation without setting up your own sorting logic — ideal for agents that occasionally need to alphabetize multiline text or string arrays as part of a larger workflow.

## Known failure modes

- Missing 'input' field returns a validation error
- Empty string or empty array may return an empty result
- Very large inputs may time out or exceed platform limits
- Non-string values in the array may cause unexpected behavior

## How this service works

Machine-readable settlement service

## Output

Returns a JSON object with an 'operation' string indicating what was performed and a 'result' field containing the sorted lines as a string or array, matching the input format.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "string",
   "description": "string or string[]"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "operation",
  "result"
 ],
 "properties": {
  "result": {},
  "operation": {
   "type": "string"
  }
 },
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-text-lines-sort-2b00d11f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pennyrail.vercel.app](https://www.zero.xyz/host/pennyrail.vercel.app/llms.txt)
