# AgentShelf Lines Unique

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

Removes duplicate lines from a block of text, returning only unique lines

## Facts

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

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-unique-6fcce9a0 -d '<json body>'
```

Example prompt: Take this list of items and remove all duplicate lines so I only have unique entries left: 'apple\nbanana\napple\ncherry\nbanana\ndate'

## When to prefer this

Choose this endpoint when you need a fast, deterministic, offline deduplication of text lines without any LLM or network dependency. It costs a flat $0.01 USDC and is ideal for clean, predictable line-level deduplication as part of a data-cleaning pipeline. Prefer the free sandbox at POST /v1/sandbox/lines-unique for testing before committing to paid calls.

## 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 results in a 402 error
- Network timeout if the service is temporarily unavailable

## How this service works

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

## Output

Returns the input text with duplicate lines removed, preserving only the first occurrence of each unique line. The output is a block of newline-separated text containing only unique lines from the original input.

## 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-unique-6fcce9a0/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)
