Author: Clow , Plain Language Blockchain An AI wrote some code and needs data to verify it. It sent an HTTP request, and the server returned a number: 402. ThenAuthor: Clow , Plain Language Blockchain An AI wrote some code and needs data to verify it. It sent an HTTP request, and the server returned a number: 402. Then

When AI starts paying its own bills: A piece of code that has been dormant for 34 years is igniting the machine economy.

2026/03/04 20:55
8 min read
For feedback or concerns regarding this content, please contact us at crypto.news@mexc.com

Author: Clow , Plain Language Blockchain

An AI wrote some code and needs data to verify it.

When AI starts paying its own bills: A piece of code that has been dormant for 34 years is igniting the machine economy.

It sent an HTTP request, and the server returned a number: 402.

Then, it paid $0.001 in USDC. Less than a second later, the data came back.

This transaction involved no account, no password, no bank card, and no KYC verification. No one was involved in the entire process.

This is no longer science fiction. By the end of 2025, the x402 protocol will have processed over 100 million such transactions; in the first 30 days of this year alone, another 15 million have been processed.

The "payment code" that has been dormant for thirty years

In 1990, when the drafters of the HTTP protocol defined status codes, they specifically reserved a place for 402, Payment Required.

The meaning is very straightforward—"You have to pay to get in here."

However, this status code was never officially used. It remained in the protocol documentation, dormant for thirty-four years.

The reason is simple: the original builders of the internet never imagined that one day machines would be making payments. Credit cards, bank accounts, KYC verification—these payment infrastructures were designed for humans and completely fail in the face of autonomous, running code.

AI agents need to call APIs, purchase data, and acquire computing power at millisecond speeds. The account registration and transaction fee barriers of traditional payment methods are a dead end.

By 2025, all three conditions will be met simultaneously.

The total supply of stablecoins has exceeded $300 billion; L2 cryptocurrencies, represented by Coinbase, have reduced the cost of a single transaction to the level of the US dollar; the AI ​​Agent ecosystem, led by OpenAI and Anthropi, has begun large-scale commercialization; and Coinbase engineers have unearthed that dusty 402 and decided to activate it.

In May 2025, Coinbase and Cloudflare officially launched the x402 protocol. In September, they partnered with Cloudflare to jointly announce the establishment of the x402 Foundation. A forgotten status code has returned to the heart of the internet. Cloudflare manages approximately 20% of global web traffic—meaning x402 has had no shortage of infrastructure entry points from day one.

The machine learned to pay for the first time.

The x402's design is surprisingly simple.

The AI ​​Agent initiates an HTTP request, and the server returns a 402 status code, along with the payment requirements: how much money, which blockchain, and which token. The Agent authorizes the request with an EIP-712 cryptographic signature, adds the payment information to the request header, and resends the request. After the server verifies the request, it returns the resources.

The entire process took less than a second, with no account, no subscription, and no API key.

This makes "payment" a part of the internet. Like GET and POST, it's just an HTTP action, and any service can charge machines simply by adding a line of middleware.

Data proves this logic works. In the approximately seven months since its release, the protocol has processed over 100 million transactions. According to Cambrian Network's Q1 2026 report, over 15 million transactions were processed in the past 30 days, involving over 400,000 buyers and over 80,000 sellers. Virtuals Protocol's AI Agent community is the largest single source of transactions, autonomously settling collaboration fees between agents within the protocol.

On December 11, 2025, x402 V2 was launched. This upgrade pushed the protocol from "usable" to "easy to use": it supports multiple chains such as Base, Solana, and Avalanche in parallel, introduces a session mechanism (the wallet becomes an identity credential, and repeated access does not require on-chain interaction each time), and connects ACH bank transfer and credit card networks—the payment systems of Web2 and Web3 are linked together for the first time in this protocol.

Google subsequently integrated x402 into the Agent2Agent (A2A) protocol and released the Agentic Payments Protocol (AP2); machine payments are becoming an infrastructure consensus among large technology companies.

Trust is the first hurdle in the agent economy.

The payment issue has been resolved, but there is still a more fundamental question that remains unanswered.

"Commerce can't happen if people don't trust each other."

Davide Crapis, the lead AI engineer at the Ethereum Foundation and one of the co-authors of ERC-8004, directly points out the core obstacle of the agent economy: When an AI agent needs to hire another agent to complete a task, how does it know the other party isn't a scammer? Where are the transaction records? How is reputation transferred?

ERC-8004 is Ethereum's answer to this question. The draft was released in August 2025, and it officially launched on the Ethereum mainnet on January 29, 2026. It establishes three lightweight registries on-chain:

  • Identity Registry: Each Agent obtains an on-chain ID based on an ERC-721 NFT, which is portable, transferable, and cross-chain verifiable. The AgentCard (JSON format) records capabilities, endpoints, and x402 payment support status.
  • Reputation Registry: Feedback signals between agents are archived on-chain—accuracy, timeliness, and reliability scores. Only the index is retained on-chain, and the data hash points to off-chain storage, reducing gas costs.
  • Verify the registry: After the task is completed, the result data is hashed and uploaded to the blockchain for verification, so that "whether the task was actually completed" has cryptographic verifiability.

The drafting team spans four major crypto ecosystems: Marco De Rossi of MetaMask, Davide Crapis of the Ethereum Foundation, Jordan Ellis of Google, and Erik Reppel of Coinbase. EigenLayer, ENS, The Graph, and Taiko have all expressed their support. Less than a month after mainnet launch, the number of registered agents on the Ethereum mainnet exceeded 24,000, totaling approximately 49,000 across all EVM chains.

