# PennyRail Text Lines Deduplication

> PennyRail Text Lines Deduplication 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).

Removes duplicate lines from a multi-line text string, returning only unique lines

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/nano/text.lines-dedupe--unique-lines
- 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-deduplication-680d8911
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_33MsH-5X3Rqy4jP1sb2hS

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-deduplication-680d8911 -d '<json body>'
```

Example prompt: Can you deduplicate these lines of text for me and return only the unique ones? Here's the list:
apple
banana
apple
cherry
banana
date

## When to prefer this

Use this endpoint when you need a quick, cheap ($0.001 USDC) programmatic way to deduplicate lines in a text blob — especially in agentic pipelines where paying per-call via x402/USDC is already set up. Prefer this over local string manipulation when the deduplication needs to happen server-side in a stateless, API-driven workflow.

## Known failure modes

- Missing required 'input' field returns an error
- Non-string input type may cause a validation error
- Empty string input may return an empty result
- Payment failure (402) if USDC balance is insufficient or x402 auth is missing
- Large inputs may hit size or timeout limits

## How this service works

Machine-readable settlement service

## Output

An object containing the deduplicated text, typically as unique lines with repeated lines removed, preserving the distinct values from the original input string.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-text-lines-deduplication-680d8911/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)
