From the forgotten HTTP status code in 1999 to the trillion-dollar market in 2025, how did the x402 Foundation turn a line of code into the golden key to AI payment?
Imagine your AI assistant wants to help you check today's stock price, but it's stuck at a paywall—no credit card, no account, and doesn't even know how to "pay." It sounds like a plot from a science fiction novel, but in 2025, it's already a reality.
The solution to this problem is a payment revolution created specifically for AI agents to "buy things on their own" - the x402 protocol.
The x402 Foundation, a neutral organization backed by giants like Coinbase and Cloudflare, is the one that turned this "golden key to AI payment" from theory into reality.

1. From dusty archives to popular protocols: The archaeology of x402
HTTP 402: The Internet's "Unfinished Symphony"
The story begins in 1999.
At the time, the HTTP/1.1 specification defined a status code called "402 Payment Required," meaning, "This resource requires payment." However, no one knew how to securely and conveniently collect payments online, so this status code, like a blank check, remained unused for over two decades.
The best innovations often don’t come from inventing something entirely new, but from giving old parts new life in new circumstances.
It wasn't created out of thin air; instead, it cleverly resurrected the dormant HTTP 402 status code. This "forgotten tool" has found its destiny in the AI era .
How the protocol works can be understood using an everyday scenario:
- AI Request Service: An AI assistant wants to get the latest weather data.
- Server Requests Payment: The API server responds with a 402 code, saying, “Okay, but please pay $0.001 first.”
- AI automatic payment: The AI assistant immediately sends a micro-amount stablecoin payment via a blockchain such as Base.
- Service completed: The server confirms the payment and returns the data immediately.
The entire process is completed automatically within seconds, with no redirects, no logins, and virtually no fees. This addresses the internet's "payment flaw," allowing value to flow as freely as data. This is the perfect match for AI agents that need to conduct high-volume, high-frequency, and micro-transactions.
Why is it suddenly popular now?
Because this is a payment revolution in the machine economy, and the x402 protocol is at the center of the storm.
Currently, industry trends are driving the rise of the machine economy. This week, the crypto arm of venture capital firm a16z said in its latest State of Crypto report that autonomous transactions could reach $30 trillion by 2030.
The Coinbase development team also noted that AI agents are ushering in a new era for the machine economy: without human intervention, AI agents can autonomously complete everything from payments to data storage. These trends make the x402 protocol an excellent candidate for solving payment problems.

2. Behind-the-scenes Driving Force: The x402 Foundation's "Tale of Two Cities"
Coinbase + Cloudflare: A match made in heaven or a mutually beneficial one?
In September 2025, two seemingly unrelated giants came together:
- Coinbase : One of the world's largest cryptocurrency exchanges, it controls the infrastructure for stablecoin payments.
- Cloudflare : A CDN giant that provides services to 20% of the world's websites and controls key nodes of Internet traffic.
Why these two?
Coinbase has payment capabilities but lacks a distribution network; Cloudflare has a global network but needs a new business model. x402 perfectly complements the strengths of both: Coinbase provides blockchain payment technology, and Cloudflare provides a global edge computing network, together building the infrastructure for the "machine economy."
Core Team: The Integration of Web2 + Web3
The x402 Foundation adopts an open governance model, with core members including:
1. Dan Kim (Vice President of Business Development at Coinbase): Responsible for strategic cooperation and ecosystem development
- Core Value: A "Super Connector" in the Traditional Financial World
- Resume highlights: He has led global payment strategies at giants such as Visa and Airbnb and has extensive experience in institutional partnerships.
- Strategic Implications: Opening the door for traditional financial institutions to x402, ensuring compliance and mainstream adoption
2. Erik Reppel & Nemil Dalal (Coinbase): Co-authors of the x402 white paper
- Division of labor and collaboration: Erik is responsible for technical architecture design, while Nemil focuses on product strategy and compliance docking.
- Core Contribution: Co-author of the x402 white paper, built a complete "technology-market-regulation" trinity framework
- Unique advantages: The two-person team covers the entire chain from underlying technical standards to market implementation, providing dual technical and market guarantees for the project.
William Allen (Cloudflare): Providing network infrastructure support
- Technical support: Top experts in global network infrastructure provide enterprise-level stability for the x402
- Value: Cloudflare serves 20% of global website traffic, and its technical standard is x402 endorsement
- Strategic role: ensuring high availability and security of the protocol worldwide
Team chemistry: 1+1+1>3
Coinbase's compliance DNA × Cloudflare's infrastructure strength = a perfect entry point for traditional institutions
This combination precisely targets the core pain points of traditional institutions: embracing Web3 innovation while ensuring compliance and security. The team forms the iron triangle of "compliance, technology, and infrastructure."
The ultimate goal: to become the "golden channel" for Web2 giants to enter Web3, while gaining policy recognition and seizing the payment entrance in the machine economy era.

