{"slug":"agents-204-168-199-108-sslip-io-v1-util-diff-e85e64","title":"Compare two texts and see exactly what changed","host":"agents.204-168-199-108.sslip.io","method":"GET","resource":"https://agents.204-168-199-108.sslip.io/v1/util/diff","category":"code","description":"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","price_listed":0.001,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["aws:base","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"a":"Price: $10\nPlan: Basic\nSeats: 5","b":"Price: $12\nPlan: Basic\nSeats: 5\nSupport: email"},"type":"http"},"output_schema":{"$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–20 (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"},"history":[],"description_full":"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.","last_updated":"2026-11-25T17:00:13.942Z","schemes":["exact"]}