x402 is an open payment protocol released by Coinbase in 2025. It builds on 402, the HTTP status code reserved for 'Payment Required': a server can ask for payment in response to a request, and once the client sends a stablecoin payment such as USDC, it receives the response right away.
Because it handles small payments without account sign-ups or card details, it is discussed as a way for AI agents to buy and sell paid resources such as APIs and data on their own.