BitMEX
BitMEX historical market data details - available data, coverage and data collection specifics
BitMEX historical data for all its instruments is available since 2019-03-30 until 2026-09-22 00:00 UTC (exclusive).
Collection ended ahead of BitMEX's announced exchange closure, scheduled for 2026-09-23 at 04:00 UTC.
Downloadable CSV files
Historical CSV datasets for the first day of each month are available to download without a Data API key. See downloadable CSV files documentation.
API Access and data format
Historical data format is the same as provided by real-time BitMEX WebSocket API with addition of local timestamps. If you'd like to work with normalized data format instead (same format for each exchange) see downloadable CSV files or official client libs that can perform data normalization client-side.
See Python client docs.
See Node.js client docs.
See HTTP API docs.
Tardis-machine is a locally runnable server that exposes API allowing efficiently requesting historical market data for whole time periods in contrast to HTTP API that provides data only in minute by minute slices.
See tardis-machine docs.
Captured real-time channels
trade Public trade executions stream
orderBookL2 Order book snapshots and deltas by price level
quote Best bid and ask quote updates
liquidation Liquidation events stream
instrument Instrument state snapshots and deltas with bidPrice/askPrice/midPrice on 5s timer.
partialmessages returned via HTTP API may contain data for all BitMEX instruments and require filtering client-side if only selected symbols were requestedconnected Connection heartbeat and system status events
announcement Exchange announcements stream
chat Public chat messages stream
publicNotifications Public notification messages stream
settlement Contract settlement events stream
funding Funding rate updates stream
insurance Daily insurance fund balance updates
orderBookL2_25 Order book snapshots and deltas with up to 25 levels
orderBook10 — available since 2021-02-20 Top 10 level order book snapshots, throttled to 50ms since 2023-09-19
quoteBin1m Quote bins at 1 minute interval
quoteBin5m Quote bins at 5 minute interval
quoteBin1h Quote bins at 1 hour interval
quoteBin1d Quote bins at 1 day interval
tradeBin1m Trade bins at 1 minute interval
tradeBin5m Trade bins at 5 minute interval
tradeBin1h Trade bins at 1 hour interval
tradeBin1d Trade bins at 1 day interval
Market data collection details
Market data collection infrastructure for BitMEX was located in GCP asia-northeast1 region (Tokyo, Japan) from 2025-08-23. Before that it was located in GCP europe-west2 region (London, UK).
Real-time market data was captured via single WebSocket connection to wss://direct.bitmex.com:443/realtimePublic. Earlier endpoints:
wss://ws.bitmex.com/realtime(2021-10-19 – 2023-10-12)wss://www.bitmex.com/realtime(until 2021-10-19)
Last updated
Was this helpful?