# agentshelf.syntexa.ch Lines Number

> agentshelf.syntexa.ch Lines Number is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-02).

Adds line numbers to each line of a given text string, returning the numbered version offline with no external network calls.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/lines-number?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-syntexa-ch-lines-number-ec15f64c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MlmoqPkdReMeUFCFw_PAy

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-syntexa-ch-lines-number-ec15f64c -d '<json body>'
```

Example prompt: Can you add line numbers to every line of this text? Here it is: 'First line of content
Second line of content
Third line of content'

## When to prefer this

Choose this endpoint when you need a simple, deterministic, offline transformation that prefixes sequential line numbers to each line of a text block. It is ideal for formatting code snippets, log files, or prose for review, and is preferred over building custom numbering logic when a cheap, reliable micro-service call is acceptable. Use the free sandbox POST /v1/sandbox/lines-number first if available to avoid cost during testing.

## Known failure modes

- Empty or missing 'text' field returns a validation error
- Text exceeding 100,000 characters is rejected
- Payment of exactly $0.003 USDC required; incorrect payment amount results in 402 error
- Malformed request body returns 400 bad request

## How this service works

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

## Output

Returns the input text with each line prefixed by its sequential line number, enabling easy reference to specific lines within the content. The response is computed locally with no external network requests.

## 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-syntexa-ch-lines-number-ec15f64c/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)
