P0 Agent Economy Index
Use for debugging an x402 client: pay $0.001 in USDC (or USDT0 on Arbitrum) on any network in accepts and get back what the server received: the decoded payment payload (scheme, network, authorization fields, signature), checks of amount, payTo, asset and validity window against this route's requirement, and the facilitator's settlement result. Only the payment header is echoed, never other header
- Price per call
- $0.001
- Chain
- Base
- Method
- GET
- Paid calls · 30 days
- 0
Call it from code
This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/x402-echo", { method: "GET" });
console.log(await res.json());https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/x402-echo