x402 is a revolutionary payment protocol that enables instant, automatic stablecoin payments
directly over HTTP. Pay for API access with USDC on the Base network - no accounts, no sessions,
no complex authentication required. Just pay and access.
How It Works
1
Request a resource - Make an HTTP request to any endpoint below
2
Receive payment instructions - Get a 402 Payment Required response with payment details
3
Make payment - Send USDC through the Coinbase facilitator and receive a payment proof
4
Access the resource - Retry your request with the payment proof to get your data