{"uid":"cap_P_tGDvTE-Nf3yKRN_BsCo","slug":"json-diff-keys-utility-b28ac471","name":"JSON Diff Keys Utility","description":"Machine-callable x402-paid utilities for autonomous agents.","url":"https://creator-desk-x402-isolated.onrender.com/v1/utility/json-diff-keys?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{},"options":{"type":"object"}}},"responseSchema":{"type":"json","example":{"result":"example","operation":"json_diff_keys"}},"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_B7Q8LVkcA_N6SdueEf8e0","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 the difference between keys of two JSON objects, returning added, removed, or changed keys.","exampleAgentPrompt":"Compare the keys of these two JSON objects and tell me which keys were added, removed, or changed: {\"name\": \"Alice\", \"age\": 30, \"email\": \"a@example.com\"} vs {\"name\": \"Alice\", \"phone\": \"555-1234\", \"email\": \"a@example.com\"}.","exampleUseCases":[{"title":"API response schema drift detection","prompt":"I have two JSON responses from our API — one from last week and one from today. Can you diff the keys and tell me which fields were added or removed between them?"},{"title":"Config file key comparison","prompt":"Here are two versions of our app config JSON. Can you compare their keys and show me what's different — what was added, what was removed?"},{"title":"Validating expected JSON structure","prompt":"I have an expected JSON schema and an actual payload from a webhook. Can you diff their keys to tell me if any required fields are missing or if there are unexpected extra keys?"}],"resultDescription":"Returns a JSON object with the operation name 'json_diff_keys' and a result describing the key-level differences between the two input JSON values — typically indicating which keys were added, removed, or modified.","failureModes":["Invalid or non-object JSON input returns an error result","Missing 'value' field in request body causes processing failure","Deeply nested structures may only diff top-level keys depending on options","Payment failure via x402 returns HTTP 402 before processing begins"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, paid-per-call utility to compute key-level differences between two JSON objects — especially useful in agentic pipelines that need to detect schema drift, validate API payloads, or track structural changes between JSON snapshots without spinning up a full diff library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:41:18.701Z","isFirstParty":false,"canonicalSlug":"json-diff-keys-utility-b28ac471"}