JSON Diff Checker API - Structural JSON Compare & RFC 6902 JSON Patch
json_diff_checkerCompare two JSON objects, arrays, or JSON strings structurally (ignoring key order and formatting). Returns every added, removed, changed, and type-changed JSONPath plus an RFC 6902 JSON Patch array. Supports ignoreArrayOrder, ignoreCase, ignoreWhitespace, and numericTolerance. 0 AI, deterministic, < 5 ms. Free: 5 calls/day per IP. Paid: Radar API key (from €15/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.001/call via x402 at https://radarbg.com/x402/json-diff-checker.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"left": {
"retries": 3,
"service": "billing-api",
"version": "2.4.0"
},
"right": {
"retries": 5,
"service": "billing-api",
"version": "2.5.0",
"batchExport": true
},
"ignoreArrayOrder": false
},
"name": "json_diff_checker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| left | Yes | Original JSON object, array, or JSON string | |
| right | Yes | Modified JSON object, array, or JSON string | |
| ignoreCase | No | Ignore letter case when comparing strings | |
| ignoreArrayOrder | No | Compare arrays as order-independent multisets | |
| ignoreWhitespace | No | Normalize repeated whitespace in strings | |
| numericTolerance | No | Absolute tolerance for floating-point equality (e.g. 0.001) |