FastbooksSign In / Sign Up
Developers ยท API

One API. Every Market.

Market data, unified execution, and an agent-native MCP server โ€” plug your bots and AI agents into every market in one line. Keys are self-service and metered.

What you get

๐ŸŒ

100+ exchanges

Unified market data across crypto CEX/DEX, on-chain perps, stocks, forex, and prediction markets.

๐Ÿ”‘

Self-service keys

Mint a free API key in one call โ€” no sales, no onboarding. Metered and rate-limited per key.

๐Ÿค–

Agent-native (MCP)

A first-class MCP server so Claude and other agents call FastBooks as typed tools.

๐Ÿงฐ

One CLI

pip install and trade CEX, on-chain perps, DEX swaps, options & prediction markets from the terminal.

Quickstart

# 1) Install (agent extras add ccxt + MCP server)
pip install "trading-cli[agent]"

# 2) One-command onboarding: mint a key, pick exchanges, write MCP config
fastbooks init

# 3) Live market data โ€” keyless, 100+ exchanges, standalone
fastbooks --json direct ticker hyperliquid BTC/USDC:USDC

# 4) Point an AI agent at it (Claude Desktop / any MCP host)
#    { "mcpServers": { "fastbooks": { "command": "fastbooks-mcp" } } }

Core endpoints

GET /api/public/v1/markets

Unified tickers across every asset class

GET /api/public/v1/markets/:id/orderbook

Aggregated order book for a market

GET /api/public/v1/quotes

Fast quotes for a symbol set

GET /api/markets/ohlcv

OHLCV candles, 1mโ†’1w, server-cached

POST /api/keys

Self-service: mint a free read-only key

Authenticate data requests with x-api-key: fb_live_โ€ฆ. Free tier is rate-limited to 5 req/s; usage is metered per key.

Free to start ยท Pro for scale

Mint a free read-only key instantly. Upgrade to Pro ($60/mo, pay by card or USDC on Solana) for higher limits and the full platform.