Currently, approximately 60 contributors from various ecosystems have participated in the development of the protocol. It is not owned by any company, but is a neutral governance body whose mission is to:
- Promote standardization: Make the x402 protocol an official web standard of the W3C (World Wide Web Consortium).
- Build an ecosystem: Attract global developers to build applications on x402 through funding, tools, and hackathons.
- Achieve decentralization: Ultimately hand over the governance of the protocol entirely to the community.
"Real" results from code to ecosystem
The x402 Foundation is not just an organization that talks about ideas, but one that does it. In just a few months, they have built a rich and diverse ecosystem:
- Representative projects: Questflow (AI agent orchestration), PayAI Network (cross-chain payment), AurraCloud (AI Agent infrastructure).
- Data performance: In the past 90 days, 524,000 transactions were completed with a total amount exceeding US$520,000, with rapid growth momentum.
- Developer support: x402.org provides specifications and SDKs, and Cloudflare and thirdweb's tools support integration with 170+ chains and 4000+ tokens.
Hackathons and bounty programs have attracted developers from all over the world, and more than 200 new projects have been incubated based on x402.
More importantly, the foundation remains neutral, ensuring that the protocol is open to anyone - whether you are a large company or an independent developer, you can freely extend it.
Giants enter the market: from pilot projects to strategic cooperation
More importantly, there is recognition at the industry level:
- Google: Integrating x402 into its A2A and AP2 frameworks
- Visa: Launches payment solution in conjunction with its Trusted Agent Protocol
- Circle: Providing USDC stablecoin support
- thirdweb : SDK supports 170+ chains and 4000+ tokens
What does this mean? It's no longer a niche experiment within the crypto world, but a serious strategic move by traditional tech and financial giants .

3. Deep Thinking: Why x402 May Change Everything
Principles of Economics: The Power of Reducing Transaction Costs
Economist Ronald Coase once said that the fundamental reason for the existence of a business is to reduce transaction costs. x402 essentially does the same thing —it reduces the transaction costs of payments to near zero:
- Time cost : reduced from minutes to seconds
- Cognitive cost : no need to register, log in, or remember passwords
- Technology cost: Developers can integrate with just a few lines of code
- Economic cost: only on-chain gas fees, no protocol fees
When transaction costs are low enough, previously uneconomical transactions become feasible. This is why concepts like micropayments, pay-per-use transactions, and AI agents trading autonomously suddenly become realistic.
Network Effects: The “Critical Mass” of Payment Protocols
Payment networks have a characteristic: the more people use them, the greater their value. The cleverness of x402 lies in:
- Open standards: anyone can implement and extend
- Multi-chain compatibility: not bound to a specific blockchain
- Backward compatibility: seamless integration with existing HTTP infrastructure
This design makes it easier for x402 to reach "critical mass" - when enough services support x402, the services that don't support it will be left behind.
IV. Challenges and Opportunities: A Reality Check
The x402 Foundation's vision is to reach the stars and the ocean, but the road ahead is not smooth.
challenge:
1. Apply for W3C national standards:
To become a global standard, it requires a long process of negotiation and recognition from international organizations such as W3C.
How difficult is it to get this "pass"? Becoming an international standard is like applying for a Nobel Prize: it requires strong technical skills, peer recognition, and a long process. W3C standard development usually takes 3-5 years, involving proposals, drafts, testing, community voting, etc.
2. The reality of fierce competition:
Google is pushing the AP2 protocol (allowing bank cards and transfers to be embedded in AI applications like APIs), and new approaches like Model Contextual Payment (MCP) are gaining traction. The good news is that Cloudflare has built-in x402 support into its Agents SDK and MCP server, taking the first step toward multi-track interoperability.
3. Ecological maturity:
Despite rapid growth, the ecosystem remains in its very early stages. As a new protocol, the x402 ecosystem is still in its infancy. Coinbase provides a reference implementation and developer toolkit, but multi-party implementations and interoperability testing remain insufficient. To become an industry standard, x402 must attract more third-party developers and infrastructure providers and establish a comprehensive interoperability testing matrix.
opportunity:
However, the opportunity is historic. With the AI agent economy expected to reach $10 trillion by 2030, a native, decentralized payment layer is essential. x402 is well-positioned to become this core infrastructure.
5. How to participate in the X402 ecosystem
The Ecosystem page on the x402 protocol's official website provides an overview of the current ecosystem. Clicking through each page quickly reveals that this is still early in the journey: many projects directly link to technical documentation, while a significant number simply direct you to GitHub. In other words, the narrative is front and center, and products and applications are still on the way.
But the early stage does not mean there is no context. The composition of participants has vaguely outlined three clear capital lines:
- First, infrastructure builders: Coinbase is the most obvious beneficiary. It is not only a participant, but also a rule maker and foundation builder.
- Second, the first batch of "residents"—AI agent applications. This is especially true for projects that have announced integration. AI agent technology is a hot topic in the current cryptocurrency space, and the x402 protocol has already attracted the attention of multiple AI agent projects. The integration of these projects will further promote the development and application of the x402 protocol.
- Third, site selection and neighborhoods— the Base ecosystem . It's no accident that x402 chose Base as its primary battlefield. Choosing a battlefield means choosing a growth curve: where developers gather often determines the path dependencies of tool chains, distribution, and mindset.
Conclusion: From Information Internet to Value Internet
The internet has spent three decades enabling the free flow of information, but it has always been flawed in the flow of value. We're accustomed to free access to information, but when it comes to paying, we're plagued by friction: registering an account, linking a bank card, remembering passwords, processing refunds...
It is this situation that x402 wants to change.
It makes payments as easy as sending an email, enables AI agents to complete transactions autonomously like humans, and allows developers to focus on creating value instead of processing payment logic.
This is not another declaration of "disruptive technology", but a pragmatic solution: to solve the most realistic problems in the simplest way.
If it succeeds, x402 could become the HTTP of the internet of value. If it fails, at least it proves that a forgotten status code can also make a big splash.
Regardless, this story deserves our continued attention.
- 核心观点:x402协议推动AI代理自主支付革命。
- 关键要素:
- 复活HTTP 402状态码实现微支付。
- Coinbase与Cloudflare提供底层支持。
- 90天完成52.4万笔交易验证可行性。
- 市场影响:构建机器经济核心支付基础设施。
- 时效性标注:长期影响


