x402 overview
x402 turns HTTP 402 Payment Required into a working payment step. Every service in the marketplace is a small HTTPS API priced per call (most are $0.003 USDC).
- POST to the service route without payment.
- Get
402with aPAYMENT-REQUIREDheader: price, networkeip155:8453(Base), asset USDC, schemeexact, payTo. - Retry with a
PAYMENT-SIGNATUREheader from any x402 v2 client. - Get
200with the data and aPAYMENT-RESPONSEsettlement header.
No signup, no API key. Invalid requests are rejected without charge.
Next: quickstart · discovery files · concierge formats