Check an x402 seller before you pay it
preflight.kagurazaka.dev/v1/preflight
Check an x402 seller before you pay it. Probes the endpoint now, checks that its payment can actually succeed (token EIP-712 domain, payTo), and adds its 30-day uptime from our monitor of paid Bazaar listings, how many distinct buyers paid it, and how its price compares with similar listings, with cheaper well-used alternatives. Returns a verdict (ok, caution, avoid) with the reasons.
GET
https://preflight.kagurazaka.dev/v1/preflightUptime100% of 3 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://preflight.kagurazaka.dev/v1/preflight?max_price_usd=0.05&method=GET&url=https%3A%2F%2Fapi.example%2Fv1%2Fsearch");
console.log(await res.json());Example input
{
"max_price_usd": 0.05,
"method": "GET",
"url": "https://api.example/v1/search"
}