Monetize Any API in Minutes

Accept x402 payments, sell one-time API access, integrate with any facilitator

Get Started View on GitHub

Use Cases

Perfect for a wide range of API & MCP monetization needs

🤖

AI API Monetization

Charge per AI generation request - images, text, or audio. Perfect for wrapping GPT, DALL-E, or Stable Diffusion APIs.

📊

Data API Access

Monetize access to valuable datasets, financial data, or proprietary information with one-time payments.

🎮

Gaming APIs

Sell access to game assets, leaderboards, or player data. Charge per API call or data export.

🖼️

Media Streaming

Paywall video, image, or audio content. Sell one-time access to premium media collections.

🔐

Premium Tool Access

Wrap developer tools, calculators, or utilities with payment. Charge for API-based service usage.

🌐

Third-Party GET APIs

Wrap any public API endpoint. Add your pricing layer to popular APIs and split revenue.

📝

Document Generation

Charge per document creation - invoices, reports, PDFs, or custom formatted documents.

🗺️

Location Services

Monetize geocoding, mapping, or location-based data APIs with per-request pricing.

💼

White-Label Services

Build your own SaaS layer on top of existing APIs. No development needed, just configuration.

Why Use x402proxy?

Everything you need to monetize your API

60 Second Setup

Two commands. No complex configuration. Start accepting payments immediately.

🌐

Multi-Chain Support

Works with Ethereum, Base, Solana, and any EVM-compatible blockchain.

💰

Direct Payments

Receive money straight to your crypto wallet. No middleman, no delays.

🏗️

Flexible Pricing

Set global or per-route pricing. Control exactly what customers pay.

🔌

Plug & Play

Connects to any x402 facilitator. No vendor lock-in.

🛡️

Production Ready

Dockerized, multi-architecture support, runs as non-root user.

📊

Monetize Existing APIs

Wrap any existing API with payment middleware. Zero code changes.

🚀

Built-in Proxy

Automatically forwards requests after payment. Works with any backend API.

🔐

Secure by Default

Payment required before API access. No unauthorized usage.

How It Works

Simple architecture, powerful results

1

Set your rules

A single config file lets you set pricing and rules to monetize your API.

2

Run x402proxy

Set your config and start accepting payments immediately

3

Start Monetizing

End users pay per use to access your API functionality

Ready to Get Started?

Set up x402proxy in under 60 seconds

Terminal
curl -o custom-config.json https://raw.githubusercontent.com/zachalam/x402proxy/refs/heads/main/custom-config.json

docker run -p 8080:8080 \
  -v $(pwd)/custom-config.json:/app/config.json:ro \
  ghcr.io/zachalam/x402proxy:latest
View Full Documentation Star on GitHub