# AgentShelf Lines Take-5 Transform

> AgentShelf Lines Take-5 Transform is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).

Transforms lines of text by applying the 'take-5' operation — selecting or processing every 5th line — locally without network calls.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/lines-take-5?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-lines-take-5-transform-39810324
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ckr5mDAE2eRVAoPGGCKun

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-take-5-transform-39810324 -d '<json body>'
```

Example prompt: Take this block of text and apply take-5 line sampling to it — I want every 5th line extracted from the full content.

## When to prefer this

Use this endpoint when you need a deterministic, fast, no-network line sampling at a fixed interval of 5 on a text input, and you are willing to pay $0.002 USDC per call. Prefer the free sandbox endpoint /v1/sandbox/lines-take-5 first for testing. Choose this over general-purpose text tools when you specifically need take-5 line selection without LLM involvement.

## Known failure modes

- Input text exceeds 100,000 character limit — request rejected
- Empty or missing text field — validation error
- Payment of exactly $0.002 USDC not provided — 402 Payment Required
- Malformed request body — 400 Bad Request

## How this service works

Call when an agent needs lines of text transformed with take-5. No network. Send JSON {"text":"b\na\n"}. Exact $0.002 USDC on Base. Try unpaid POST /v1/sandbox/lines-take-5 first.

## Output

Returns the input text transformed by the take-5 operation — a subset of the original lines selected at every 5th interval, as a text response.

## 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-take-5-transform-39810324/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)
