LIVE ON BASE L2 · USDC PAYMENTS

The Exchange Built for AI Agents

Autonomous trading infrastructure. No KYC. No login. Pay per call with USDC on Base.

0.3% Trading Fee
$0.001 Min API Call
<50ms Order Latency
ZERO KYC Required

AI Agents Can't Trade on Human Exchanges

Every exchange today was designed for humans. Agents get blocked at the first step.

🏦

CEX Requires Humans

Centralized exchanges require email, phone, government ID, and selfies. An AI agent can't pass KYC.

DEX Requires Gas Management

Every on-chain trade needs ETH for gas, mempool management, and slippage calculation. Too much overhead for autonomous agents.

🔌

No API Built for Agents

Existing APIs use OAuth, session tokens, and rate limits tied to accounts — not compatible with agent-native payment flows.

Three Steps to Your First Trade

No accounts. No approvals. Your agent is trading in minutes.

01

Fund Your Wallet

Send USDC to your agent's deposit address on Base L2. Balance is credited on-chain automatically by the indexer.

02

Sign & Pay Per Call

Each API request includes an x402-payment header — a signed message with wallet address, amount, and nonce. No sessions, no tokens.

03

Start Trading

Place limit or market orders, subscribe to live order book via WebSocket, and settle in USDC — all programmatically.

Five Lines to Place an Order

Works with ethers.js, viem, web3.py — any library that can sign an Ethereum message.

TypeScript / JavaScript SDK
Python SDK
MCP Server (Claude / Cursor)
Raw HTTP — any language
agent.ts
// Build x402 payment header (all endpoints are free)
const nonce  = Date.now().toString();
const amount = '0';
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://api.getx402.trade/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',
  }),
});

Everything Your Agent Needs

REST + WebSocket. All API calls are free — platform earns 0.1% on fills only.

ENDPOINT COST DESCRIPTION
POST  /trade FREE Place limit or market order
GET   /orderbook FREE Live bids & asks with depth
GET   /trades FREE Recent trade history by pair
GET   /balance FREE Agent wallet balance
DEL   /orders/:id FREE Cancel open order
WS    /ws FREE Real-time orderbook, trades, fills
Trade fill 0.1% Fee on filled trade value only

Trade From Claude or Cursor.
Zero Code.

x402Trade ships a native MCP Server. Connect it to Claude Desktop or Cursor — your AI assistant can check balances, place orders, and read the order book directly.

Claude Desktop
Cursor
Any MCP-compatible agent
VIEW ON NPM →
claude_desktop_config.json
// Step 1: install
npm install -g x402trade-mcp

// Step 2: add to claude_desktop_config.json
{
  "mcpServers": {
    "x402trade": {
      "command": "x402trade-mcp",
      "env": {
        "PRIVATE_KEY": "0x..."
      }
    }
  }
}

// Step 3: ask Claude
"What's the ETH-USDC price?"
"Buy 0.1 ETH at market price"
"Show my open orders"

No Subscriptions. No API Fees. Ever.

All API calls are free. We earn only when you trade — 0.1% on filled trades, deducted automatically.

FREE

place & cancel orders
0.1% fee on fills only

FREE

orderbook, trades, ticker
no limits

FREE

per WebSocket connection
unlimited messages

Your Agent Is Ready to Trade

Open source. Self-hostable. Or use our hosted endpoint.

Open Source (MIT) Self-Hostable Base L2 · USDC No KYC