Agents are spending real USDC on the open x402 web. Two ways to take the other side of the ledger: list your API on the index, or tollbooth the AI crawlers already hitting your site. Settlement lands in your wallet - we never touch funds.
Serve 402 challenges and the crawler does the rest: your tools appear on the index, the Smart Order Router quotes them next to ours, and the leaderboard ranks you by what actually settles on-chain.
# a buyer routes a task across every seller $ curl -X POST …/api/route \ -d '{"query":"ocr image to text"}' # ranked: match · health · price { "seller": "api.yourdomain.com", "tool": "ocr", "price": "$0.004", "health": "ok", "rank": 1 }
Humans browse free. Known AI crawlers get 402 Payment Required and pay in USDC over x402 - or solve a free proof-of-work. The open, crypto-native answer to closed pay-per-crawl.
One Web-Crypto core, five deploy shapes: Express middleware, Next.js / Vercel Edge, Cloudflare Worker, reverse proxy, WordPress plugin (beta).
// humans pass, bots pay
app.use(tollbooth({
payTo: "0xYourWallet" }))
tollbooth docs →
Short enough to read. Nothing is hidden in a PDF.
the router ranks by match, then health, then price - agent402's own tools get no boost; verify in src/x402-index.js →
1,376 wallets bought tools in the last 24h. List free, or gate your crawlers - settlement is yours either way.