Skip to main content
NEWx402 protocol on Base mainnet

Charge per API call.
One line of code.

x402Wrap turns any HTTP endpoint into a paid endpoint. Stablecoin settlement on Base in <300ms. Built on the x402 protocol.

No credit card Self-custody payouts 5-minute setup
LIVE — Last 5 settlements
base.org
GET /v1/scrape0xA1b2…3C4d+$0.0014just now
POST /infer0xF7c1…d2A8+$0.04202s ago
GET /weather0x9012…ee19+$0.00104s ago
POST /generate0xC4dd…7fB3+$0.12006s ago
GET /tools/list0x88aa…2c19+$0.00019s ago
node ≥ 184 kb gzipped
$ npm install x402wrap
added 1 package in 1.2s
Built on the x402 protocol — backed by
CoinbaseCloudflareVISABaseCircle
How it works

HTTP 402, finally turned on.

x402 is the dormant “Payment Required” status code, revived for stablecoin micropayments. We do the heavy lifting; you keep your endpoint, your wallet, and your margins.

Client
API request
1
2
Your API
402 Payment Required
Client
Sign tx with wallet
3
4
x402Wrap
Verify on Base
5
Your API
Settle + execute
Client
200 OK with payload
6
300ms settlement
USDC on Base. Faster than your DB write.
Self-custody by default
Funds go straight to your wallet. We never hold.
Works with any stack
Express, Next.js, Fastify, Hono, Workers, Lambda.
Pricing

We take a flat fee. You keep the rest.

No revenue share. No per-call fees beyond your plan. Cancel anytime — your endpoints keep working.

Free
$0/ month
Tinkering, side projects.
Start free
1,000 monetized calls / mo
1 endpoint
Base mainnet + testnet
7-day analytics
Community support
Most popular
Pro
$19/ month
Solo founders shipping APIs.
Start 14-day trial
100,000 monetized calls / mo
Unlimited endpoints
Custom pricing per route
30-day analytics + exports
Email support, < 24h
Scale
$49/ month
Production traffic.
Talk to us
2,000,000 monetized calls / mo
Bring your own settlement contract
Webhooks + audit log
1-year analytics
Priority Slack channel

Stop building auth flows for $0.001 transactions.

Wrap one endpoint in the next five minutes and earn from your first call.

Get started — free