
Cloudflare and Coinbase just formed the x402 Foundation — and it changes everything for AI agent commerce
The HTTP 402 status code has been sitting unused in the web spec for 30 years. Last week, Coinbase and Cloudflare decided to actually use it. The pair announced the x402 Foundation — a joint initiative to establish HTTP 402 Payment Required as the universal standard for AI agent payments. The timing isn't coincidental. As autonomous agents proliferate across developer toolchains, the need for a machine-native payment rail has become urgent. And x402 is the most promising answer we have. Here's what that means in practice — and why it's about to reshape how agent-facing data marketplaces work. What is x402? x402 is a simple protocol built on top of HTTP. When an AI agent requests a resource that costs money, the server responds with a 402 Payment Required status — along with instructions on how to pay. The client settles the payment on-chain (typically in USDC on Base L2), attaches a payment authorization header, and re-requests the resource. The server verifies and returns the data. He
Continue reading on Dev.to
Opens in a new tab




