# PennyRail Text Lines Deduplicate

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

Removes duplicate lines from a text string or array of strings, returning only unique lines

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/f/text.lines-dedupe
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-text-lines-deduplicate-754c75ec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9oO8n2W56UVdTMGR4HVKg

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-deduplicate-754c75ec -d '<json body>'
```

Example prompt: Can you deduplicate the lines in this text for me? Here it is: 'apple
banana
apple
cherry
banana
date' — just give me back the unique lines.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call microservice to deduplicate lines in a text string or string array without spinning up custom code. Ideal for lightweight agent workflows that process text data on the fly and need deduplication as a discrete step. At $0.001 USDC per call via x402, it fits well into automated pipelines where cost predictability matters.

## Known failure modes

- Missing 'input' field returns a validation error
- Non-string and non-array input may cause processing failure
- Payment failure or insufficient USDC balance returns HTTP 402
- Very large inputs may hit size or timeout limits on the Vercel serverless platform

## How this service works

Machine-readable settlement service

## Output

Returns a JSON object with an 'operation' field (the name of the operation performed) and a 'result' field containing the deduplicated output — either a string of unique lines or an array with duplicates removed, depending on input format.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "operation",
  "result"
 ],
 "properties": {
  "result": {},
  "operation": {
   "type": "string"
  }
 },
 "additionalProperties": true
}
```

## More

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