# dedupe-lines

> dedupe-lines is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Removes duplicate lines from a text list, returning unique lines in original order with a case-insensitive duplicate count and the duplicate entries found.

## Facts

- Endpoint: GET https://intel.rallylive.ca/data/dedupe
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dedupe-lines-3e9efc7f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9gMkcgvWIeQxR954GT4es

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 dedupe-lines-3e9efc7f
```

Example prompt: Can you deduplicate this list of lines for me and tell me which ones were duplicates? Here's the list: apple, banana, apple, cherry, banana, date.

## When to prefer this

Choose this endpoint when you need a quick, paid-per-call deduplication of a line-based text list, especially when you also want to know which specific lines were duplicates and how many there were. It's ideal for pre-processing lists before ingestion, import, or analysis pipelines.

## Known failure modes

- Missing or empty 'input' parameter returns an error
- Non-text or malformed input may produce unexpected results
- Very large lists may hit request size limits
- Network timeout for extremely large inputs

## How this service works

Deduplicate lines: unique lines in original order (case-sensitive), plus a case-insensitive count and the duplicates found. Clean lists before processing. $0.01 per call.

## Output

Returns unique lines in the original order (case-sensitive), a case-insensitive count of how many duplicates were found, and the list of duplicate lines that were removed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dedupe-lines-3e9efc7f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
