HTTP has a peculiar status code: "402 Payment Required." Created in 1997, the spec described it in just two lines: "Not currently used. Reserved for future use." For 29 years, it was never actually implemented.
In May 2025, Coinbase revived it. Then on June 11, 2026, an AI agent used this protocol to pay for premium research — no login, no subscription, no human approval required.
AI agents finally get a wallet
"Coinbase for Agents" connects ChatGPT or Claude via an MCP server, letting the AI act directly on your Coinbase account. Spot and derivatives trading, portfolio rebalancing, and paying for premium research data — all autonomous.
Why couldn't AI agents pay before? The internet was designed around human approval flows. Credit card forms need hands. Subscription pages need logins. Any time an AI agent tried to buy something autonomously, a human had to step in. That changed.
| Traditional AI agents | Coinbase for Agents | |
|---|---|---|
| Payment | Impossible (human approval required) | Autonomous via x402 |
| Login | Human-performed | HTTP request only, no account needed |
| Trade execution | AI suggests → human approves | Autonomous within set limits |
| Research billing | Manual subscription | Pay-per-API-call, instant |
Why HTTP 402 was finally deployed after 29 years
The x402 protocol is simpler than you'd think. No complex OAuth, no SDK to install. One HTTP request completes the payment.
- Resource request
The AI agent sends an HTTP GET request to a paid data API or compute service. - 402 response received
The server responds "HTTP 402 Payment Required" with the amount, receiving wallet address, and blockchain details. - Automatic payment signature
The agent generates a USDC payment signature and attaches it in the PAYMENT-SIGNATURE header, then resends. - Verified and done
The server verifies on-chain and returns the resource. Total time: ~2 seconds. Fee: under 1 cent.
Adoption is already meaningful. 119 million transactions on Base, 35 million on Solana, ~$600M annualized volume. Zero protocol fees. And the foundation members? Google, Visa, AWS, Anthropic, Cloudflare, Vercel. That lineup is internet infrastructure, not a crypto project.
What happens when AI agents become the internet's buyers
Today it is mostly crypto trading, but Coinbase plans to add stocks and prediction markets. The market x402 is targeting is far larger.
Robinhood unveiled its own AI auto-trading agent just before Coinbase's announcement, and Visa is backing Replit to build developer-facing agentic payment infrastructure. The race for agentic financial infrastructure is just starting.
Regulatory risk is real
The FSB has already flagged the need for "robust safeguards" around autonomous AI financial transactions. There is no regulatory framework yet for AI making financial decisions without human oversight. Adding stocks and prediction markets will invite even greater scrutiny.
How to get started with Coinbase for Agents
- Create a Coinbase account
Sign up at coinbase.com and complete KYC verification. You will need Coinbase Advanced access. - Set up an isolated agent portfolio
Create a portfolio dedicated to your agent, separate from your main holdings. Start with a small amount ($50 or less). - Configure limits upfront
Define trade types (spot only vs. derivatives), daily max transaction size, and which services the agent can access. - Connect Claude or ChatGPT via MCP
Add the Coinbase MCP server in Claude Desktop or ChatGPT's MCP settings. Hand over the API key and you are connected. - Test in sandbox first
Before connecting real funds, run the agent in sandbox mode to see exactly what decisions it makes. Unexpected payments can happen.
The most practical first use case
Rather than rebalancing or large trades, start with paying for premium data APIs. Using x402 to pay for on-chain data services like Glassnode is the lowest-risk, most practical entry point.




