Crypto Market Data API

TickDB delivers live quotes, order books, trades and historical bars via REST and WebSocket, primarily for USDT pairs, with USDC, BTC and other pairs also available.

Market Coverage

Exchange / Category Symbols Data Capabilities Frequency
USDT Pairs 490
  • Quotes
  • Candlesticks
  • Order book
  • Trades

REST queries and WebSocket quotes, order book and trades; depth levels and update cadence depend on the pair.

24/7, channel-dependent updates
USDC Pairs 273
  • Quotes
  • Candlesticks
  • Order book
  • Trades

REST queries and WebSocket quotes, order book and trades; depth levels and update cadence depend on the pair.

24/7, channel-dependent updates
BTC Pairs 41
  • Quotes
  • Candlesticks
  • Order book
  • Trades

REST queries and WebSocket quotes, order book and trades; depth levels and update cadence depend on the pair.

24/7, channel-dependent updates
Other Pairs 21
  • Quotes
  • Candlesticks
  • Order book
  • Trades

REST queries and WebSocket quotes, order book and trades; depth levels and update cadence depend on the pair.

24/7, channel-dependent updates

Candlesticks are queried via REST; live subscriptions use supported channels. Endpoints, fields and historical coverage depend on the instrument, plan permissions and available data. Instrument counts do not imply full capability coverage for every instrument.

Cryptocurrency prices, order books and historical bars

How do I query a cryptocurrency trading pair?

Find pairs with market=GLOBAL&type=crypto and read symbol and currency. BTCUSDT and ETHUSDT are documented examples. A request targets a specific trading pair, not a currency-independent coin price.

When should I use quotes, depth, trades or bars?

Use ticker for snapshots, depth for bids and asks, trade for executions and bars for periodic charts. REST depth supports up to 1,000 levels per side, depending on the product and available quotes; this is not a fixed depth guarantee for every WebSocket stream.

How do I query historical bars?

Bars support 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 1d, 1w and 1M: lowercase m means minutes, uppercase M means months. start_time/end_time use milliseconds; the default is 100 bars, capped at 1,000. The last bar may still be forming. Historical access depends on entitlements and availability.

Code Examples

REST queries

Use documented symbols as examples; confirm current availability and account permissions in the catalog. Replace YOUR_API_KEY locally; never publish a real key in browser code.

Find symbols
curl --fail-with-body -H "X-API-Key: YOUR_API_KEY" \
  "https://api.tickdb.ai/v1/symbols/available?market=GLOBAL&type=crypto&limit=100&offset=0"
Quote snapshot
curl --fail-with-body -H "X-API-Key: YOUR_API_KEY" \
  "https://api.tickdb.ai/v1/market/ticker?symbols=BTCUSDT&type=crypto"
Daily bars
curl --fail-with-body -H "X-API-Key: YOUR_API_KEY" \
  "https://api.tickdb.ai/v1/market/kline?symbol=BTCUSDT&type=crypto&interval=1d&limit=100"
Order book (paid entitlement)
curl --fail-with-body -H "X-API-Key: YOUR_API_KEY" \
  "https://api.tickdb.ai/v1/market/depth?symbol=BTCUSDT&type=crypto"

Free is a 7-day trial for selected instruments, with quotes and permitted bar queries. It does not allow start_time/end_time historical ranges. Depth, trades and specified historical ranges require the appropriate entitlements; check the current plan for symbols and quotas.

Quick Start

# pip install websocket-client
import websocket
import json

api_key = 'your_api_key_here'
ws_url = f'wss://api.tickdb.ai/v1/realtime?api_key={api_key}'

def on_open(ws):
    ws.send(json.dumps({
        'cmd': 'subscribe',
        'data': {
            'channel': 'ticker',
            'symbols': ['BTCUSDT', 'ETHUSDT', 'SOLUSDT']
        }
    }))

def on_message(ws, message):
    data = json.loads(message)
    print('Received:', data)

ws = websocket.WebSocketApp(ws_url, on_open=on_open, on_message=on_message)
ws.run_forever()

Full documentation available at API Documentation

Choosing a crypto market data API

Exchange-native books, aggregated prices and cross-asset APIs serve different needs. Decide whether you need trade detail or asset metadata and market overviews.

