x402 is an open payment protocol developed by Coinbase that enables instant, automatic stablecoin payments directly over HTTP. It works by reviving the HTTP 402 "Payment Required" status code, a slot that has sat in the web's specification since the 1990s but was reserved for future use. With x402, a service can charge for an API call or a piece of content, and the client, whether a human's app or an autonomous AI agent, can pay programmatically in seconds. Coinbase, which introduced x402 in May 2025, framed it as a potential "WhatsApp moment" for stablecoins. Since July 2026 the standard has been run by the x402 Foundation under the Linux Foundation.
x402: Stablecoin Payments for the Web and AI Agents
Coinbase revived a dormant web status code, HTTP 402 "Payment Required," to let apps and AI agents pay in stablecoins directly over HTTP. Here is how it works and why it matters.
The x402 payment handshake
Request
A client (a human app or an AI agent) requests a paid resource, such as an API call or a piece of content.
402 Payment Required
Instead of serving the resource, the server responds with HTTP 402 and the payment details: amount, asset, network, and where to pay.
Pay in stablecoins
The client signs a stablecoin payment, typically USDC on Base, and resends the request with the payment attached.
Verify & settle
A facilitator verifies the payment and settles it onchain. The server then returns the resource. The whole handshake takes seconds.
The protocol standardizes the payment handshake, not the entire commerce stack. A facilitator (Coinbase runs one) verifies and settles payments onchain so neither side has to manage the blockchain mechanics directly. Most activity today settles in USDC on Base, though x402 is designed to be flexible across chains and tokens.
What x402 unlocks
Pay-per-call APIs
Monetize an API by the request, with no keys, accounts, or subscriptions. The caller pays a few cents per call.
Agent commerce
AI agents pay for data, tools, and compute autonomously, using a wallet as their native way to transact.
Metered content
Charge per article, query, or download instead of forcing a full subscription for one-off access.
Machine-to-machine
Services pay each other programmatically for resources, settling instantly in stablecoins around the clock.
x402 in October 2026
x402 is no longer a Coinbase-only project. The Linux Foundation launched the x402 Foundation on July 14, 2026 with 40 members; by mid-October its member list had grown to 57, including Visa, Mastercard, American Express and PayPal. Coinbase, Cloudflare and Stripe hold the technical steering committee seats.
- Cumulative x402 payments on Base passed 138 million by the third quarter of 2026, and more than 87% were under 10 cents.
- Coinbase's facilitator, the largest, reports more than 100 million transactions and $28 million in payment volume across Base and Solana. It charges $0.001 per transaction after the first 1,000 each month.
- Cloudflare opened its Monetization Gateway in closed beta on September 30, 2026, letting site owners charge AI agents per request, settled in USDC on Base through Coinbase's facilitator.
Real commerce is still small. Independent trackers that filter out bots and self-dealing counted about $0.8 million of organic volume and 91 businesses earning meaningful revenue over 30 days in October 2026, with most volume concentrated in a handful of sellers. Explorers such as x402scan track live sellers, transactions and facilitators.
For the underlying money, see how stablecoin payments work and why stablecoins like USDC are suited to instant, programmatic settlement. Businesses accepting payments at scale can compare payment gateways and platforms.
The bigger shift x402 points to: money that moves at the speed of an HTTP request, payable by software as easily as by people.
x402, answered
What is x402?
x402 is an open payment protocol developed by Coinbase that enables instant, automatic stablecoin payments directly over HTTP. It revives the long-dormant HTTP 402 'Payment Required' status code so that services can charge for APIs and content, and both humans and machines can pay programmatically. Coinbase introduced it in May 2025, and since July 2026 the standard has been governed by the x402 Foundation under the Linux Foundation.
How big is x402?
Cumulative x402 payments on Base passed 138 million by the third quarter of 2026, mostly micro-payments under 10 cents. Dollar volume is small: Coinbase's facilitator reports about $28 million processed in total, and independent trackers counted under $1 million of organic volume in the 30 days to October 2026.
Who governs x402?
The x402 Foundation, launched by the Linux Foundation on July 14, 2026. Its members include Coinbase, Cloudflare, Stripe, Visa, Mastercard, American Express and PayPal, with Coinbase, Cloudflare and Stripe on the technical steering committee.
How does the x402 protocol work?
When a client requests a paid resource, the server responds with HTTP 402 and the payment requirements. The client pays in a stablecoin, typically USDC on the Base network, and resends the request with proof of payment. A facilitator verifies and settles the payment onchain, and the server returns the resource. The exchange completes in seconds, with no accounts or manual checkout.
Why is x402 important for stablecoins?
x402 turns stablecoins into a native payment method for the web and for AI agents. Because a stablecoin like USDC holds a steady dollar value and settles onchain in seconds, it fits micro-payments and machine-to-machine commerce that card rails handle poorly. Coinbase described the launch as a potential 'WhatsApp moment' for stablecoins.
What is HTTP 402 Payment Required?
HTTP 402 is a status code that has existed in the web's specification since the 1990s but was reserved for future use and left largely unused. x402 puts it to work: a server returns 402 to signal that payment is required before a resource is served, along with the details needed to pay.
What stablecoins and networks does x402 use?
In practice most x402 activity settles in USDC on Base, though the protocol is designed to be chain and token flexible. Facilitators, including Coinbase, handle verification and settlement so servers and clients do not manage the onchain mechanics themselves.
Who can use x402?
Any service that wants to charge for a resource can implement x402, and any client, a person's app or an autonomous AI agent, can pay through it. It is an open standard, so it is not limited to a single company or wallet.
Agent payments are moving fast.
x402, machine-to-machine payments and stablecoin rails for AI agents: follow every launch and standard in our independent news coverage.