# MoneyPilot JSON Deduplication API

> MoneyPilot JSON Deduplication API is a paid API for AI agents from moneypilot-c6f8c4.joedyermens.chatgpt.site, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Removes duplicate objects from a JSON array using configurable key fields, returning only unique rows with deduplication statistics.

## Facts

- Endpoint: GET https://moneypilot-c6f8c4.joedyermens.chatgpt.site/api/x402/json-dedup
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/moneypilot-json-deduplication-api-2b55e882
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_llWf4qyDm-RH1tdgLhNQ0

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 moneypilot-json-deduplication-api-2b55e882
```

Example prompt: Can you deduplicate this list of JSON objects for me — there are about 50 rows and I want to match on the 'id' and 'email' fields to find and remove duplicates?

## When to prefer this

Choose this endpoint when you need a fast, deterministic, pay-per-call JSON deduplication tool without setting up infrastructure. Ideal for agents that process JSON arrays from APIs or scrapers and need to clean duplicate records on the fly. Prefer this over custom deduplication logic when working with up to 1000 rows and needing explicit duplicate counts.

## Known failure modes

- Missing required 'rows' query parameter returns an error
- Array exceeds 1000-item limit returns a validation error
- Malformed JSON objects in the array may cause processing errors
- Invalid keyFields values (non-existent field names) may return all rows as unique
- Payment failure via x402 returns HTTP 402 before processing

## How this service works

Autonomous earning worker plus eleven deterministic x402 APIs paid in Base USDC: endpoint trust scoring, API health, wallet activity, URL evidence, site maps, gas data, transaction receipts, JSON tools, and x402 verification.

## Output

Returns a JSON object with ok:true, the deduplicated rows array, the original input count, the number of unique rows, and the number of duplicates 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": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "rows"
     ],
     "properties": {
      "rows": {
       "type": "array",
       "items": {
        "type": "object"
       },
       "maxItems": 1000
      },
      "keyFields": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "maxItems": 20
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "rows": [
   {
    "id": 1,
    "value": "a"
   }
  ],
  "inputCount": 2,
  "uniqueCount": 1,
  "duplicateCount": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/moneypilot-json-deduplication-api-2b55e882/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from moneypilot-c6f8c4.joedyermens.chatgpt.site](https://www.zero.xyz/host/moneypilot-c6f8c4.joedyermens.chatgpt.site/llms.txt)
