Skip to main content
This page covers the x402 API. V2 API errors are listed inline on each endpoint page (see POST /v2/check-address and POST /v2/screen). All error responses follow the same JSON shape:

402 — Payment Required

The expected response on every paid endpoint until you supply a valid X-PAYMENT header. See Authentication for how to read the payment-required quote. The payment-required header always accompanies a 402 with a fresh quote, so a client can re-sign without re-fetching.

400 — Bad Request

429 — Rate limited

60 paid calls/minute per IP. Defense in depth on top of the cost of x402 itself. Behind a NAT? We’re working on per-payer rate- limiting; for now, contact us if it’s blocking a legitimate workload.

500 — Aegis-side failure (post-payment)

Payment was settled but our backend errored. Rare; logged to our audit channel. We don’t auto-refund — but if you see a 500 after a confirmed tx_hash on Basescan, contact support with the tx_hash and we’ll credit you back.

502 — Aegis backend unavailable

The Aegis engine (or a required upstream RPC) was temporarily unreachable after payment. On the V2 ledger path this auto-refunds; on x402 see the 500 note above for the credit-back flow.