Return the line-level diff between two texts as added/removed/unified hunks with
Return the line-level diff between two texts as added/removed/unified hunks with counts. Use it to review a patch, compare two API responses, or decide whether two documents actually differ before spending tokens on them.
Answeringour last check, 2026-10-19
1 of 1checks answered this week
542 msmedian answer time
$0.001listed price per call
$0.001price 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
POST https://wealth-agent.wealthagent-app.workers.dev/api/x402/diff
| Category | Market data |
|---|---|
| Provider host | wealth-agent.wealthagent-app.workers.dev |
| 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-19 | valid payment request | 402 | $0.001 | 542 ms |
Example input (from the provider)
{
"body": {
"a": "line1\nline2\nline3",
"b": "line1\nline2 changed\nline3\nline4"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"properties": {
"body": {
"properties": {
"a": {
"description": "Original text",
"type": "string"
},
"b": {
"description": "Changed text",
"type": "string"
}
},
"required": [
"a",
"b"
],
"type": "object"
},
"bodyType": {
"enum": [
"json"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"deliverable": {
"properties": {},
"required": [
"kind",
"summary"
],
"type": [
"object",
"null"
]
},
"error": {
"type": [
"string",
"null"
]
},
"job_id": {
"type": [
"string",
"null"
]
},
"note": {
"type": "string"
},
"ok": {
"type": "boolean"
},
"receipt_id": {
"type": [
"string",
"null"
]
},
"resource": {
"type": "string"
},
"status": {
"enum": [
"delivered",
"paid_not_delivered"
],
"type": "string"
},
"tx": {
"type": [
"string",
"null"
]
}
},
"required": [
"ok",
"resource",
"status",
"deliverable"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}