{"uid":"cap_ZLiatTIH-DZzlldP0MF-L","slug":"decision-data-studio-json-diff-f800216c","name":"Decision Data Studio JSON Diff","description":"Local-first data and agent workflow tools from Decision Data Studio, plus verified EU tender shortlists and machine-callable utilities.","url":"https://api.ikoles.dev/v1/json-diff","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"after":{"description":"Any valid JSON value after the change"},"before":{"description":"Any valid JSON value before the change"}}},"responseSchema":{"type":"json","example":{"equal":false,"changes":[{"op":"replace","path":"/state","after":"done","before":"queued"}],"summary":{"added":0,"total":1,"changed":1,"removed":0},"truncated":false,"afterSha256":"2b69c90c1cdbeb8253b34a78e05e2d38c2875f070c345f0465f375ab52e186ca","generatedAt":"2026-07-24T00:00:00.000Z","beforeSha256":"c55d11e35f99b2c5e1eb592183654435da275e8f42119f4c4fca0e20af55f48a"}},"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_jyJegWWzvBUx_T7NCoKON","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":"Computes a structured diff between two JSON values, returning per-operation change details and a summary of additions, modifications, and removals.","exampleAgentPrompt":"Compare these two JSON snapshots and tell me exactly what changed — before: {\"state\":\"queued\",\"retries\":0} and after: {\"state\":\"done\",\"retries\":2}.","exampleUseCases":[{"title":"Detect config drift between deployments","prompt":"I have the JSON config from last week and the current one — can you diff them and tell me which keys were added, removed, or changed?"},{"title":"Audit API response changes over time","prompt":"Here's the JSON response I got from the orders API yesterday and again just now — show me what fields changed between the two."},{"title":"Validate idempotency of a data pipeline","prompt":"I ran my ETL pipeline twice on the same input — can you compare the two output JSON records and confirm they're identical, or flag any differences?"}],"resultDescription":"Returns a JSON object with an 'equal' boolean, a 'changes' array of RFC-6902-style operations (op, path, before, after), a 'summary' object with counts of added/changed/removed/total operations, SHA-256 hashes of both inputs, a 'generatedAt' ISO timestamp, and a 'truncated' flag if the diff was cut off due to size.","failureModes":["Malformed JSON in 'before' or 'after' fields causes a parse error response","Missing 'before' or 'after' fields returns a validation error","Extremely large JSON payloads may result in a truncated diff (truncated: true)","Network or service unavailability returns a non-200 status","Payment failure (x402) blocks the request before processing"],"whenToPreferThis":"Choose this endpoint when you need a machine-readable, structured diff of two arbitrary JSON values with per-field change granularity and SHA-256 provenance hashes — especially useful in agent workflows that need to detect state changes, audit mutations, or verify idempotency. Prefer it over text-based diff tools when the inputs are JSON and you need structured output (op/path/before/after) rather than line-by-line text deltas.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:45:42.506Z","isFirstParty":false}