Record deduplication
Remove duplicate CSV, JSON, or YAML records using selected identity fields and report the removed count.
$0.01 USDCBasex402 v2POST
Endpoint
https://apiacre.com/v1/data/deduplicateSend the JSON body below. An unpaid request returns HTTP 402 with a PAYMENT-REQUIRED header; an x402-compatible buyer signs the requirement and retries with PAYMENT-SIGNATURE.
Input example
{
"content": "id,name\n1,Ada\n1,Ada",
"format": "csv",
"keys": [
"id"
]
}Response shape
{
"request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
"service": "data.deduplicate",
"version": "1",
"data": {
"records": [],
"inputRows": 1,
"outputRows": 1,
"removed": 1,
"keys": []
},
"meta": {
"duration_ms": 42,
"cached": false,
"sources": [],
"warnings": []
}
}Try the payment challenge
curl -i -X POST 'https://apiacre.com/v1/data/deduplicate' \
-H 'content-type: application/json' \
--data '{"content":"id,name\n1,Ada\n1,Ada","format":"csv","keys":["id"]}'