A typical workflow is as follows: Agent A discovers a service provider through the ERC-8004 identity registry, filters the reputation registry to select a high-scoring Agent B, completes the payment using x402, and attaches reputation feedback to the payment record after the task is completed—the payment history becomes a credit anchor. This link is what Cambrian Network calls the "Agent Economic Operating System": payment + identity + reputation, three layers in one.

How deep is the water here?

The data looks good, but there are a few things that need to be clarified.

Tokens and protocols are two different things.

The x402 ecosystem token once boasted a market capitalization exceeding $9 billion on CoinGecko, with a single-day trading volume surpassing $230 million. However, a large portion of these "x402 concept coins" were meme tokens, which have no substantial connection to the protocol itself. Buying x402-related tokens does not equate to buying into the growth of the x402 protocol. This market has always been adept at blurring the lines between narrative and reality, and this time is no exception.

The technical risks have not yet been resolved.

The x402's EIP-712 signature mechanism requires ongoing security audits. The ERC-8004 reputation registry faces the threat of Sybil attacks—mass registration of fake identities—and the existing economic incentive mechanisms are not yet perfect. There is an economic tension between high-frequency micropayments (US$0.0001 per transaction) and L2 transaction fees (still up to US$0.05), meaning that very small transactions will still be consumed by transaction fees at this stage.

The war of agreements is not over yet.

x402, Google's AP2, and the a16z ecosystem's ACP—three protocols coexist. If developers are divided among these three standards, the network effect will be significantly reduced. Furthermore, OpenAI and Anthropic can completely bypass on-chain protocols and build their own closed-loop payment systems—they have user bases, data, and scale advantages, which presents a competitive challenge that x402 cannot ignore.

The regulatory landscape remains another blank. Who is the transaction entity in a payment initiated autonomously by an AI agent? Where does the KYC/AML responsibility trigger? No major jurisdiction has provided definitive answers.

summary

Someone once wrote a quote that's worth quoting here: "The inscriptions of 2023 will allow humanity to etch value onto the blockchain; the x402 of 2025 will allow machines to autonomously pay value on the network for the first time."

If HTTP connects computers worldwide into an information network, the combination of x402 and ERC-8004 attempts to connect billions of agents into an open service and data marketplace—no accounts, no approvals, just a request, a payment, and a result.

However, whether the protocol can prevail in the fragmented competition, whether the trust mechanism can be truly perfected, and whether the agent economy can move from demo to real business... these are all still unanswered questions.

Before the narrative unfolds, distinguishing between the "value of the protocol" and the "tokens hyped around the protocol" is perhaps the most important thing for every participant to understand.

Disclaimer: The articles reposted on this site are sourced from public platforms and are provided for informational purposes only. They do not necessarily reflect the views of MEXC. All rights remain with the original authors. If you believe any content infringes on third-party rights, please contact crypto.news@mexc.com for removal. MEXC makes no guarantees regarding the accuracy, completeness, or timeliness of the content and is not responsible for any actions taken based on the information provided. The content does not constitute financial, legal, or other professional advice, nor should it be considered a recommendation or endorsement by MEXC.

You May Also Like

Why AVAX Traders Are Watching $11.50 and $8.00 Right Now

Why AVAX Traders Are Watching $11.50 and $8.00 Right Now

Avalanche gained 2.77% on March 4, reaching $9.64 by 15:50 UTC on volume of 327,810 AVAX, the highest single-hour reading on the chart. The move came after six
Share
Ethnews2026/03/05 00:16
Best Crypto to Buy as Saylor & Crypto Execs Meet in US Treasury Council

Best Crypto to Buy as Saylor & Crypto Execs Meet in US Treasury Council

The post Best Crypto to Buy as Saylor & Crypto Execs Meet in US Treasury Council appeared on BitcoinEthereumNews.com. Michael Saylor and a group of crypto executives met in Washington, D.C. yesterday to push for the Strategic Bitcoin Reserve Bill (the BITCOIN Act), which would see the U.S. acquire up to 1M $BTC over five years. With Bitcoin being positioned yet again as a cornerstone of national monetary policy, many investors are turning their eyes to projects that lean into this narrative – altcoins, meme coins, and presales that could ride on the same wave. Read on for three of the best crypto projects that seem especially well‐suited to benefit from this macro shift:  Bitcoin Hyper, Best Wallet Token, and Remittix. These projects stand out for having a strong use case and high adoption potential, especially given the push for a U.S. Bitcoin reserve.   Why the Bitcoin Reserve Bill Matters for Crypto Markets The strategic Bitcoin Reserve Bill could mark a turning point for the U.S. approach to digital assets. The proposal would see America build a long-term Bitcoin reserve by acquiring up to one million $BTC over five years. To make this happen, lawmakers are exploring creative funding methods such as revaluing old gold certificates. The plan also leans on confiscated Bitcoin already held by the government, worth an estimated $15–20B. This isn’t just a headline for policy wonks. It signals that Bitcoin is moving from the margins into the core of financial strategy. Industry figures like Michael Saylor, Senator Cynthia Lummis, and Marathon Digital’s Fred Thiel are all backing the bill. They see Bitcoin not just as an investment, but as a hedge against systemic risks. For the wider crypto market, this opens the door for projects tied to Bitcoin and the infrastructure that supports it. 1. Bitcoin Hyper ($HYPER) – Turning Bitcoin Into More Than Just Digital Gold The U.S. may soon treat Bitcoin as…
Share
BitcoinEthereumNews2025/09/18 00:27
USDsui debuts as Treasury yield is routed to Sui DeFi

USDsui debuts as Treasury yield is routed to Sui DeFi

USDsui stablecoin launches on Sui with reserves in bonds and liquid assets; yield from holdings is recycled to support SUI and DeFi pools via Bridge’s platform.
Share
CoinLive2026/03/04 23:57