What is x402? It’s an open payment protocol for pay-per-use APIs using stablecoins over HTTP. Backed by Cloudflare, x402 has processed 75M transactions worth $24M since May 2025, positioning x402 as infrastructure for the $30T AI agent economy.
The Pay-Per-Use Problem x402 Solves
When your car needs a wash, you drive to a car wash and pay for that one service. If you need a haircut, you visit a salon and pay once for that appointment. You are free to choose a membership if you visit often, but for most occasional needs, paying once feels natural and fair. This “pay-per-use” feature is the default for the real world. But the digital world went in a completely different direction.
Today, every app runs on subscriptions. You’ve probably subscribed to more streaming services than you can list in 10 seconds, yet you might only use one of them each day. The others sit idle while you still keep paying. Sometimes you just want to watch a single film or access one specific feature without committing to a monthly bill.
What is x402’s solution? The protocol fixes this brilliantly by enabling true pay-per-use for digital services. Instead of monthly subscriptions, you pay exactly for what you consume—one article, one API call, one data query. This fundamental shift from subscription bundling to granular usage pricing transforms how digital services monetize.
The entire web mainly runs on two business models: income from ads and income from subscriptions. For free content, ads made up revenue through user data harvesting for advertising purposes. As the web shifts toward AI agents consuming content instead of humans, ads stop working because you cannot target ads at software. Agents will either scrape content or pay for it, and scraping is unsustainable because content hosts still bear traffic costs without economic incentive.
Pay-per-use (particularly penny-sized transactions) was never practical with traditional payment rails. The moment you try to make payments as seamless and granular as clicking a link or calling an API, the old system collapses under fees, human authentication steps, geographic restrictions, and minimum transaction limits. That’s why x402 uses web-native settlement with stablecoins to give both humans and AI agents a way to pay and get access in the same simple request without subscriptions, logins, or manual checkout friction.
How x402 Works: The Technical Flow
What is x402’s technical process? There are two main roles in any x402 interaction: the client and the server. Imagine you are the client requesting access to a paywalled article. Instead of showing you a login screen or subscription prompt, the server responds with a 402 Payment Required status. Along with that status is a small payment instruction listing the price and where to send funds.
You complete the payment using stablecoins and then resend the request with proof of payment. The server verifies it and immediately unlocks the article. The beauty of this entire process is that nowhere did you go through account creation or subscription selection. You just paid for the one instance you used the application.
Typical x402 Transaction Sequence
Client requests a resource: An app, browser, or AI agent sends normal HTTP request to API or webpage
Server responds with 402 Payment Required: If resource is paywalled, server replies with status code 402 including payment details (price, asset type, network, payment reference)
Client handles the payment: Client uses facilitator or wallet to perform transaction specified in 402 response, typically stablecoin transfer on supported network
Client retries with proof of payment: Client resends original request adding payment receipt inside specific HTTP header
Server verifies and returns resource: Once server confirms payment on-chain or via facilitator, it sends back requested data with standard 200 OK status
This flow happens in seconds, creating seamless user experience indistinguishable from clicking a link. For AI agents, this automated payment capability enables autonomous economic activity without human intervention for each transaction.
Key Infrastructure: Facilitators And x402scan
What is x402’s infrastructure backbone? A natural question arises: if a publication wants to charge for paywalled reports using x402, does it need to run blockchain infrastructure, verify on-chain payments, and maintain settlement logic itself? That would be unrealistic for most websites, which is why the onus of creating and maintaining infrastructure is not on applications or websites.
The backbone of x402’s infrastructure is the “facilitator.” A facilitator handles the critical task of checking payment status and pushing confirmation messages to servers, which then unlock assets for clients. By offloading the checkout process, servers can remain simple while still benefiting from trustless blockchain settlement.
Multiple providers operate hosted facilitators supporting USDC on Base and Solana with competitive fee structures. Websites can choose from available options, rely on community-run facilitators, or host their own for full control. The x402 Foundation is actively working to increase facilitator diversity so no single operator becomes a bottleneck.
As more x402 services appear, developers and AI agents need easy ways to locate them. x402 Bazaar serves as a machine-readable directory that lets software discover, compare, and pay for services on demand without requiring manual integration or sign-ups. In many ways, x402 Bazaar is like Yellow Pages for the agentic web, built for automated discovery rather than human browsing.
What is x402scan’s role? It describes itself as the “ecosystem explorer” for the x402 protocol—essentially an analytics platform where you can view transactions, sellers, origins, and resources. It works as an indexer and dashboard tracking live usage of x402-enabled services: how many payments are being made, what endpoints are active, which facilitators are used, which networks, etc.
Key Metrics x402scan Provides
Transaction Volume: Number of x402 payments, total value transferred, growth trends (163,600 transactions in one week with $140,200 volume)
Endpoint Discovery: Which resource servers are receiving payments, what they charge, which assets/chains they accept
Facilitator Performance: Which facilitator services are being used, verification/settlement handling, reliability metrics
Network/Chain Data: Which blockchains (Base, Solana, Ethereum) are being used, along with latency, fees, settlement behavior
Agent/Client Behavior: Which clients or AI agents are making payments, frequency, services called
Adoption Momentum: Cloudflare, Google Cloud, And Beyond
What is x402’s institutional backing? Cloudflare and industry leaders launched the x402 Foundation, a collaborative effort promoting standardization, interoperability, and global adoption. This neutral governance body ensures x402 doesn’t become a single-vendor product, maintaining its open-standard nature.
Cloudflare’s alignment signals x402 is infrastructure, not just a single company’s project. Integrating x402 into Cloudflare’s edge compute and CDN stack enables payment requests to fit into everyday web workflows. The Foundation framing with open governance and multiple implementers positions the protocol as shared plumbing.
Google Cloud’s Agent Payments Protocol (AP2) uses x402 for agent-to-agent settlement, tying it into hyperscaler AI stacks. This validation from Google Cloud demonstrates x402’s viability for enterprise-scale AI applications. Wallets like OneKey, Sahara, and Transak have integrated x402 as a default primitive, reducing friction for end-users making payments.
Case studies mention AEON settling AI-initiated payments to millions of merchants across Southeast Asia, Latin America, and Africa. This geographic diversity demonstrates x402’s global applicability rather than being limited to developed markets.
Throughput remains relatively small at $24 million over seven months, but trajectory matters. If autonomous agents need to pay per call rather than per month, x402 becomes necessary plumbing. The bet is that embedding payments in HTTP reduces friction enough to unlock new transaction classes impossible under subscription or ad-based models.
Solana vs Base: The Network Competition
What is x402’s preferred blockchain? Solana and Base are the production networks, with Solana reportedly flipping Base in transaction volume by late 2025. This network competition highlights critical infrastructure choices for the protocol’s success.
For Solana and Base, x402 represents a bet that high-throughput, low-cost chains win the agent economy. If the modal payment is $0.01 for an API call, Ethereum mainnet is prohibitively expensive, and Layer 2s with multi-cent fees struggle. Solana’s dominance in volume suggests faster finality and lower gas costs give it structural advantages when agents hammer APIs thousands of times per second.
The constraint is that x402 solves coordination, not liquidity. An agent paying for an API call needs USDC in a hot wallet: custodying keys, managing balances, handling risk. For developers, it’s manageable, but for enterprises deploying agent fleets, it becomes a compliance nightmare. The protocol makes payments manageable, but it doesn’t ensure surrounding infrastructure is safe.
Risks And Open Questions
What is x402’s greatest challenge? The most considerable risk is facilitator concentration. While the x402 Foundation promotes diversity, early traffic flows through a small number of infrastructure providers. These operators shape adoption by deciding which chains to prioritize and how aggressively to subsidize fees. The facilitators are free today, but that rarely lasts once network effects lock in.
Compliance is baked into facilitators. x402 itself is neutral, but hosted facilitators plug into KYT (Know Your Transaction) and sanctions screening, and political pressure concentrates on facilitator operators. This creates centralization points in an otherwise decentralized payment flow.
Token confusion is endemic, as exchanges list speculative tokens branded “x402,” conflating the protocol with unrelated assets. The development team stresses the protocol has no native token, but that message competes with listing announcements creating investor confusion.
x402 is not the first attempt to wire payments into HTTP. What is different is the combination of stablecoins, cheap blockchains, and a credible use case in autonomous agents. Whether that overcomes coordination problems and regulatory friction will determine whether x402 becomes foundational plumbing or another experiment that never escapes the lab.
FAQ
What is x402 payment?
x402 payment is an open-standard payment layer built into the web. It lets clients (humans, apps, or AI agents) request resources, receive HTTP 402 Payment Required responses with payment details, make stablecoin payments, and receive resources once payment is verified.
What is the code x402?
The “code” x402 comes from HTTP status code 402 Payment Required, which until now had been reserved and unused in HTTP specification. The x402 protocol repurposes that status code as the trigger for a payment-first access flow on the internet.
Who created x402?
The protocol was developed by major crypto infrastructure companies as an open-source standard for internet-native payments. Cloudflare partnered through the x402 Foundation to ensure neutral governance and broad industry adoption.
How to invest in x402?
Since x402 itself is a protocol without an official token, there’s no “x402 coin” to buy. Some projects built on x402 issue their own tokens (like PING memecoin), but these are speculative and distinct from the core protocol. Proceed with caution.
Which blockchains does x402 support?
x402 currently operates on Solana and Base as production networks, with Solana reportedly leading in transaction volume due to faster finality and lower gas costs. The protocol is designed to be blockchain-agnostic and may expand to other networks.
How much transaction volume has x402 processed?
Since launching in May 2025, x402 has processed 75 million transactions worth $24 million by December 2025, with one week recording 163,600 transactions worth $140,200. Growth trends show strong month-over-month increases.
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
What Is x402? The Protocol Powering $30 Trillion AI Agent Economy
What is x402? It’s an open payment protocol for pay-per-use APIs using stablecoins over HTTP. Backed by Cloudflare, x402 has processed 75M transactions worth $24M since May 2025, positioning x402 as infrastructure for the $30T AI agent economy.
The Pay-Per-Use Problem x402 Solves
When your car needs a wash, you drive to a car wash and pay for that one service. If you need a haircut, you visit a salon and pay once for that appointment. You are free to choose a membership if you visit often, but for most occasional needs, paying once feels natural and fair. This “pay-per-use” feature is the default for the real world. But the digital world went in a completely different direction.
Today, every app runs on subscriptions. You’ve probably subscribed to more streaming services than you can list in 10 seconds, yet you might only use one of them each day. The others sit idle while you still keep paying. Sometimes you just want to watch a single film or access one specific feature without committing to a monthly bill.
What is x402’s solution? The protocol fixes this brilliantly by enabling true pay-per-use for digital services. Instead of monthly subscriptions, you pay exactly for what you consume—one article, one API call, one data query. This fundamental shift from subscription bundling to granular usage pricing transforms how digital services monetize.
The entire web mainly runs on two business models: income from ads and income from subscriptions. For free content, ads made up revenue through user data harvesting for advertising purposes. As the web shifts toward AI agents consuming content instead of humans, ads stop working because you cannot target ads at software. Agents will either scrape content or pay for it, and scraping is unsustainable because content hosts still bear traffic costs without economic incentive.
Pay-per-use (particularly penny-sized transactions) was never practical with traditional payment rails. The moment you try to make payments as seamless and granular as clicking a link or calling an API, the old system collapses under fees, human authentication steps, geographic restrictions, and minimum transaction limits. That’s why x402 uses web-native settlement with stablecoins to give both humans and AI agents a way to pay and get access in the same simple request without subscriptions, logins, or manual checkout friction.
How x402 Works: The Technical Flow
What is x402’s technical process? There are two main roles in any x402 interaction: the client and the server. Imagine you are the client requesting access to a paywalled article. Instead of showing you a login screen or subscription prompt, the server responds with a 402 Payment Required status. Along with that status is a small payment instruction listing the price and where to send funds.
You complete the payment using stablecoins and then resend the request with proof of payment. The server verifies it and immediately unlocks the article. The beauty of this entire process is that nowhere did you go through account creation or subscription selection. You just paid for the one instance you used the application.
Typical x402 Transaction Sequence
Client requests a resource: An app, browser, or AI agent sends normal HTTP request to API or webpage
Server responds with 402 Payment Required: If resource is paywalled, server replies with status code 402 including payment details (price, asset type, network, payment reference)
Client handles the payment: Client uses facilitator or wallet to perform transaction specified in 402 response, typically stablecoin transfer on supported network
Client retries with proof of payment: Client resends original request adding payment receipt inside specific HTTP header
Server verifies and returns resource: Once server confirms payment on-chain or via facilitator, it sends back requested data with standard 200 OK status
This flow happens in seconds, creating seamless user experience indistinguishable from clicking a link. For AI agents, this automated payment capability enables autonomous economic activity without human intervention for each transaction.
Key Infrastructure: Facilitators And x402scan
What is x402’s infrastructure backbone? A natural question arises: if a publication wants to charge for paywalled reports using x402, does it need to run blockchain infrastructure, verify on-chain payments, and maintain settlement logic itself? That would be unrealistic for most websites, which is why the onus of creating and maintaining infrastructure is not on applications or websites.
The backbone of x402’s infrastructure is the “facilitator.” A facilitator handles the critical task of checking payment status and pushing confirmation messages to servers, which then unlock assets for clients. By offloading the checkout process, servers can remain simple while still benefiting from trustless blockchain settlement.
Multiple providers operate hosted facilitators supporting USDC on Base and Solana with competitive fee structures. Websites can choose from available options, rely on community-run facilitators, or host their own for full control. The x402 Foundation is actively working to increase facilitator diversity so no single operator becomes a bottleneck.
As more x402 services appear, developers and AI agents need easy ways to locate them. x402 Bazaar serves as a machine-readable directory that lets software discover, compare, and pay for services on demand without requiring manual integration or sign-ups. In many ways, x402 Bazaar is like Yellow Pages for the agentic web, built for automated discovery rather than human browsing.
What is x402scan’s role? It describes itself as the “ecosystem explorer” for the x402 protocol—essentially an analytics platform where you can view transactions, sellers, origins, and resources. It works as an indexer and dashboard tracking live usage of x402-enabled services: how many payments are being made, what endpoints are active, which facilitators are used, which networks, etc.
Key Metrics x402scan Provides
Transaction Volume: Number of x402 payments, total value transferred, growth trends (163,600 transactions in one week with $140,200 volume)
Endpoint Discovery: Which resource servers are receiving payments, what they charge, which assets/chains they accept
Facilitator Performance: Which facilitator services are being used, verification/settlement handling, reliability metrics
Network/Chain Data: Which blockchains (Base, Solana, Ethereum) are being used, along with latency, fees, settlement behavior
Agent/Client Behavior: Which clients or AI agents are making payments, frequency, services called
Adoption Momentum: Cloudflare, Google Cloud, And Beyond
What is x402’s institutional backing? Cloudflare and industry leaders launched the x402 Foundation, a collaborative effort promoting standardization, interoperability, and global adoption. This neutral governance body ensures x402 doesn’t become a single-vendor product, maintaining its open-standard nature.
Cloudflare’s alignment signals x402 is infrastructure, not just a single company’s project. Integrating x402 into Cloudflare’s edge compute and CDN stack enables payment requests to fit into everyday web workflows. The Foundation framing with open governance and multiple implementers positions the protocol as shared plumbing.
Google Cloud’s Agent Payments Protocol (AP2) uses x402 for agent-to-agent settlement, tying it into hyperscaler AI stacks. This validation from Google Cloud demonstrates x402’s viability for enterprise-scale AI applications. Wallets like OneKey, Sahara, and Transak have integrated x402 as a default primitive, reducing friction for end-users making payments.
Case studies mention AEON settling AI-initiated payments to millions of merchants across Southeast Asia, Latin America, and Africa. This geographic diversity demonstrates x402’s global applicability rather than being limited to developed markets.
Throughput remains relatively small at $24 million over seven months, but trajectory matters. If autonomous agents need to pay per call rather than per month, x402 becomes necessary plumbing. The bet is that embedding payments in HTTP reduces friction enough to unlock new transaction classes impossible under subscription or ad-based models.
Solana vs Base: The Network Competition
What is x402’s preferred blockchain? Solana and Base are the production networks, with Solana reportedly flipping Base in transaction volume by late 2025. This network competition highlights critical infrastructure choices for the protocol’s success.
For Solana and Base, x402 represents a bet that high-throughput, low-cost chains win the agent economy. If the modal payment is $0.01 for an API call, Ethereum mainnet is prohibitively expensive, and Layer 2s with multi-cent fees struggle. Solana’s dominance in volume suggests faster finality and lower gas costs give it structural advantages when agents hammer APIs thousands of times per second.
The constraint is that x402 solves coordination, not liquidity. An agent paying for an API call needs USDC in a hot wallet: custodying keys, managing balances, handling risk. For developers, it’s manageable, but for enterprises deploying agent fleets, it becomes a compliance nightmare. The protocol makes payments manageable, but it doesn’t ensure surrounding infrastructure is safe.
Risks And Open Questions
What is x402’s greatest challenge? The most considerable risk is facilitator concentration. While the x402 Foundation promotes diversity, early traffic flows through a small number of infrastructure providers. These operators shape adoption by deciding which chains to prioritize and how aggressively to subsidize fees. The facilitators are free today, but that rarely lasts once network effects lock in.
Compliance is baked into facilitators. x402 itself is neutral, but hosted facilitators plug into KYT (Know Your Transaction) and sanctions screening, and political pressure concentrates on facilitator operators. This creates centralization points in an otherwise decentralized payment flow.
Token confusion is endemic, as exchanges list speculative tokens branded “x402,” conflating the protocol with unrelated assets. The development team stresses the protocol has no native token, but that message competes with listing announcements creating investor confusion.
x402 is not the first attempt to wire payments into HTTP. What is different is the combination of stablecoins, cheap blockchains, and a credible use case in autonomous agents. Whether that overcomes coordination problems and regulatory friction will determine whether x402 becomes foundational plumbing or another experiment that never escapes the lab.
FAQ
What is x402 payment?
x402 payment is an open-standard payment layer built into the web. It lets clients (humans, apps, or AI agents) request resources, receive HTTP 402 Payment Required responses with payment details, make stablecoin payments, and receive resources once payment is verified.
What is the code x402?
The “code” x402 comes from HTTP status code 402 Payment Required, which until now had been reserved and unused in HTTP specification. The x402 protocol repurposes that status code as the trigger for a payment-first access flow on the internet.
Who created x402?
The protocol was developed by major crypto infrastructure companies as an open-source standard for internet-native payments. Cloudflare partnered through the x402 Foundation to ensure neutral governance and broad industry adoption.
How to invest in x402?
Since x402 itself is a protocol without an official token, there’s no “x402 coin” to buy. Some projects built on x402 issue their own tokens (like PING memecoin), but these are speculative and distinct from the core protocol. Proceed with caution.
Which blockchains does x402 support?
x402 currently operates on Solana and Base as production networks, with Solana reportedly leading in transaction volume due to faster finality and lower gas costs. The protocol is designed to be blockchain-agnostic and may expand to other networks.
How much transaction volume has x402 processed?
Since launching in May 2025, x402 has processed 75 million transactions worth $24 million by December 2025, with one week recording 163,600 transactions worth $140,200. Growth trends show strong month-over-month increases.