Key takeaways

  • x402 is an open standard that lets software, including AI agents, pay for things on the internet automatically using stablecoins.
  • It revives HTTP status code 402, "Payment Required", which was reserved in the 1990s but never widely used.
  • Since April 2026 it is run by the x402 Foundation at the Linux Foundation, with backers including Google, Visa, Mastercard, Stripe, AWS, Microsoft, and Circle.
  • Adoption is still early, and several competing standards exist.

Why AI Agents Need a Way to Pay

AI assistants are starting to do tasks for you, not just answer questions: booking, researching, buying data, calling other services. Many of those services cost money, often tiny amounts per request. Card payments don't work well for that. They need a person to type in details, they have minimum fees that make a $0.01 payment pointless, and they take days to settle.

Stablecoins solve those problems. A USDC payment on a low-cost network like Base settles in seconds and costs a fraction of a cent, so even very small payments make sense. Our explainer on why sending crypto now costs under a penny covers why those fees are so low.

What Is x402?

When your browser loads a web page, the server replies with a status code. You have probably seen 404 Not Found. The original web standards also reserved 402 Payment Required for a future where pages could ask for payment, but no common way to pay ever emerged, so it sat unused for decades.1

x402, introduced by Coinbase, puts that code to work.2 It defines a simple way for a server to say "this costs $0.05" and for the client to pay with a stablecoin and get the content, with no account, sign-up, or card details.2

How an x402 Payment Works, Step by Step

  1. The agent asks for something. For example, an AI assistant requests a weather data report from an API.
  2. The server replies "402 Payment Required". The reply includes the price, which token it accepts (usually USDC), and where to pay.
  3. The agent pays. Its wallet sends the stablecoin payment, within spending limits its owner has set.
  4. The agent retries with proof of payment. The server checks the payment and returns the data, usually within seconds.

From the outside it looks like a normal web request. The payment happens in the background, without a checkout page.

Who Is Behind It

  • September 2025: Coinbase and Cloudflare announced plans for an x402 Foundation to develop the standard openly.3
  • April 2, 2026: the Linux Foundation launched the x402 Foundation, with support from organizations including Google, Visa, Mastercard, Stripe, AWS, Microsoft, Circle, Shopify, American Express, and Base.4
  • July 14, 2026: the foundation became fully operational with 40 members.5

Coinbase has also released tools around it, including wallets designed for AI agents6 and a marketplace where agents can find paid services.7

Competing Approaches

x402 is not the only effort. Stripe's Machine Payments Protocol runs on its new Tempo blockchain, Google has proposed its own Agent Payments Protocol (AP2),8 and Visa and Mastercard have agent payment programs of their own. Some of these use stablecoins, others use cards behind the scenes. It is too early to say which will dominate, and several may coexist. For the bigger picture of how payment companies are adopting stablecoins, see Visa, Stripe and banks now use stablecoins.

How Big Is It Today?

Honestly, still small. Public estimates of x402 usage vary widely, and a large share of early transactions are tests and developer experiments rather than real purchases.9 The significance is less about today's volume and more about who has signed on: when the largest card networks, cloud providers, and tech companies agree on a standard, it tends to spread.

What It Means for You

  • The same digital dollars, more uses: USDC on Base, the kind of stablecoin you can hold and send with Moai.cash, is the money these AI payment systems use.
  • Pay-per-use instead of subscriptions: paying a few cents for a single article or report becomes practical.
  • Set limits: if you give an AI assistant a wallet, give it a small balance and clear spending limits, the same way you would with a prepaid card.
  • Watch for scams: new technology attracts fake "AI agent" investment schemes. Read our guide to avoiding crypto scams.

Frequently asked questions

What is x402?

x402 is an open standard that lets software, including AI agents, pay for online services automatically with stablecoins by using the HTTP 402 "Payment Required" status code.

Who created x402?

x402 was introduced by Coinbase. Since April 2026 it has been developed by the x402 Foundation at the Linux Foundation, whose backers include Google, Visa, Mastercard, Stripe, AWS, Microsoft, and Circle.

Which currency do x402 payments use?

Usually USDC on low-cost networks like Base, where a payment settles in seconds and costs a fraction of a cent.

Is x402 widely used yet?

Not yet. Usage is still early, and many transactions so far are tests and developer experiments rather than real purchases.

This article is for educational purposes only and is not financial advice.

Sources

  1. MDN Web Docs, "402 Payment Required", developer.mozilla.org. Retrieved October 8, 2026. ↩
  2. Coinbase Developer Documentation, "Welcome to x402", docs.cdp.coinbase.com. Retrieved October 8, 2026. ↩
  3. Cloudflare, "Cloudflare and Coinbase Will Launch x402 Foundation", cloudflare.com. Retrieved October 8, 2026. ↩
  4. Linux Foundation, "Linux Foundation is Launching the x402 Foundation and Welcoming the Contribution of the x402 Protocol", linuxfoundation.org. Retrieved October 8, 2026. ↩
  5. Linux Foundation, "Linux Foundation Announces Operational Launch of x402 Foundation to Standardize Internet-Native Payments for AI Agents and Applications", linuxfoundation.org. Retrieved October 8, 2026. ↩
  6. Decrypt, "Morning Minute: Coinbase Gives AI Agents Their Own Wallets", decrypt.co. Retrieved October 8, 2026. ↩
  7. The Block, "Coinbase-incubated x402 protocol unveils app-store for AI bots", theblock.co. Retrieved October 8, 2026. ↩
  8. Constellation Research, "Google's Agent Payments Protocol fleshes out AI agent commerce", constellationr.com. Retrieved October 8, 2026. ↩
  9. CoinDesk, "Coinbase-backed AI payments protocol wants to fix micropayment but demand is just not there yet", coindesk.com. Retrieved October 8, 2026. ↩