Cloudflare has introduced a new Monetization Gateway, a tool that lets developers charge for web pages, datasets, APIs, and MCP tools using stablecoins. The feature, currently in waitlist mode, marks a significant push to integrate cryptocurrency payments into mainstream web infrastructure and is built around the open-source x402 protocol.
The gateway handles payment verification and access control at the edge of Cloudflare's network, reducing server load for customers. All settlements are processed through the x402 protocol, which uses the HTTP 402 "Payment Required" status code to enable "sub-second payment settlement" without checkout pages or separate payment APIs. Developers can set granular access rules—for example, charging per API request, varying prices for compute-heavy tasks, or billing only unauthenticated users—all from a single dashboard, API, or Terraform.
Cloudflare framed the launch around the rise of AI agents that require fast, usage-based access to data feeds and tools but do not interact with ads or subscriptions. "Agents don't view ads or keep subscriptions," the company noted, adding that the gateway lets them pay for a single request with no signup, no API key, and no prior relationship.
The x402 protocol itself stems from earlier work between Cloudflare and Coinbase, which together launched the x402 Foundation to promote real-time stablecoin payments for AI agents, apps, and businesses. Related efforts include Amazon Bedrock AgentCore's integration of Coinbase x402 for USDC payments on the Base network, and Solana and Google Cloud's launch of Pay.sh, another stablecoin payment gateway for agents.
While the specific stablecoins supported at launch remain unannounced, the system's agnostic design and the Coinbase link point to USDC as a likely primary settlement asset. The move is seen as a practical step toward making cryptocurrency-based micropayments a standard part of the web, especially for APIs, data services, and machine-to-machine transactions.