What is Coinbase’s x402 protocol?

AI agents are beginning to tackle increasingly complex financial and commercial operations. However, these autonomous bots run into walls when it comes to setting up bank accounts or other payment methods, requiring human intervention. They also need access to fast, cheap, high-volume transactions which traditional payment systems simply cannot provide.

To address this, Coinbase created the x402 protocol: an open-source, web-native payment standard for stablecoins. With it, autonomous bots can transact quickly and cheaply, without relying on offline payment processors. Instead, developers embed payment gates directly into the interactions between computers and servers. AI agents can then pay fees in stablecoins to access any kind of web content or services. 

Since its inception in May 2025, the protocol has processed hundreds of millions of transactions. Now, a growing number of platforms across Web2 and Web3 are integrating it into their payment flows. The coalition of tech firms backing Coinbase includes giants such as Cloudflare, Circle, Stripe and Amazon Web Services. This suggests a broad shift towards agentic online commerce is underway.

In this article, we’ll explore the technology, use cases and future of the x402 protocol. 

How does x402 work? 

The x402 protocol adds native payment functionality to the internet’s basic frameworks. It does this by plugging payment requests into the middle of online interactions. The user (whether human or AI) must then complete a stablecoin payment from their crypto wallet to continue. This allows developers to place payment gates on content, data feeds and any other web resource. 

Historically, third-party payment processors have stood in the middle of these processes. Users have to manage subscriptions and input bank card details for access. However, these legacy payment providers impose fees and access restrictions that make them unviable for AI agents.

In contrast, the x402 protocol is both AI-native and crypto-native. It handles payment requests, authentication and settlement without charging any processing fees. Users pay only the transaction fee on the relevant blockchain (often as low as a fraction of a cent). The protocol is blockchain agnostic, allowing payments across Base, Solana, Ethereum and any other network.

The x402 payment flow

x402 builds on top of HTTP: the set of frameworks governing interactions between your computer and web servers. The process therefore follows the same call-and-response format as any other web interaction, but with a payment gate baked into the process:

  • A user submits a request for a web resource. For example, you try to load an article, or an AI agent calls an API for trading price data.
  • The server generates a payment request detailing the stablecoin requested, price, wallet address and network (all chosen by the developer). 
  • The user signs a transaction in their wallet and is granted access to the resource.

The process takes an average of around two seconds from request submission to settlement. In principle, this allows for money to flow through the internet as seamlessly as information.

What are the use cases of x402?

Use cases for AI agents

Businesses and professionals are delegating an increasing amount of complex work to AI agents. The x402 protocol broadens the capabilities of these agents by allowing them to transact without human support, while also making micropayments financially viable. Some use cases include:

  • Self-funding agents: Rather than relying on subscriptions, AI agents can use micropayments to fund their own compute. They can pay per-inference and scale up or down according to the task at hand.
  • Pay-per-call API access: Developers can turn their API data feeds into pay-as-you-go resources. Agents then access them to track key data such as asset prices or supply chain metrics.
  • Web services payments: Agents can pay for access to software, asset libraries, email inboxes, private groups and data sets. 
  • Machine-to-machine payments: AI agents can transact with each other using x402’s frameworks, facilitating machine marketplaces where agents trade assets and services among themselves.

Use cases for humans

Human users also stand to benefit from x402, even though it’s primarily geared towards agentic payments. Streamlined web-native payments offer new fractionalized models for online commerce:

  • Metered web services: Web service providers can transition to a pay-as-you-go model using micropayments. For example, a dating app that charges a fraction of a cent per swipe rather than $20/month.
  • Gated content: Creators can monetize their work directly online with one-click payment gates on their content or social media groups.
  • Pay-per-view models: Publications can begin charging per-article access, with cheap pay-per-view models replacing costly monthly subscriptions.
  • Security and privacy: More broadly, x402 payments remove the need to enter bank account details online, or to set up accounts on dozens of platforms and publications.

What’s next for internet-native payments?

Anticipating the rise of machine-to-machine commerce, a number of high-profile firms have already begun integrating the x402 protocol. For example, GPU provider Hyperbolic has implemented pay-per-inference access via x402, while CoinGecko uses it to manage access to onchain data feeds.

Perhaps the most significant integration yet came from Stripe in February 2026. The billion dollar payments infrastructure firm began using the protocol to facilitate USDC payments for AI agents on Base chain. Co-founder and President John Collison predicted that “a torrent of agentic commerce” was on the way in the coming months and years.

All of this points towards a future wherein AI agents are able to transact with increasing autonomy: trading, earning yield, or even running e-commerce businesses without any human intervention.

© 2026 The Block. All Rights Reserved. This article is provided for informational purposes only. It is not offered or intended to be used as legal, tax, investment, financial, or other advice.

 

Icon Bitcoin Cryptocurrency

Trade Crypto On Coinhub Exchange

Trade Crypto On Coinhub Exchange

Stay ahead of the market by turning news insights into trading opportunities. With Coinhub Exchange, you can seamlessly buy, sell, and manage your digital assets, all in one secure platform. Take advantage of real-time market insights, deep liquidity, and fast execution for your favorite cryptocurrencies. Don’t just read about it — trade crypto now!

Disclaimer

The content of this article shown by Coinhub News, powered by The Block, is for informational purposes only and should not be construed as financial, legal, tax, or investment advice. Coinhub News and its affiliates are not a licensed financial advisor, legal advisor, broker, or tax advisor, and ... should not be considered as professional advice or a recommendation to engage in any specific investment, legal decision, or financial transaction. Cryptocurrency markets are highly speculative and volatile. Readers should perform their own independent research and consult with a qualified professional before making any financial or legal decisions. The opinions expressed in this article are those of the author and do not necessarily represent the views or opinions of the Company of its affiliates. Additionally, the Company does not make any representations or warranties regarding the accuracy, timeliness, reliability, or completeness of any information in this article. By accessing this content, you acknowledge that any reliance on the information contained in this article is solely at your own risk. The Company is not responsible for any financial losses, legal disputes, or other damages that may arise from reliance on this content or from any investment or legal decisions based on the information provided. Investing in cryptocurrencies involves substantial risks, including the risk of losing your entire investment, and you should carefully consider whether it is appropriate for your circumstances.

Read more

💹 Related News

🔥 Popular News

Referral Reward Program – Earn Commissions!  Learn More Icon Long Arrow