Overview
Compare two texts and see exactly what changed. Line mode returns a standard unified diff (git-style @@ hunks) plus a list of added/removed lines with line numbers; word or char mode returns equal/insert/delete segments. Also: counts and a 0–1 similarity score, optional ignore case/whitespace. Myers algorithm, up to 20,000 characters and 5,000 lines per side. Use to detect page/contract/price changes or to review an edit.
Protocol
x402
Price
$0.0010
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
uncategorized
Provider
Text diff compare two texts
Indexed
2026-11-25 21:04:58
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
Input Schema
{
"method": "GET",
"queryParams": {
"a": "Price: $10\nPlan: Basic\nSeats: 5",
"b": "Price: $12\nPlan: Basic\nSeats: 5\nSupport: email"
},
"type": "http"
}
Output Schema
{
"example": {
"changes": [
{
"line_a": 1,
"op": "removed",
"text": "Price: $10"
},
{
"line_b": 1,
"op": "added",
"text": "Price: $12"
},
{
"line_b": 4,
"op": "added",
"text": "Support: email"
}
],
"identical": false,
"mode": "lines",
"stats": {
"added": 2,
"removed": 1,
"similarity": 0.5714,
"unchanged": 2
},
"unified": "--- a\n+++ b\n@@ -1,3 +1,4 @@\n-Price: $10\n+Price: $12\n Plan: Basic\n Seats: 5\n+Support: email"
},
"type": "json"
}