Skip to content
Fourohtwo

defi-intel-agent-gateway.gg-neo15.workers.dev/v1/code/json-repair

Repair malformed JSON produced by LLMs using deterministic Zod-validated cleanup — $0.001 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/code/json-repair

Uptime0.0% of 4 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://defi-intel-agent-gateway.gg-neo15.workers.dev/v1/code/json-repair", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"text":"{bad json}"}),
});
console.log(await res.json());

Example input

{
  "text": "{bad json}"
}

More from DeFi Intel Agent GatewayProvider status