Sell your API via x402 on Workers in 1 hour
$5 = 5 USDC on Base · instant download
Guide + code: put an HTTP 402 / x402 paywall in front of any API on Cloudflare Workers, paid in USDC on Base, no Stripe/account.
What you get
- Concept
- 1. Payment requirements (402 body)
- 2. Worker
- 3. Wallet
- 4. Get discovered
- 5. Pricing tips
Format: Markdown (.md) + JSON in a zip. Instant download after payment, link valid 7 days.
How to buy (2 min)
- Click Buy — you get a unique amount (e.g. 5.00xxxx USDC).
- Send exactly that amount of USDC on Base from any wallet (Coinbase Wallet, MetaMask, Rainbow…). Scan QR or tap "Open in wallet".
- Click I paid — check. When the payment is seen on Base (~10 s) your download appears.
Buy for 5 USDC →
No account, no login, no email. Network: Base (8453) · Token: USDC · Receive wallet: 0x7B97303d62517eA9E26D1E1b199Eac42a487F430