Loading market data...

Cloudflare Taps Coinbase-Led x402 Standard to Let AI Agents Pay for Web Data

Cloudflare Taps Coinbase-Led x402 Standard to Let AI Agents Pay for Web Data

Cloudflare, the web infrastructure company that powers roughly a fifth of all websites globally, is launching a monetization program based on the x402 machine payments standard. The initiative, led by Coinbase, allows AI agents to pay for data online using cryptocurrency, replacing traditional API keys with micropayments. It's a bet that the old cypherpunk dream of machine-to-machine payments can finally work at scale.

How x402 works

The x402 protocol is designed for AI agents that need to access web data without human friction. Instead of signing up for an API key, an agent sends a micropayment — currently in stablecoins like USDC or the Open USD standard — and gets the data. Bitcoin on-chain is supported, and the team is exploring Lightning Network integration for faster, cheaper transactions. The idea is to make paying for data as seamless as loading a webpage.

One example already in the wild: an AI agent paid for FIFA data in Bitcoin via a wrapper built by 'Lightning Mode AI' and then placed bets on Polymarket. That's the kind of autonomous commerce the standard aims to enable.

From L402 to x402

This isn't the first attempt at paid data access for machines. Lightning Labs earlier proposed L402, a protocol for Bitcoin payments for data. x402 builds on that concept but is led by Coinbase and targets a broader set of cryptocurrencies and use cases. Both protocols share a key feature: they require payment before serving data, which could help mitigate denial-of-service attacks. If a bot has to pay per request, flooding a server becomes expensive fast.

Cypherpunk dream, finally?

The idea of microtransactions between machines was theorized by cypherpunk Nick Szabo decades ago. It never took off because the cognitive cost of deciding to pay a few cents was too high for humans. But AI agents don't have that problem — they can evaluate and execute micropayments instantly. Cloudflare's move puts that theory into practice on a massive scale. The company operates in over 330 cities across more than 100 countries, so any protocol it adopts gets instant global reach.

Cloudflare's program is live now. The x402 standard is still evolving, with Lightning Network integration on the roadmap. The first real-world tests are underway.