# Delx Dedupe Lines

> Delx Dedupe Lines is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-12).

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

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/dedupe-lines?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-dedupe-lines-caedffc9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QGG2RPwhaYrWhQb7vA1fq

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 delx-dedupe-lines-caedffc9 -d '<json body>'
```

Example prompt: Can you remove all the duplicate lines from this list and give me back only the unique ones? Here it is: apple
banana
apple
orange
banana
grape

## When to prefer this

Use this endpoint when you need a simple, cheap, single-call deduplication of newline-separated text without setting up local string processing. Ideal for agent pipelines that receive text from multiple merged sources and need a quick cleanup step before further processing. At $0.001 USDC per call it is cost-effective for frequent small text cleaning tasks.

## Known failure modes

- Empty input returns empty output or an error
- Very large text blocks may exceed payload size limits
- Lines that differ only by whitespace or casing may or may not be treated as duplicates depending on implementation
- Malformed or non-text input may return a 400 error
- Network or payment processing failure may return a 402 or 5xx error

## How this service works

Remove duplicate lines for $0.001 USDC. Call when you need this bounded result without an API key or subscription. Returns machine-readable JSON via x402 on Base or Solana. Limitation: results cover only the supplied input or one bounded public endpoint at request time; callers must verify before acting.

## Output

Returns the input text with all duplicate lines removed, preserving only the first occurrence of each unique line. The output is a cleaned multiline string containing only distinct lines from the original input.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-dedupe-lines-caedffc9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
