Skip to main content

Overview

Public market data available to all users:
  • Best Bid/Offer (BBO) - Current best prices
  • L2 Order Book - Full depth of market
Private trade data (requires account access):
  • Trades - Executed transactions for your account

Required Scopes

REST API Endpoints

Get Best Bid/Offer

Retrieve the current best bid and offer for a symbol:
Response:

Get L2 Order Book

Retrieve the full order book depth:
Response:
For OHLC/candlestick data generation, see the Candlestick Data Guide.

Streaming Market Data (gRPC)

For real-time updates, use the gRPC Market Data Stream.

Subscribe to Market Data

Best Practices

Rate Limits

  • REST endpoints are subject to rate limits
  • Use streaming (gRPC) for real-time data to reduce API calls
  • Cache reference data locally

Connection Management

  • Implement reconnection logic for streaming connections
  • Handle network interruptions gracefully
  • Use heartbeats to detect connection issues

Data Handling

  • Validate timestamps to detect stale data
  • Handle gaps in sequence numbers appropriately
  • Store historical data locally for analysis