
The Awakening of a Dormant Code
An AI agent authored a snippet of code requiring data for validation.
It dispatched an HTTP request, and the server responded with a numeric code: 402.
Subsequently, it settled a payment of 0.001 USD using USDC. Within less than a second, the data was delivered.
This transaction involved no accounts, no passwords, no bank cards, and no KYC. The entire process occurred without any human intervention.
This scenario is no longer science fiction. By the end of 2025, the x402 protocol processed over 100 million such transactions; in the first 30 days of this year, an additional 15 million were added.
The “Payment Code” That Slumbered for Three Decades
In 1990, the drafters of the HTTP protocol designated a specific status code: 402, denoting “Payment Required.”
The implication is straightforward—”payment is necessary to access this resource.”
However, this status code was never formally implemented. It remained documented in the protocol specifications, dormant for 34 years.
The reason is uncomplicated: the internet’s initial architects did not anticipate that machines would one day handle payments. Credit cards, bank accounts, and KYC verifications—these payment infrastructures were designed for humans and proved entirely ineffective for autonomously operating code. AI agents require millisecond-level speed to invoke APIs, purchase data, and acquire computing power, but traditional payment systems’ account registrations and fee thresholds represented an insurmountable barrier.
By 2025, three conditions converged simultaneously.
The total supply of stablecoins surpassed $300 billion; Layer 2 (L2) solutions, exemplified by Base, reduced single-transaction costs to sub-cent levels; the AI agent ecosystems led by OpenAI and Anthropic commenced large-scale commercialization; engineers at Coinbase rediscovered the forgotten 402 and resolved to activate it.
In May 2025, Coinbase collaborated with Cloudflare to officially launch the x402 protocol. In September, they jointly announced the establishment of the x402 Foundation. A status code that had been overlooked reclaimed its place at the center of the internet. Cloudflare manages approximately 20% of global web traffic—ensuring that x402 had substantial infrastructure access from day one.
Machines Learn to Pay for the First Time
The design of x402 is surprisingly straightforward.
An AI agent initiates an HTTP request, and the server returns a 402 status code, accompanied by payment requirements: the amount, the blockchain, and the token type. The agent authorizes via an EIP-712 cryptographic signature, embeds the payment details in the request header, and resends it. Upon server validation, the resource is released.
The entire sequence takes less than a second, with no accounts, no subscriptions, and no API keys.
This integrates “payment” as an intrinsic part of the internet. Like GET or POST, it becomes a standard HTTP action, allowing any service to charge machines by adding a single middleware layer.
Data validates the efficacy of this approach. Approximately seven months post-launch, the protocol handled over 100 million transactions. According to the Cambrian Network Q1 2026 report, more than 15 million transactions occurred in the past 30 days, involving over 400,000 buyers and more than 80,000 sellers. The AI agent community from Virtuals Protocol emerged as the largest single source of transactions, autonomously settling inter-agent collaboration fees via the protocol.
On December 11, 2025, x402 V2 went live. This upgrade elevated the protocol from “functional” to “user-friendly”: supporting parallel operations across Base, Solana, Avalanche, and other chains; introducing a Session mechanism (where wallets serve as identity credentials, eliminating the need for on-chain interactions on repeat accesses); and bridging ACH bank transfers and credit card networks—uniting Web2 and Web3 payment systems for the first time within this protocol.
Google subsequently integrated x402 into its Agent-to-Agent (A2A) protocol, releasing the Agentic Payments Protocol (AP2); machine payments are becoming an infrastructure consensus among major tech companies.
Trust: The First Hurdle in the Agent Economy
With payments resolved, a more fundamental issue remains unanswered.
“Commerce can’t happen if people don’t trust each other.”
Davide Crapis serves as the AI lead at the Ethereum Foundation and is one of the co-drafters of ERC-8004. His assessment directly highlights the core barrier in the agent economy: when one AI agent needs to hire another to complete a task, how does it ascertain that the counterparty is not fraudulent? Where are the transaction records? How is reputation transmitted?
ERC-8004 represents Ethereum’s response to this challenge. Drafted in August 2025 and deployed on the Ethereum mainnet on January 29, 2026, it establishes three lightweight on-chain registries:
Identity Registry: Each agent receives an on-chain ID based on an ERC-721 NFT, which is portable, transferable, and queryable across chains; the AgentCard (in JSON format) records capabilities, endpoints, and x402 payment support status;
Reputation Registry: Inter-agent feedback signals are archived on-chain—scoring accuracy, timeliness, and reliability; the chain retains only indexes, with data hashes pointing to off-chain storage to minimize gas costs;
Validation Registry: Upon task completion, result data hashes are uploaded on-chain for verification, providing cryptographic provability for “whether the task was genuinely completed.”
The drafting team spans four major crypto ecosystems: Marco De Rossi from MetaMask, Davide Crapis from the Ethereum Foundation, Jordan Ellis from Google, and Erik Reppel from Coinbase. EigenLayer, ENS (Ethereum Name Service), The Graph, and Taiko have all expressed support. Less than a month after mainnet deployment, Ethereum mainnet registered over 24,000 agents, with approximately 49,000 across all EVM-compatible chains.
A typical workflow proceeds as follows: Agent A discovers providers via the ERC-8004 Identity Registry, filters high-scoring Agent B using the Reputation Registry, completes payment with x402, and appends reputation feedback to the payment record post-task—transforming payment history into a credit anchor. This pathway constitutes what the Cambrian Network describes as the “operating system for the agent economy”: payments + identity + reputation, integrated into three layers.
How Deep Is the Water Here?
The data appears promising, but several clarifications are warranted.
Tokens and protocols are distinct entities.
The market capitalization of x402 ecosystem tokens on CoinGecko once exceeded $9 billion, with daily trading volume surpassing $230 million. However, many “x402 concept coins” are meme tokens with no substantive ties to the protocol itself. Acquiring x402-related tokens does not equate to investing in the protocol’s growth. This market has always excelled at conflating narratives with reality, and this instance is no exception.
Technical risks remain unresolved.
The x402 EIP-712 signature mechanism requires ongoing security audits. The ERC-8004 Reputation Registry faces Sybil attack threats—mass registration of fake identities, with current economic incentive mechanisms still imperfect. High-frequency micropayments (e.g., 0.0001 USD per transaction) exhibit economic tension with L2 fees (which can still reach 0.05 USD), rendering ultra-small transactions uneconomical at present due to fee erosion.
The protocol wars are ongoing.
x402, Google’s AP2, and the ACP from the a16z (Andreessen Horowitz) ecosystem coexist. If developers fragment across three standards, network effects will be significantly diminished. Moreover, OpenAI and Anthropic could bypass on-chain protocols entirely, constructing proprietary closed-loop payment systems—they possess users, data, and scale advantages that pose an unavoidable competitive pressure to x402.
The regulatory landscape remains a void. Who is the transaction principal in an AI agent-initiated payment? Where do KYC/AML obligations trigger? No major jurisdiction has provided definitive answers.
A pertinent observation has been made: inscriptions in 2023 enabled humans to engrave value on-chain; x402 in 2025 allowed machines to autonomously pay value over networks for the first time.
If HTTP connected global computers into an information network, the combination of x402 and ERC-8004 endeavors to link billions of agents into an open market for services and data—no accounts, no approvals: one request, one payment, one result.
Yet, whether the protocol can prevail amid fragmented competition, whether trust mechanisms can be truly refined, and whether the agent economy can transition from demos to genuine commerce… these remain open questions.
Before narratives materialize, distinguishing the “value of the protocol” from “tokens hyped around the protocol” may be the most critical distinction for every participant.