Markets API
The Markets API provides aggregated market data across supported exchanges, including:- Trading pairs available on each exchange (spot + perps)
- Current price and 24h change from CoinGecko (per quote currency)
- Per-pair 24h volume aggregated across listing exchanges via CCXT
fetch_tickers - Exchange capability information
Data Sources
volume_24h_usd on each symbol is the per-pair 24h volume, the sum of
quoteVolume from each listing exchange’s ticker for that exact pair,
converted to USD via FX rates anchored on BTC’s price. So BTC/USDT and
BTC/EUR have different volumes, reflecting their actual pair-level
liquidity rather than BTC’s total cross-pair volume.
Supported Exchanges
Authentication
All endpoints require authentication via an API key. Include theX-API-Key header in your requests:
Endpoints
List Symbols
Get aggregated symbols across exchanges with ticker data.string
default:"spot"
Market type: “spot” or “perp”
string
Comma-separated exchange filter (e.g., “binance,bybit”)
string
Filter by symbol substring (e.g., “BTC”)
string
Filter by quote currency (e.g., “USDT”)
string
default:"volume"
Sort order: “volume”, “change”, or “symbol”
number
default:"100"
Max results (1-500)
Get Symbol Detail
Get detailed info for a single symbol with exchange availability.string
required
Trading pair (e.g., “BTC/USDT” or “BTC-USDT”)
string
default:"spot"
Market type: “spot” or “perp”
List Exchanges
Get supported exchanges with their capabilities.Get Market Stats
Get statistics about loaded markets.Refresh Markets
Force refresh markets cache (admin only).string
Specific exchange to refresh (omit for all)
Error Responses
Unauthorized (401)
Forbidden (403)
Invalid Market Type
Symbol Not Found
Exchange Not Supported
Notes
- First Request: The first request may be slow as markets are loaded from all exchanges. Subsequent requests use cached data.
- CoinGecko Rate Limits: Free tier allows 10-30 calls/minute. Set
COINGECKO_API_KEYfor Pro tier with higher limits. - Symbol Format: Accepts both
/and-as separators (e.g., “BTC/USDT” or “BTC-USDT”). - Perp Symbols: Perpetual contracts are identified as “swap” type in CCXT.

