# Delx Commerce — Duplicate Record Audit

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

Detects and reports duplicate records in a dataset by analyzing specified key fields, returning group counts and duplicate statistics.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/duplicate-record-audit?utm_source=zero.xyz
- Price: $0.003/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-duplicate-record-audit-4e2ef658
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-wIrKStcUWuDfUMKA7OAR

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-duplicate-record-audit-4e2ef658 -d '<json body>'
```

Example prompt: Can you audit this list of customer records for duplicates based on the 'id' field? I have 500 rows and want to know how many duplicate groups exist and how many records are duped.

## When to prefer this

Use this endpoint when you need a fast, pay-per-call duplicate audit on an in-memory or passed dataset without setting up a database or ETL pipeline. It is ideal for agents doing pre-import data quality checks, one-off deduplication audits, or validating data freshness. Prefer over general-purpose code execution when you want a deterministic, verifiable result with no signup overhead and a fixed $0.003 cost.

## Known failure modes

- Missing or empty 'records' array — returns error or empty result
- Missing or empty 'key_fields' array — unable to determine dedup key
- Malformed record objects that don't contain the specified key fields — may return zero duplicates incorrectly
- Payment failure via x402 protocol — request rejected before processing
- Very large record arrays may hit undocumented size limits

## 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 with the schema version, the key fields used, total record count, number of duplicate groups found, number of duplicate records, and whether values were returned in the response.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "records": {
   "type": "array",
   "description": "Input field: records."
  },
  "key_fields": {
   "type": "array",
   "description": "Input field: key_fields."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "delx/util-duplicate-record-audit/v1",
  "key_fields": [
   "id"
  ],
  "record_count": 2,
  "values_returned": false,
  "duplicate_groups": 1,
  "duplicate_records": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-duplicate-record-audit-4e2ef658/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)
