Use this tool before paying an unknown x402 API endpoint
x402.baseguard402.xyz/api/v1/x402-verify
Use this tool before paying an unknown x402 API endpoint. Probes any public URL (SSRF-safe), validates canonical HTTP 402 responses, decodes PAYMENT-REQUIRED headers, verifies Base/EVM payTo recipients and USDC assets, and checks /.well-known/x402 & /openapi.json machine discoverability.
POST
https://x402.baseguard402.xyz/api/v1/x402-verifyUptime100% 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
// 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://x402.baseguard402.xyz/api/v1/x402-verify", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"method":"GET","url":"https://x402.baseguard402.xyz/api/v1/url-clean"}),
});
console.log(await res.json());Example input
{
"method": "GET",
"url": "https://x402.baseguard402.xyz/api/v1/url-clean"
}