Provider Live data / DepthScope / DataAccess / Cost modelBest fit
TickDB Cross-asset market data API
WebSocket quotes, depth and trades; REST candle queries. Levels and cadence vary by pair.
Crypto alongside stocks, forex, futures and indices.
API key, no trading account; REST / WebSocket / Skill / MCP / CLI. Free trial; plan-based access.
Cross-asset strategies, unified terminals and AI agents.
Binance API Exchange-native API
Trades, aggTrade, ticker and depth-diff streams.
Single-venue data; combine REST snapshots with incremental streams to build books.
Public market data endpoints; trading permissions are separate.
Venue-native order books and trading bots.
CoinGecko API Aggregated and on-chain data
REST, WebSocket and webhooks; product-based channels and access.
Coins, exchanges and on-chain data, plus MCP / Skill / CLI.
Demo and paid plans with product-specific limits.
Asset discovery, DeFi analysis and market overviews.
CoinMarketCap API Asset rankings and reference data
Quote, ranking and market-statistics APIs; cadence varies by endpoint.
Asset metadata, exchanges, history and market statistics.
API key; free and paid plan entitlements.
Asset profiles, rankings and market information products.

Use Cases

Crypto Quant Trading

Concurrent multi-pair subscriptions powering high-frequency strategies and grid trading with real-time data.

Trading Terminal

Unified API for crypto and traditional financial market data to build an all-asset-class market dashboard.

Whale Alert & Anomaly Detection

Detect large trades from tick-by-tick data and monitor liquidity changes using depth data.

Choose Your Plan

All paid plans support monthly / quarterly / semi-annual / annual billing. Prices below are annual (20% off)

Free is a 7-day trial for selected instruments, with quotes and permitted bar queries. It does not allow start_time/end_time historical ranges. Depth, trades and specified historical ranges require the appropriate entitlements; check the current plan for symbols and quotas.

🔥 Save 20% Annually

Free

Free 7-Day Trial

 

  • Selected symbols*
  • 5 concurrent subscriptions
  • Real-time quotes
  • Real-time K-line
  • 1 WebSocket connection
  • 30 req/min API calls
  • Email support
Start Free
-20%

Starter

$99/mo
$79 /mo

Billed annually $950

  • All symbols
  • 50 full-market subscriptions
  • Real-time quotes
  • Real-time K-line
  • Real-time order book
  • Real-time trades
  • 1 year historical data
  • 1 WebSocket connection
  • 60 req/min API calls
  • Basic financial data
  • Email support
Subscribe Now
-20%
Most Popular

Professional

$299/mo
$239 /mo

Billed annually $2870

  • All symbols
  • 300 full-market subscriptions
  • Real-time quotes
  • Real-time K-line
  • Real-time order book
  • Real-time trades
  • 3 years historical data
  • 3 WebSocket connections
  • 600 req/min API calls
  • Professional financial data
  • News data
  • Telegram support
Subscribe Now
-20%

Enterprise

$899/mo
$719 /mo

Billed annually $8630

  • All symbols
  • Full-market queries and subscriptions
  • Additional 5000 full-market subscriptions
  • Real-time quotes
  • Real-time K-line
  • Real-time order book
  • Real-time trades
  • 10 years historical data
  • 10 WebSocket connections
  • 1800 req/min API calls
  • Professional financial data
  • News data
  • Telegram support
Subscribe Now

FAQ

Does cryptocurrency trade on weekends and holidays?

Cryptocurrency has no universal opening and closing schedule across all venues and trading pairs. Weekend and holiday trading, maintenance, suspensions and delistings follow the relevant venue and pair announcements. TickDB updates depend on pair coverage, upstream data and connection status; updates are not guaranteed for every pair at every moment.

What cryptocurrencies does TickDB cover?

Over 50 major coins including BTC and ETH, plus 825 trading pairs.

How does TickDB differ from Binance API?

Consider Binance for venue-native trading data and CoinGecko / CoinMarketCap for asset discovery and rankings. TickDB combines crypto depth and trades with stocks, forex and indices in one application.

Is depth (order book) data supported?

Yes. Depth levels and update cadence depend on the pair and plan. Binance REST order-book snapshots and WebSocket incremental streams are different interfaces; a snapshot limit is not the streaming depth.

How do I query a cryptocurrency trading pair?

Find pairs with market=GLOBAL&type=crypto and read symbol and currency. BTCUSDT and ETHUSDT are documented examples. A request targets a specific trading pair, not a currency-independent coin price.

When should I use quotes, depth, trades or bars?

Use ticker for snapshots, depth for bids and asks, trade for executions and bars for periodic charts. REST depth supports up to 1,000 levels per side, depending on the product and available quotes; this is not a fixed depth guarantee for every WebSocket stream.

How do I query historical bars?

Bars support 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 1d, 1w and 1M: lowercase m means minutes, uppercase M means months. start_time/end_time use milliseconds; the default is 100 bars, capped at 1,000. The last bar may still be forming. Historical access depends on entitlements and availability.

What data is included in the free trial?

Free is a 7-day trial for selected instruments, with quotes and permitted bar queries. It does not allow start_time/end_time historical ranges. Depth, trades and specified historical ranges require the appropriate entitlements; check the current plan for symbols and quotas.

Start Streaming Real-time Market Data

Sign up for a free API Key. WebSocket real-time streaming. Get started in minutes.