Compare two JSON documents
Compare two JSON documents - every added, removed, changed or retyped path with old and new values, plus a summary count by operation
Answeringour last check, 2026-10-20
1 of 1checks answered this week
509 msmedian answer time
$0.01listed price per call
$0.01price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://saylorinnovations.com/api/json/diff
| Category | Everything else |
|---|---|
| Provider host | saylorinnovations.com |
| Networks | eip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 0 from 0 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-20 | valid payment request | 402 | $0.01 | 509 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"a": "{\"name\":\"x\",\"tags\":[1,2]}",
"b": "{\"name\":\"y\",\"tags\":[1],\"new\":true}"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"a": {
"description": "First JSON document, up to 6000 characters",
"type": "string"
},
"b": {
"description": "Second JSON document, up to 6000 characters",
"type": "string"
}
},
"required": [
"a",
"b"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"by_op": {
"description": "By op",
"properties": {
"added": {
"description": "Added keys",
"type": [
"number",
"null"
]
},
"changed": {
"description": "Changed values",
"type": [
"number",
"null"
]
},
"removed": {
"description": "Removed keys",
"type": [
"number",
"null"
]
}
},
"type": "object"
},
"changes": {
"description": "Number of differences found",
"type": "number"
},
"diff": {
"description": "Differences with path, operation and old and new values",
"items": {
"properties": {
"from": {
"description": "Start of the range"
},
"op": {
"description": "Operation performed"
},
"path": {
"description": "JSONPath of the difference",
"type": [
"string",
"null"
]
},
"to": {
"description": "End of the range"
}
},
"type": "object"
},
"type": "array"
},
"identical": {
"description": "True when the documents are equal",
"type": "boolean"
},
"note": {
"description": "Caveat or context for reading the result",
"type": "string"
},
"source": {
"description": "Data source the values come from",
"type": "string"
},
"truncated": {
"description": "True when the list was cut at the limit",
"type": "boolean"
}
},
"required": [
"identical",
"changes",
"diff"
],
"type": "object"
},
"type": {
"const": "json",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}