X402-Broker Malformed JSON & Schema Healer
x402broker.com/v1/schema-repair
X402-Broker Malformed JSON & Schema Healer: Deterministically repairs truncated or hallucinated LLM JSON outputs into valid schemas.
GET
https://x402broker.com/v1/schema-repairUptime100% 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://x402broker.com/v1/schema-repair?raw_json=%7B%22status%22%3A+%22ok%22%2C+%27items%27%3A+%5B1%2C+2%2C+3%2C%5D%2C%7D");
console.log(await res.json());Example input
{
"raw_json": "{\"status\": \"ok\", 'items': [1, 2, 3,],}"
}