api.x-402.online/v1/x402/inspect
Check that an x402 endpoint still returns a valid payment challenge, and read its price and recipient. Probe an x402 endpoint and report whether it still returns a valid payment challenge: HTTP status, challenge source (v2 header or legacy body), scheme, network, asset, payTo, amount in atomic units and in USDC, and a…
GET
https://api.x-402.online/v1/x402/inspectUptime80.0% of 5 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://api.x-402.online/v1/x402/inspect?method=POST&url=https%3A%2F%2Fapi.x-402.online%2Fv1%2Fextract");
console.log(await res.json());Example input
{
"method": "POST",
"url": "https://api.x-402.online/v1/extract"
}