GET /x402/ping $0.001/call
The cheapest way to test an x402 client integration end-to-end on Base mainnet. Pay $0.001, and the response echoes your own payment payload back decoded — which header transport your client used, the payer address, the EIP-3009 authorization fields (signature redacted) — with the on-chain settlement receipt in the payment-response header. If /x402/ping answers, your buyer-side x402 integration works.
Parameters
| name | required | description |
|---|
Example
GET /x402/ping
→ {"ok":true,"paymentHeaderUsed":"payment","payer":"0x…","yourPaymentDecoded":{"x402Version":2,"scheme":"exact"},"serverTimeMs":1}
Payment (x402)
Call without payment to receive HTTP 402 with a base64 envelope in the payment-required header — price, payTo, network (USDC on Base), and I/O schemas. Pay automatically with @x402/fetch:
const payFetch = wrapFetchWithPayment(fetch, client);
const res = await payFetch("https://402arcade.dev/x402/ping?…");
No API keys. No accounts. Machine-readable: openapi.json · llms.txt · catalog