Introduction
Monetize Any API in Minutes β’ Automatically accept x402 Payments β’ Simple Config, Zero Code Changes Required

What is x402proxy?
x402proxy is a plug-and-play proxy that automatically accepts x402 payments. Set it up in minutes in front of any existing API and start selling one-time access. Use a simple config file to customize which endpoints to monetize and set your prices.
Quick Start
Get up and running in under 60 seconds:
Download the starter config
Run with Docker
That's it! Your instance of x402proxy is now running and accepting x402 payments. π
Key Features
π Multi-chain support - Works with Ethereum, Base, Solana, and more
π° Direct payments - Paywall any URL; payment straight to your wallet
ποΈ Flexible pricing - Set one-time global or per-route pricing
π Plug & play - Works with any standard x402 facilitator
β‘ 60 Second Setup - Two commands. No complex configuration
π‘οΈ Production Ready - Dockerized, multi-architecture support, runs as non-root user
How It Works
Simple architecture, powerful results. Clients make requests, payments are verified via x402 facilitator, and your API gets protected automatically.
Set your rules - A single config file lets you set pricing and rules to monetize your API
Run x402proxy - Set your config and start accepting payments immediately
Start Monetizing - End users pay per use to access your API functionality
Ready to get started? Check out the Installation Guide or browse the Configuration section.
Last updated