Money in your wallet in 2 seconds, not T+2. Real-time blockchain payments.
No hidden fees. Keep 100% of your revenue. Open-source and transparent.
Works with any blockchain and token. Currently supports USDC on BNB.
Built for developers who want to monetize APIs without complexity
Add payment requirements to your API with a single middleware wrapper. That's it.
AI agents can autonomously pay for API requests without human intervention.
Accept payments as low as $0.01. Finally viable without traditional payment fees.
No accounts, no emails, no OAuth. Users pay and access content anonymously.
Built on HTTP 402 status code. Works with any HTTP stack and existing infrastructure.
Deploy to Vercel, Netlify, or AWS Lambda. Scale automatically with demand.
Add payments to your serverless functions in minutes
import { withX402Payment } from '@/lib/x402/middleware';
async function handler(req: NextRequest) {
  // Your API logic here
  const data = await processRequest(req);
  return NextResponse.json({ data });
}
// Add payment requirement - that's it!
export const POST = withX402Payment(handler, "0.01");// Client makes request
const response = await fetch('/api/your-endpoint', {
  method: 'POST',
  headers: {
    'X-Payment': signedPayment // Auto-handled by x402 SDK
  },
  body: JSON.stringify({ data })
});Build any pay-per-use service you can imagine
Proxy AI models (GPT, Claude) with micropayments per request
DALL-E, Midjourney, Stable Diffusion with pay-per-image
Real-time stock quotes, crypto prices, financial data
File storage and CDN with usage-based pricing
Articles, reports, research papers with instant access
Serverless compute for data processing and analytics
Our Strengths
The simplest way to monetize your APIs. Zero fees, zero complexity, zero compromises.
One line of code. 5 minutes to production.
Zero protocol fees. Every dollar is yours.
Deploy anywhere. Scales automatically.
MIT license. Fork, modify, own it.
No accounts, emails, or OAuth required.
Monetize any API or service. No restrictions.
Money in your wallet in 2 seconds
Accept payments as low as $0.01
Users pay anonymously, no signup
Perfect for autonomous payments
Test all endpoints without coding
x402 protocol, blockchain agnostic
Start monetizing your APIs in minutes, not days.