🚀 Transform Any API Into Revenue

CheapPay brings Coinbase’s x402 payment protocol to Solana, enabling developers to monetize APIs, AI services, and digital content with micropayments starting at $0.001. Built for the Solana ecosystem with USDC/SOL support and seamless wallet integration.

Quick Start Guide

Get your payment-enabled API running in under 5 minutes with our three-step guide.

Why Choose CheapPay?

The Problem: Traditional payment systems require complex backends, user accounts, and have high minimum payments. Existing crypto solutions are built for e-commerce, not APIs. Our Solution: HTTP-native payments using 402 status codes. Your users pay with crypto they already hold, no signups required.

Start Building

Get your payment infrastructure running with minimal setup.

Core Features

Everything you need for production-ready cryptocurrency payments.

Developer Experience

Tools and resources to help you succeed.

Ready to Monetize?

Join the growing ecosystem of developers earning with CheapPay.

See Live Implementations

Browse real-world examples of AI services, data APIs, and content platforms using CheapPay.

Quick Example

import { solanaPaymentMiddleware } from '@cheapay/x402-express';
import { TokenMint } from '@cheapay/x402';

// Protect your API endpoint with $0.01 USDC payment
app.use(
  '/api/premium-data',
  solanaPaymentMiddleware({
    payTo: 'YourSolanaAddressHere',
    routes: {
      '/*': {
        price: '$0.01',
        network: 'solana-mainnet',
        mint: TokenMint.USDC.mainnet,
      },
    },
  })
);

// Your protected endpoint
app.get('/api/premium-data', (req, res) => {
  res.json({
    data: 'Premium content unlocked!',
    earnings: 'Every call = $0.01 in your wallet',
  });
});
That’s it! Your API now accepts cryptocurrency payments. Users pay with their Solana wallet, and you receive USDC instantly.