Skip to content
Fourohtwo

Generate a unified git diff between two strings and an applyable patch

defi-intel-agent-gateway.gg-neo15.workers.dev/v1/text/diff-patch-gen

Generate a unified git diff between two strings and an applyable patch. Deterministic LCS. Returns hunks with context lines. — $0.002 USDC/call on eip155:8453. Pay-per-call via x402 — no API key, no account. Free samples daily.

BaseDown
POSThttps://defi-intel-agent-gateway.gg-neo15.workers.dev/v1/text/diff-patch-gen

Uptime0.0% 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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://defi-intel-agent-gateway.gg-neo15.workers.dev/v1/text/diff-patch-gen", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({}),
});
console.log(await res.json());

Example input

{}

More from DeFi Intel Agent Gateway