Skip to content
Fourohtwo

Text diff

shop.lordevo.com/api/quick/text-diff

Text diff: unified diff, hunks and similarity of two texts: Compares two texts you send and returns whether they are identical, a similarity score, counts of added, removed and unchanged lines (or words or characters), plus a unified diff and hunks in line mode or a change list in word and char...

BaseDown
GEThttps://shop.lordevo.com/api/quick/text-diff

Uptime50.0% of 2 checks 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://shop.lordevo.com/api/quick/text-diff?after=name%3A+shop%0Aprice%3A+0.002%0Anetwork%3A+base%0A&before=name%3A+shop%0Aprice%3A+0.003%0Anetwork%3A+base%0A");
console.log(await res.json());

Example input

{
  "after": "name: shop\nprice: 0.002\nnetwork: base\n",
  "before": "name: shop\nprice: 0.003\nnetwork: base\n"
}