# JSON Diff Keys Utility

> JSON Diff Keys Utility is a paid API for AI agents from creator-desk-x402-isolated.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-13).

Computes the difference between keys of two JSON objects, returning added, removed, or changed keys.

## Facts

- Endpoint: POST https://creator-desk-x402-isolated.onrender.com/v1/utility/json-diff-keys?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/json-diff-keys-utility-b28ac471
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_P_tGDvTE-Nf3yKRN_BsCo

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 json-diff-keys-utility-b28ac471 -d '<json body>'
```

Example prompt: Compare the keys of these two JSON objects and tell me which keys were added, removed, or changed: {"name": "Alice", "age": 30, "email": "a@example.com"} vs {"name": "Alice", "phone": "555-1234", "email": "a@example.com"}.

## When to prefer this

Choose this endpoint when you need a lightweight, paid-per-call utility to compute key-level differences between two JSON objects — especially useful in agentic pipelines that need to detect schema drift, validate API payloads, or track structural changes between JSON snapshots without spinning up a full diff library.

## Known failure modes

- Invalid or non-object JSON input returns an error result
- Missing 'value' field in request body causes processing failure
- Deeply nested structures may only diff top-level keys depending on options
- Payment failure via x402 returns HTTP 402 before processing begins

## How this service works

Machine-callable x402-paid utilities for autonomous agents.

## Output

Returns a JSON object with the operation name 'json_diff_keys' and a result describing the key-level differences between the two input JSON values — typically indicating which keys were added, removed, or modified.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "value": {},
  "options": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "example",
  "operation": "json_diff_keys"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/json-diff-keys-utility-b28ac471/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from creator-desk-x402-isolated.onrender.com](https://www.zero.xyz/host/creator-desk-x402-isolated.onrender.com/llms.txt)
