# apiacre.com Data Deduplication

> apiacre.com Data Deduplication is a paid API for AI agents from apiacre.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Removes duplicate records from a dataset by comparing selected identity fields and returning a deduplicated result set.

## Facts

- Endpoint: POST https://apiacre.com/v1/data/deduplicate
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/apiacre-com-data-deduplication-a8e4ab2f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gtPsmVmmo2my68gWMXAHc

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 apiacre-com-data-deduplication-a8e4ab2f -d '<json body>'
```

Example prompt: Deduplicate these customer records using the 'email' and 'phone' fields as identity keys — I want to keep one representative record per unique identity and drop the rest.

## When to prefer this

Use this endpoint when you need a fast, lightweight deduplication pass over structured records and can specify which fields define record identity. Prefer this over full ETL pipeline tools when you just need to clean a dataset programmatically without standing up infrastructure.

## Known failure modes

- Invalid or empty records array — returns error indicating no data to process
- Specified identity fields not present in records — returns field-not-found error
- Malformed input JSON — returns parse error
- Empty identity fields list — ambiguous deduplication criteria, may return error or deduplicate on all fields

## How this service works

Remove duplicate CSV, TSV, JSON, JSON Lines, or YAML records using selected identity fields and report the removed count.

## Output

Returns the deduplicated set of records with duplicates removed based on the specified identity fields, along with metadata such as the number of records removed and potentially the duplicate groups identified.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "keep": {
   "enum": [
    "first",
    "last"
   ],
   "type": "string",
   "title": "Keep",
   "default": "first"
  },
  "keys": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "title": "Keys",
   "maxItems": 20
  },
  "format": {
   "enum": [
    "csv",
    "tsv",
    "json",
    "jsonl",
    "yaml"
   ],
   "type": "string",
   "title": "Format",
   "description": "Source format; use jsonl for JSON Lines or NDJSON"
  },
  "content": {
   "type": "string",
   "title": "Content",
   "maxLength": 2000000
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "keys": [
    "id"
   ],
   "records": [
    {
     "id": "1",
     "name": "Ada"
    }
   ],
   "removed": 1,
   "inputRows": 2,
   "outputRows": 1
  },
  "meta": {
   "cached": false,
   "sources": [],
   "warnings": [],
   "duration_ms": 42,
   "next_actions": []
  },
  "service": "data.deduplicate",
  "version": "1",
  "request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/apiacre-com-data-deduplication-a8e4ab2f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from apiacre.com](https://www.zero.xyz/host/apiacre.com/llms.txt)
