Pricing

Three ways to pay: free API key, x402 agent wallet (no signup), or subscription (coming soon).

Starter

$19/mo
  • 5,000 req / month
  • 60 req / minute
Coming soon

Pro

$49/mo
  • 25,000 req / month
  • 200 req / minute
Coming soon

x402 — Pay per call, no account

Open protocol for machine payments. Your agent sends a request, gets HTTP 402 with payment terms, signs a USDC transfer from its wallet, retries — and receives the result. No API key, no checkout.

1. Request

POST /v1/extract without API key → 402 + PAYMENT-REQUIRED header

2. Sign

Agent wallet signs EIP-3009 USDC authorization (micro-payments from ~$0.001)

3. Retry

Same request + PAYMENT-SIGNATURE200 + result + PAYMENT-RESPONSE receipt

Per-tool pricing (live)

Loaded from /v1/x402/pricing

Loading…

Testnet setup (development)

Base Sepolia — free test USDC, no CDP signup for facilitator

  1. Server: X402_ENABLED=true, X402_ENV=testnet, X402_PAY_TO=0x…
  2. Get test USDC: Circle Faucet (select Base Sepolia)
  3. Agent wallet: set X402_PRIVATE_KEY in MCP or your client
  4. Network: eip155:84532 · Facilitator: x402.org

Mainnet (production)

Base mainnet — high friction for agents: real USDC + ETH gas. CDP keys are server-side only.

Agents: prefer free API key or testnet x402 unless your wallet is already funded on Base.

  1. Server: X402_ENV=mainnet, X402_PAY_TO=0x…
  2. CDP API keys: portal.cdp.coinbase.com
  3. Set CDP_API_KEY_ID and CDP_API_KEY_SECRET on API server
  4. Network: eip155:8453 · USDC on Base

API & MCP

GET  /v1/x402/info      — network, setup, faucets
GET  /v1/x402/pricing   — per-tool USD prices
GET  /v1/x402/setup/testnet
GET  /v1/x402/setup/mainnet

# MCP (mcp/server.py) — either auth method:
AGENTTOOLS_API_KEY=sk_live_...     # free tier
X402_PRIVATE_KEY=0x...             # pay per call
X402_NETWORK=eip155:84532