NEWx402 protocol on Base Sepolia testnet
Charge per API call.
One line of code.
Let developers and AI agents pay per API call with USDC on Base. No accounts, no subscriptions — just HTTP and stablecoins. Built on the x402 protocol.
No credit card Self-custody payouts 5-minute setup
LIVE — Last 5 settlements
base.orgGET /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
$ npm install x402wrap
added 1 package in 1.2s
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.
1
Client → Your API
/v1/scrape
Anonymous request
2
Your API → Client
Payment Required
Quote: $0.001 in USDC
3
Client
Sign tx in wallet
EIP-712 payload, no popup
4
Client → x402Wrap
/v1/scrape +receipt
Retry with signed authorization
5
x402Wrap
Settle on Base
USDC → your wallet · ~280ms
6
x402Wrap → Your API
Forward to handler
Headers carry verified payer
7
Your API → Client
OK + payload
Your handler’s response
HTTP 402 sequence
request response / settle
End-to-end
~480 ms
First call. Subsequent calls reuse the authorization.
On-chain settlement
~280 ms
USDC on Base. Funds land in your wallet, not ours.
Code you write
1 line
Wrap your handler. We attach the 402 + verify the receipt.
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.
Waitlist
Pro
$19/ month
Solo founders shipping APIs.
Waitlist
Scale
$49/ month
Production traffic.
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