---
title: "Diff JSON (x402)"
method: GET
path: "/x402/v2/diff-json"
tags: ["x402"]
---

# Diff JSON (x402)

`GET /x402/v2/diff-json`

## Request

- Base URL: `https://api.strale.io`
- URL: `https://api.strale.io/x402/v2/diff-json`
- Auth: none required

Compare two JSON objects and return structured diff. Shows added, removed, and changed fields with paths and values. Algorithmic.

## Query parameters

- `after` unknown, required
- `before` unknown, required

## Response `200`

Success

- object
  - `added` unknown[]
    - unknown
  - `changed` unknown[]
    - unknown
  - `removed` unknown[]
    - unknown
  - `identical` boolean

## Other responses

- `402`: Payment required (x402 — pay with USDC on Base)

---

[API](https://skmtc.dev/strale/apis/strale-api-2.md) · [All operations](https://skmtc.dev/strale/apis/strale-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/strale/apis/strale-api-2/revisions/a5293878cfc6?raw)
