Skip to main content

Overview

Access real-time market data through WebSocket streams. All WebSocket connections require authentication using API key headers during the connection handshake.

Available streams

Level 1 Quotes

Best bid and ask prices and quantities in real-time

Trade Executions

Real-time trade data with volume statistics

Order Book Depth

Complete order book with multiple price levels

Ticker Data

Real-time ticker data and price statistics

Stream types overview

Quick subscribe

Multiple streams example

JavaScript implementation

Supported trading pairs

Message format

All market data messages follow a consistent structure:

Subscription management

Subscribe to streams

Unsubscribe from streams

Best practices

  • Subscribe only to data you actually need
  • Use batch subscriptions for multiple symbols
  • Unsubscribe from unused streams to reduce bandwidth
  • Validate symbol names before subscribing
  • Handle snapshot vs delta updates appropriately
  • Implement proper order book reconstruction for depth streams
  • Buffer high-frequency updates for UI rendering
  • Maintain local state for efficient processing
  • Process messages asynchronously
  • Use efficient data structures for order books
  • Implement proper memory management
  • Monitor bandwidth usage and adjust subscriptions

Error handling

Common market data stream errors and solutions:
Error: Subscription rejected due to invalid trading pairSolution: Verify symbol format matches supported trading pairs exactly
Error: Too many subscription requestsSolution: Batch multiple subscriptions into single request
Error: Message delivery interruptionSolution: Implement reconnection logic and state recovery

Next steps

Last modified on March 28, 2026