Introducing x402: a new standard for internet-native payments
May 6, 2025
By: Erik Reppel, Nemil Dalal, Dan Kim

TL;DR: Coinbase is launching x402, a payment protocol that enables instant stablecoin payments directly over HTTP. It allows APIs, apps, and AI agents to transact seamlessly, unlocking a faster, automated internet economy.
The internet economy has always struggled with payments.
Traditional payment rails—credit cards, bank transfers, subscriptions—were built for a pre-internet world. They’re slow, expensive, geographically limited, and riddled with manual steps. As digital interactions have scaled, payments have lagged behind: fragmented, sluggish, and hard to program.
There is a need for a more modern approach—one that supports autonomous AI agents, the rise of stablecoins and generally enables instant, frictionless payments native to the internet itself. Recently, Citi called this era the “ChatGPT moment” for payments, and a16z labeled it the “WhatsApp moment,” for stablecoins, reflecting a growing consensus: the world is ready for payment rails as seamless and global as the web itself.
At Coinbase, we're addressing exactly this challenge by introducing x402: an open standard that leverages the original HTTP "402 Payment Required" status code to embed stablecoin payments directly into web interactions. This protocol draws inspiration from Balaji and team's work on crypto micropayments with http://21.co many years ago. At the time, you could only achieve micropayments with Bitcoin payment channels, which required expensive setup/teardown. But with modern L2s like Base, onchain fees have dropped to 1 cent, so many of the applications they prototyped are becoming possible.
x402 lets developers and AI agents pay for APIs, services, and software directly with stablecoins over HTTP. With just a few lines of code, x402 offers built-in authentication, automatic settlement, and seamless integration into existing web infrastructure. It makes monetization instant and automatic, allowing businesses and agents to transact value as easily as they exchange data.
Erik Reppel, Head of Engineering at Coinbase Developer Platform and co-author of the x402 whitepaper, captures the vision behind this initiative:
“We built x402 because the internet has always needed a native way to send and receive payments—and stablecoins finally make that possible. Just like HTTPS secured the web, x402 could define the next era of the internet; one where value moves as freely and instantly as information. We’re laying the groundwork for an economy run not just by people, but by software—autonomous, intelligent, and always on.”
x402 is launching alongside leading collaborators including AWS, Anthropic, Circle and NEAR, who share our belief in an open, programmable internet economy.
Gagan Mac, VP Product Management at Circle—the issuer of USDC—sees x402 as a powerful new standard for making stablecoin payments a first-class citizen of the web:
“USDC is built for fast, borderless, and programmable payments, and the x402 protocol elegantly simplifies real-time monetization by removing friction around registrations, authentication, and complex signatures. Together, they unlock exciting new use cases like micropayments for AI agents and apps."
And Illia Polosukhin, co-founder of NEAR and co-author of "Attention Is All You Need"