Compare two texts and see exactly what changed
agents.204-168-199-108.sslip.io/v1/util/diff
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 chan
GET
https://agents.204-168-199-108.sslip.io/v1/util/diffUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agents.204-168-199-108.sslip.io/v1/util/diff?a=Price%3A+%2410%0APlan%3A+Basic%0ASeats%3A+5&b=Price%3A+%2412%0APlan%3A+Basic%0ASeats%3A+5%0ASupport%3A+email");
console.log(await res.json());Example input
{
"a": "Price: $10\nPlan: Basic\nSeats: 5",
"b": "Price: $12\nPlan: Basic\nSeats: 5\nSupport: email"
}