X

X402node · Text Diff

by X402node

GETBaseSolana

$0.016

per call · USD Coin on Base

Text diff, text comparison, diff two strings, line diff, word diff, character diff, file diff, text patch, unified diff format, compare strings, git diff style, text difference. Compare two texts, return added/removed/unchanged segments. Line, word, or char granularity. Accepts payment on Base or Solana — either network works.

Endpoint

GET https://api.x402node.dev/text/diff

1

Calls / 30d

1

Unique payers / 30d

Sep 6

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.x402node.dev/text/diff", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.x402node.dev/text/diff?a=string&b=string&mode=string" \
  -H "X-PAYMENT: <signed x402 payment>"

Payment details

Pay to0x4466d4a84b7c49a6a094ec6eef4a0712d6dd125e
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from X402node & similar services