# Atlas Research CSV Deduplication API

> Atlas Research CSV Deduplication API is a paid API for AI agents from atlasresearch2026.pythonanywhere.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-19).

Accepts a CSV payload and returns a deduplicated version with statistics on removed duplicate rows, keyed by specified columns.

## Facts

- Endpoint: POST https://atlasresearch2026.pythonanywhere.com/api/csv-dedupe?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/atlas-research-csv-deduplication-api-624ee7ec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4q8QmoOJ_KcwYtFu6GydI

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 atlas-research-csv-deduplication-api-624ee7ec -d '<json body>'
```

Example prompt: I have a CSV with customer contacts and there are duplicate entries — can you deduplicate it by the email column and give me back the clean version along with how many rows were removed?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call CSV deduplication service with no account setup, returning structured JSON that includes both the cleaned CSV and detailed statistics on what was removed. It is well-suited for one-off data cleaning tasks where you want granular duplicate group information rather than just the cleaned output.

## Known failure modes

- Missing or malformed CSV input returns an error
- No key columns specified may result in unexpected deduplication behavior
- Invalid JSON body structure returns a 400-level error
- Payment not provided or insufficient USDC results in a 402 Payment Required response
- Large CSV payloads may hit PythonAnywhere free-tier limits causing timeouts

## How this service works

Atlas Research: a sourced European gold market snapshot, payable per call with 0.001 USDC on Base via x402, plus the Ring Rush game.

## Output

Returns a JSON object containing: the deduplicated CSV as a string, the number of rows read, rows kept, and rows removed, the key columns used for deduplication, and an array of duplicate_groups each showing the email or key value, which row was kept, and how many copies 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": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "rows_kept": 2,
  "rows_read": 3,
  "deduped_csv": "name,email\nAda,ada@ada-lovelace.dev\nBob,bob@babbage-labs.dev\n",
  "key_columns": [
   "email"
  ],
  "rows_removed": 1,
  "duplicate_groups": [
   {
    "email": "ada@ada-lovelace.dev",
    "kept_row": 2,
    "copies_removed": 1
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/atlas-research-csv-deduplication-api-624ee7ec/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from atlasresearch2026.pythonanywhere.com](https://www.zero.xyz/host/atlasresearch2026.pythonanywhere.com/llms.txt)
