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.

30-second summary
AI agent Connect Coinbase Autonomous trading & payments x402 (2s · $0.01) Agentic commerce era

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 agentsCoinbase for Agents
PaymentImpossible (human approval required)Autonomous via x402
LoginHuman-performedHTTP request only, no account needed
Trade executionAI suggests → human approvesAutonomous within set limits
Research billingManual subscriptionPay-per-API-call, instant
Spot + Derivatives
Direct AI trading
Sandbox
Isolated portfolio
MCP
Claude & ChatGPT support

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.

  1. Resource request
    The AI agent sends an HTTP GET request to a paid data API or compute service.
  2. 402 response received
    The server responds "HTTP 402 Payment Required" with the amount, receiving wallet address, and blockchain details.
  3. Automatic payment signature
    The agent generates a USDC payment signature and attaches it in the PAYMENT-SIGNATURE header, then resends.
  4. 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.

$1.5T
Juniper Research 2030 agentic commerce forecast
25%
Bain: agents share of US e-commerce by 2030
43.8%
Agentic commerce CAGR forecast

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

  1. Create a Coinbase account
    Sign up at coinbase.com and complete KYC verification. You will need Coinbase Advanced access.
  2. 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).
  3. Configure limits upfront
    Define trade types (spot only vs. derivatives), daily max transaction size, and which services the agent can access.
  4. 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.
  5. 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.