# Delx Commerce CSV Duplicate Key Check

> Delx Commerce CSV Duplicate Key Check is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Detects duplicate rows in CSV text based on one or more specified key columns, returning which rows are duplicates.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/csv-duplicate-key-check?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-csv-duplicate-key-check-8f2d8986
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9NwlXTG5HNgMd25SfjDE8

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-commerce-csv-duplicate-key-check-8f2d8986 -d '<json body>'
```

Example prompt: Check this CSV for duplicate rows based on the 'user_id' and 'date' columns — tell me if there are any duplicates and which row numbers they appear on.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call, no-signup check for CSV duplicate keys without sending data to a persistent storage service. Ideal for agents that process CSV data in-flight and need a verifiable, tamper-evident deduplication check (SHA-256 evidence hash included). Prefer this over full ETL or database-based deduplication when data must not be retained and when exact per-call pricing via USDC micropayment is acceptable.

## Known failure modes

- CSV text exceeds 8192 character limit — request rejected
- key_columns references column names not present in the CSV header — may return unexpected results or error
- Malformed CSV text (missing headers, inconsistent delimiters) — parsing may fail or yield incorrect results
- Empty key_columns array — behavior undefined, may treat all columns as key or return error
- More than 256 key columns specified — request rejected per schema maxItems constraint

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object indicating whether the CSV is unique (true/false), a list of row indices that are duplicates, the operation schema identifier, a status of 'advisory', and evidence metadata including whether input was retained (always false), the SHA-256 hash of the input, and the number of external calls made (always 0).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 8192,
   "description": "Text supplied to CSV Duplicate Key Check; used only for this bounded calculation and processed in memory without retention."
  },
  "key_columns": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 8192
   },
   "maxItems": 256,
   "description": "Key Columns supplied to CSV Duplicate Key Check; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "unique": false,
   "duplicate_rows": [
    3
   ]
  },
  "schema": "delx/util-csv-duplicate-key-check/v1",
  "status": "advisory",
  "evidence": {
   "retained": false,
   "input_sha256": "9046a42812db7833761b9aee29de477ebae24f4c8ae2087d757d328905d6db58",
   "external_calls": 0
  },
  "operation": "data_batch:csv_duplicate_key_check"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-csv-duplicate-key-check-8f2d8986/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
