Agents do not want API keys and monthly plans. They want a machine-readable price, a wallet, and a receipt. HTTP 402 + x402 is that contract.
When unpaid, respond 402 with network, asset, payTo, and amount (atomic USDC). Agents parse this automatically.
Agent pays USDC on Base, retries with X-PAYMENT-TX (sovereign) or facilitator X-PAYMENT. You verify and return data.
app.use('/premium', x402({ price: '0.001', payTo: '0x…', freeForHumans: true }))
Launchpad
Watch it work
Commodity snacks: $0.001. See the pricing oracle.
No. freeForHumans lets browsers through while bots/agents pay.
No. Settlement is on-chain USDC. See Stripe vs crypto for APIs.