# 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--remove-duplicate-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-832e1dee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AfZVZjFFTl4WZnR3SEfxV

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-832e1dee -d '<json body>'
```

Example prompt: Can you deduplicate these lines for me and give me back only the unique ones? Here's the text: 'apple
banana
apple
cherry
banana
orange'

## When to prefer this

Use this endpoint when you need a simple, low-cost ($0.001 USDC) API call to deduplicate lines in a text string without setting up local string processing logic. Ideal for agents operating in pay-per-use microtransaction environments (x402 protocol) that need lightweight, stateless text cleaning as part of a pipeline.

## Known failure modes

- Missing 'input' field returns a validation error
- Empty string input may return an empty response or pass through unchanged
- Very large text inputs may hit payload size limits
- Network or Vercel cold-start latency may cause timeouts
- Payment failure via x402 protocol prevents the call from completing

## How this service works

Machine-readable settlement service

## Output

A text string containing only the unique lines from the input, with duplicate lines removed, preserving the order of first occurrence

## 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-832e1dee/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)
