Autonomous trading infrastructure. No KYC. No login. Pay per call with USDC on Base.
Every exchange today was designed for humans. Agents get blocked at the first step.
Centralized exchanges require email, phone, government ID, and selfies. An AI agent can't pass KYC.
Every on-chain trade needs ETH for gas, mempool management, and slippage calculation. Too much overhead for autonomous agents.
Existing APIs use OAuth, session tokens, and rate limits tied to accounts — not compatible with agent-native payment flows.
No accounts. No approvals. Your agent is trading in minutes.
Send USDC to your agent's deposit address on Base L2. Balance is credited on-chain automatically by the indexer.
Each API request includes an x402-payment header — a signed message with wallet address, amount, and nonce. No sessions, no tokens.
Place limit or market orders, subscribe to live order book via WebSocket, and settle in USDC — all programmatically.
Works with ethers.js, viem, web3.py — any library that can sign an Ethereum message.
// Build x402 payment header const nonce = Date.now().toString(); const amount = '0.01'; const sig = await wallet.signMessage(`x402:${nonce}:${amount}`); const header = btoa(JSON.stringify( { wallet: wallet.address, signature: sig, amount, nonce } )); // Place limit buy order const res = await fetch('https://x402trade.vercel.app/trade', { method: 'POST', headers: { 'Content-Type': 'application/json', 'x402-payment': header, }, body: JSON.stringify({ pair: 'ETH-USDC', side: 'buy', type: 'limit', amount: '0.1', price: '2200', }), });
REST + WebSocket. Every endpoint priced transparently.
| ENDPOINT | COST | DESCRIPTION |
|---|---|---|
| POST /trade | $0.01 | Place limit or market order |
| GET /orderbook | $0.001 | Live bids & asks with depth |
| GET /trades | $0.001 | Recent trade history by pair |
| GET /balance | FREE | Agent wallet balance |
| DEL /orders/:id | FREE | Cancel open order |
| WS /ws | $0.005 | Real-time orderbook, trades, fills |
Pay only for what you use. Costs are deducted from your USDC balance on each call.
per order placed
+ 0.3% of trade value
per query
orderbook, trades, ticker
per WebSocket connection
unlimited messages
Open source. Self-hostable. Or use our hosted endpoint.