Compare two texts and see exactly what changed
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.
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://agents.204-168-199-108.sslip.io/v1/util/diff
| Category | Code and developer |
|---|---|
| Provider host | agents.204-168-199-108.sslip.io |
| Networks | aws:base, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"a": "Price: $10\nPlan: Basic\nSeats: 5",
"b": "Price: $12\nPlan: Basic\nSeats: 5\nSupport: email"
},
"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": {
"additionalProperties": false,
"properties": {
"a": {
"description": "Old/original text",
"type": "string"
},
"b": {
"description": "New/changed text",
"type": "string"
},
"context": {
"description": "Unchanged lines around each change, 0\u201320 (default 3)",
"type": "string"
},
"ignore_case": {
"description": "true to ignore case",
"type": "string"
},
"ignore_whitespace": {
"description": "true to ignore whitespace differences",
"type": "string"
},
"mode": {
"description": "lines (default), words or chars",
"enum": [
"lines",
"words",
"chars"
],
"type": "string"
}
},
"required": [
"a",
"b"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}