{"uid":"cap_4rjVUhX8GaCPw8NxorCaY","slug":"agentstoolshub-json-diff-07faa7b0","name":"AgentsToolsHub JSON Diff","description":"Compare two JSON documents structurally — every added, removed and changed value reported with its RFC 6901 JSON Pointer path, not a text blob. Objects and arrays recurse; type changes (string → number) are flagged as changes. Deterministic, unlike eyeballing or text diffs. Use this when an agent needs to structural diff with exact JSON Pointer paths.","url":"https://agentstoolshub.com/api/v1/dev/json-diff?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"],"type":"string"},"queryParams":{"type":"object","required":["a","b"],"properties":{"a":{"type":"string","description":"JSON A (before)"},"b":{"type":"string","description":"JSON B (after)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_trzBaS3qc0Gweh7bAEhaO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Structurally compares two JSON documents and returns every added, removed, and changed value with its RFC 6901 JSON Pointer path.","exampleAgentPrompt":"Can you compare these two JSON objects and tell me exactly what changed — added, removed, or modified — using JSON Pointer paths? Here's the before: {\"name\":\"Alice\",\"age\":30} and the after: {\"name\":\"Alice\",\"age\":31,\"city\":\"NYC\"}.","exampleUseCases":[{"title":"API response change detection","prompt":"I got two versions of an API response and I want to know exactly which fields changed, were added, or removed between them — give me the differences with their JSON Pointer paths. Before: {\"status\":\"active\",\"count\":5} and after: {\"status\":\"inactive\",\"count\":5,\"reason\":\"suspended\"}."},{"title":"Config file drift audit","prompt":"Compare these two JSON config snapshots and list every structural difference with its exact path — I need to know what was changed, added, or removed between the old and new config."},{"title":"Schema version comparison","prompt":"I have two versions of a JSON schema and I need a precise diff showing which properties were added, dropped, or had their types changed — give me every difference with its JSON Pointer path."}],"resultDescription":"Returns a structured list of differences between the two JSON documents, each entry containing the RFC 6901 JSON Pointer path of the changed location and the nature of the change (added, removed, or changed), including type changes such as string to number. All nested objects and arrays are recursed.","failureModes":["Malformed JSON in query parameter 'a' or 'b' causes a parse error response","Missing required query parameters 'a' or 'b' returns a validation error","Very large JSON documents may hit query string length limits","Empty string inputs may return an error or empty diff"],"whenToPreferThis":"Choose this endpoint when you need deterministic, machine-readable JSON diffing with exact RFC 6901 JSON Pointer paths rather than a human-readable text diff. It is ideal for agents that need to programmatically process differences, audit configuration drift, or detect schema changes between two JSON states without ambiguity.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:39:32.157Z","isFirstParty":false,"canonicalSlug":"agentstoolshub-json-diff-07faa7b0"}