{"uid":"cap_wL4KA9FepF3y8QggWqary","slug":"vextorium-json-diff-3e08a21a","name":"Vextorium JSON Diff","description":"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.","url":"https://api.vextorium.com/v1/json-diff?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"a":{"description":"First JSON"},"b":{"description":"Second JSON"},"ignore_list_order":{"type":"boolean"}}},"responseSchema":{"type":"json","example":{"equal":false,"changes":[{"type":"added","after":true,"route":"$.stock"},{"type":"cambiado","after":12,"route":"$.price","before":10}],"summary":{"added":1,"changed":2},"total_changes":3}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mcP0aJ5qHah_sUi73A2be","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a deep structural comparison of two JSON documents, returning added, removed, and changed values with their exact paths, optionally ignoring list order.","exampleAgentPrompt":"Compare these two JSON objects and tell me exactly what was added, removed, or changed — I want the full path for each difference: first JSON is {\"price\":10,\"stock\":false} and second is {\"price\":12,\"stock\":true,\"discount\":0.1}.","exampleUseCases":[{"title":"Detect API response drift","prompt":"I saved the JSON response from our payments API last week and got a new one today — can you diff them and show me every field that was added, removed, or changed, including the exact path?"},{"title":"Config change audit before deploy","prompt":"Here are two versions of our app config JSON — the one from staging and the one we're about to push to production. Tell me every difference between them so I can review what changed before we deploy."},{"title":"Data snapshot comparison ignoring array order","prompt":"I have two JSON data exports from our database taken a day apart. Compare them and list all changes, but please ignore the order of items in arrays since the sort order isn't meaningful."}],"resultDescription":"Returns an object with: an 'equal' boolean indicating whether the documents are identical; a 'changes' array where each item includes the change 'type' (added, removed, or changed), the 'route' (JSONPath to the changed field), and 'before'/'after' values where applicable; a 'summary' object with counts of added and changed items; and a 'total_changes' integer.","failureModes":["Missing 'a' or 'b' body fields returns a validation error","Non-JSON values passed as documents may cause parsing errors","Extremely large or deeply nested JSON may hit size or timeout limits","Malformed JSON in either document returns an error response","Invalid bodyType enum value causes a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need precise, path-level diff output for two arbitrary JSON documents — especially for API response monitoring, config auditing, or data snapshot comparison. It is purpose-built for JSON (not YAML, XML, or text), supports optional list-order agnosticism, and returns structured change objects with JSONPath routes rather than a raw textual diff, making the output directly machine-consumable by agents.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T12:37:52.125Z","isFirstParty":false,"canonicalSlug":"vextorium-json-diff-3e08a21a"}