Back to x402
Infrastructurex402

Cloudflare x402 Proxy

Cloudflare Workers template that adds x402 payment gates to any site deployed on Cloudflare's edge network.

Using USDC on Cloudflare x402 Proxy

Cloudflare, one of the co-founders of the x402 Foundation, provides a Workers template that lets developers add x402 payment requirements to any website or API running on Cloudflare's global edge network. The template acts as a reverse proxy: requests hit the Cloudflare Worker first, which checks for x402 payment, verifies it, and then forwards the request to the origin server. This means you can add per-request USDC payments to an existing site without modifying the origin application. It runs on Base and benefits from Cloudflare's global distribution for low latency.

Supported networks

Base

Key features

  • Edge-deployed payment gates
  • No origin server changes needed
  • Cloudflare Workers integration
  • Global low-latency distribution
  • Co-founded x402 Foundation

Ready to get started with USDC?

Check out our guides or explore more of the USDC ecosystem.

U
USDC.org

Independent guides to USDC and stablecoins.

Legal Disclaimer: USDC.org is an independent educational resource, not affiliated with Circle Internet Financial. All information is provided for educational purposes only.

© 2026 USDC.org. All rights reserved.

contact@usdc.org