An API that accepts USDC can use x402 to quote a price in an HTTP response. The application requesting access can then authorize payment without a person setting up a billing account. USDC is a common choice, not a requirement: the open-source protocol does not mandate a particular payment method.
Coinbase introduced x402 in May 2025. By the time of the December 5, 2026 report (00:22:22 UTC+08:00), the x402 Foundation, which operates under the Linux Foundation, had adopted the protocol. Participants included AWS, Circle, Cloudflare and the Solana Foundation.
From a price quote to settlement
- An application or AI agent requests a resource from a server over HTTP.
- The server responds with
402 Payment Required. ItsPAYMENT-REQUIREDheader specifies the payment model, amount, accepted asset, blockchain network and recipient. - The application checks the terms against its budget and permissions. If the terms fit, a protected wallet signer signs the payment authorization.
- The application repeats the request, this time including the signed authorization in the
PAYMENT-SIGNATUREheader. - The server validates the authorization, optionally with help from a facilitator. A signature alone does not establish settlement: the server grants access once settlement is confirmed.
Paying for a single query
An AI agent troubleshooting a bug could use x402 to pay for a single query to a remote testing service rather than arrange a subscription or maintain a prepaid balance. For providers, the protocol supports charging small amounts for access to APIs, data or digital content. For developers working with several providers, the shared HTTP format reduces the need for separate billing integrations.