# ONE Engine Text Line Deduplicator

> ONE Engine Text Line Deduplicator is a paid API for AI agents from one-search.one-engine.workers.dev, paid per call via x402, $0.0011/call, status unknown (last checked 2026-10-02).

Removes duplicate lines from a block of text, returning unique lines and a line count.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v1/text/deduplicate-lines?utm_source=zero.xyz
- Price: $0.0011/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/one-engine-text-line-deduplicator-00b687ef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bORGj0ydYIGmJQxFa9dkB

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 one-engine-text-line-deduplicator-00b687ef -d '<json body>'
```

Example prompt: Remove all duplicate lines from this text and give me only the unique ones: 'apple
banana
apple
cherry
banana
mango'

## When to prefer this

Choose this endpoint when you need a cheap, fast, pay-per-call solution to deduplicate newline-separated text without spinning up your own logic. Ideal for autonomous agents on Base using x402 micropayments that need lightweight text-cleaning as a single atomic operation at $0.0011 per call.

## Known failure modes

- Missing 'text' field in request body returns an error
- Empty string input may return empty text with 0 lines
- Very large text blocks may hit payload size limits
- Payment failure via x402 protocol blocks the request
- Malformed JSON body returns a parse error

## How this service works

Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.

## Output

A JSON object containing the deduplicated text (unique lines only, newline-separated) as the 'text' field, and a 'lines' integer indicating how many unique lines remain after deduplication.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "a\nb\nc",
  "lines": 3
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/one-engine-text-line-deduplicator-00b687ef/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from one-search.one-engine.workers.dev](https://www.zero.xyz/host/one-search.one-engine.workers.dev/llms.txt)
