{
  "x402Version": 2,
  "id": 33838,
  "slug": "33838",
  "resource": "https://x402.agentindex.world/json/diff",
  "description": "Recursive diff between two JSON documents: added, removed and changed paths.",
  "type": "http",
  "serviceName": "json-diff",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb3F32bdfe8D07825BC0D7387295aB1D7559BA69d",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "changes": {
            "items": {
              "properties": {
                "change": {
                  "title": "Change",
                  "type": "string"
                },
                "new": {
                  "default": null,
                  "title": "New"
                },
                "old": {
                  "default": null,
                  "title": "Old"
                },
                "path": {
                  "title": "Path",
                  "type": "string"
                }
              },
              "required": [
                "path",
                "change"
              ],
              "title": "JsonDiffChange",
              "type": "object"
            },
            "title": "Changes",
            "type": "array"
          }
        },
        "required": [
          "changes"
        ],
        "title": "JsonDiffOutput",
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "a": {
              "age": 30,
              "name": "Alice"
            },
            "b": {
              "age": 31,
              "name": "Alice"
            }
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "changes": [
              {
                "change": "changed",
                "new": 31,
                "old": 30,
                "path": "$.age"
              }
            ]
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "a": {
                    "title": "A"
                  },
                  "b": {
                    "title": "B"
                  }
                },
                "required": [
                  "a",
                  "b"
                ],
                "title": "JsonDiffInput",
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "changes": {
                    "items": {
                      "properties": {
                        "change": {
                          "title": "Change",
                          "type": "string"
                        },
                        "new": {
                          "default": null,
                          "title": "New"
                        },
                        "old": {
                          "default": null,
                          "title": "Old"
                        },
                        "path": {
                          "title": "Path",
                          "type": "string"
                        }
                      },
                      "required": [
                        "path",
                        "change"
                      ],
                      "title": "JsonDiffChange",
                      "type": "object"
                    },
                    "title": "Changes",
                    "type": "array"
                  }
                },
                "required": [
                  "changes"
                ],
                "title": "JsonDiffOutput",
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "json diff",
    "compare json",
    "data comparison",
    "bazaar"
  ],
  "sourceHost": "x402.agentindex.world",
  "lastUpdated": "2026-10-08T06:09:05.658Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T06:08:54.021Z"
  },
  "metadata": {
    "serviceName": "json-diff",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "a": {
                "age": 30,
                "name": "Alice"
              },
              "b": {
                "age": 31,
                "name": "Alice"
              }
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "changes": [
                {
                  "change": "changed",
                  "new": 31,
                  "old": 30,
                  "path": "$.age"
                }
              ]
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "a": {
                      "title": "A"
                    },
                    "b": {
                      "title": "B"
                    }
                  },
                  "required": [
                    "a",
                    "b"
                  ],
                  "title": "JsonDiffInput",
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "changes": {
                      "items": {
                        "properties": {
                          "change": {
                            "title": "Change",
                            "type": "string"
                          },
                          "new": {
                            "default": null,
                            "title": "New"
                          },
                          "old": {
                            "default": null,
                            "title": "Old"
                          },
                          "path": {
                            "title": "Path",
                            "type": "string"
                          }
                        },
                        "required": [
                          "path",
                          "change"
                        ],
                        "title": "JsonDiffChange",
                        "type": "object"
                      },
                      "title": "Changes",
                      "type": "array"
                    }
                  },
                  "required": [
                    "changes"
                  ],
                  "title": "JsonDiffOutput",
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.agentindex.world",
    "manifest_name": "x402.agentindex.world",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "changes": [
        {
          "change": "string",
          "new": null,
          "old": null,
          "path": "string"
        }
      ]
    },
    "type": "string"
  }
}