# Vextorium JSON Deep Diff

> Vextorium JSON Deep Diff is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-16).

Performs a deep structural comparison of two JSON documents, returning added, removed, and changed values with their exact JSONPath, with optional list-order-agnostic mode.

## Facts

- Endpoint: POST https://api.vextorium.com/comparar-json-pago?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-json-deep-diff-0619be86
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UuGfjjgEPlCpkpfQePjHc

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 vextorium-json-deep-diff-0619be86 -d '<json body>'
```

Example prompt: Compare these two JSON objects and tell me exactly what changed — what was added, what was removed, and what values were modified, with the full path to each change: first doc is {"price":10,"tags":["a","b"]} and second is {"price":12,"tags":["a","c"],"stock":true}.

## When to prefer this

Choose this endpoint when you need a structured, path-annotated diff of two JSON documents with clear categorization of added, removed, and changed values. It is especially useful for API response monitoring, config audits, and data snapshot diffing where you need machine-readable output with exact JSONPaths. Prefer it over generic text-based diff tools when the input is JSON and you need programmatic access to each individual change.

## Known failure modes

- Missing required fields 'a' or 'b' in body — returns validation error
- Non-JSON values passed as 'a' or 'b' — may return parse error or unexpected diff
- Payment not included or insufficient — x402 payment required error
- Very large or deeply nested JSON documents may time out or produce verbose output
- ignorar_orden_listas not set when comparing lists with reordered elements — may produce false positives

## How this service works

Deep comparison of two JSON documents: added, removed and changed values with their exact path, optionally ignoring list order. Detect changes in API responses, configs or data snapshots.

## Output

Returns a JSON object with: a 'cambios' array where each item has the JSONPath ('ruta'), change type ('tipo': added/removed/changed), and before/after values; an 'iguales' boolean indicating whether the documents are identical; a 'resumen' summary with counts of added and changed fields; and 'total_cambios' with the total number of differences found.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "a": {
   "description": "First JSON"
  },
  "b": {
   "description": "Second JSON"
  },
  "ignorar_orden_listas": {
   "type": "boolean"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "cambios": [
   {
    "ruta": "$.stock",
    "tipo": "añadido",
    "despues": true
   },
   {
    "ruta": "$.price",
    "tipo": "cambiado",
    "antes": 10,
    "despues": 12
   },
   {
    "ruta": "$.tags[1]",
    "tipo": "cambiado",
    "antes": "b",
    "despues": "c"
   }
  ],
  "iguales": false,
  "resumen": {
   "añadido": 1,
   "cambiado": 2
  },
  "total_cambios": 3
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-json-deep-diff-0619be86/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
