{"uid":"cap_Rd14cu1JQxYlFVZAMYji3","slug":"json-diff-b92ac07f","name":"JSON Diff","description":"The (most) everything API: 575+ pay-per-call endpoints for AI agents — ground-truth data, a full AI gateway, and agent infrastructure (storage, queues, watchers). USDC via x402, no signup, no API keys, and upto billing: pay actual usage, not the quote.","url":"https://2s.io/api/dev/diff-json","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"a":{},"b":{}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0025","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.0025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_loFBKkz5BYM17YswZJ1wn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a structured diff between two JSON values, showing what changed between them","exampleAgentPrompt":"Can you diff these two JSON objects for me and tell me exactly what changed — here's the original: {\"name\":\"Alice\",\"age\":30,\"role\":\"admin\"} and here's the updated version: {\"name\":\"Alice\",\"age\":31,\"role\":\"user\",\"email\":\"alice@example.com\"}?","exampleUseCases":null,"resultDescription":"A structured diff result showing which fields were added, removed, or modified between the two input JSON values, enabling precise change detection without manual comparison.","failureModes":["Invalid or malformed JSON in either 'a' or 'b' field returns an error","Missing required fields returns a validation error","Very deeply nested or extremely large JSON objects may time out or return partial results"],"whenToPreferThis":"Use this endpoint when you need a machine-readable, structured diff between two arbitrary JSON values — especially useful for comparing API responses across time, auditing configuration changes, or detecting state mutations. Prefer this over string-based diff tools when the inputs are JSON and you want semantically meaningful field-level comparison rather than line-by-line text diffs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:56:41.185Z","isFirstParty":false}