HTX Spot

HTX Spot historical market data details - currency pairs, data coverage and data collection specifics

HTX Spot historical data for high caps currency pairs is available since 2019-11-19, data for all currency pairs is available since 2022-06-09.

See HTX Spot historical data coverage: available symbols, channels, date ranges and incidents

Downloadable CSV files

Historical CSV datasets for the first day of each month are available to download without API key. See downloadable CSV files documentation.

data type
symbol
date

incremental_book_L2

BTCUSDT

2019-12-01

trades

BTCUSDT

2019-12-01

quotes

BTCUSDT

2019-12-01

API Access and data format

Historical data format is the same as provided by real-time HTX Spot 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 perform data normalization client-side.

Captured real-time channels

See HTX Spot WebSocket API docs providing documentation for each captured channel's format
circle-info

Click any channel below to see HTTP API response with historical data recorded for it.

  • tradearrow-up-right Trade executions stream

  • deptharrow-up-right — available until 2020-12-10 Legacy full depth snapshots stream replaced by mbp. Collected with step0 aggregation level. Publishes full order book snapshots which are stored as initial snapshot plus incremental updates (calculated by diffing subsequent snapshots, marked with "update": true flag).

  • mbparrow-up-right — available since 2020-07-03 Market by price incremental updates stream. Subscribed as mbp.150 (150-level) until 2021-08-26, after that as mbp.400 (400-level). MBP feed is based on snapshots at 100ms interval via /feed endpoint. Initial order book snapshot is fetched via "req" request on the same WebSocket connection. During data collection integrity of incremental updates is validated using sequence numbers (seqNum and prevSeqNum) — on sequence gap a new snapshot is requested automatically.

  • mbp.20arrow-up-right — available since 2022-05-27 Market by price 20-level incremental updates stream. Tick by tick feed via /feed endpoint. Only collected for select high-cap symbols. Initial order book snapshot is fetched via "req" request.

  • bboarrow-up-right Best bid and ask quote updates stream

  • detailarrow-up-right 24h market statistics stream

  • etparrow-up-right — available since 2020-08-17, available until 2022-11-22 Leveraged token NAV and premium updates stream

Market data collection details

Market data collection infrastructure for HTX Spot is located in GCP asia-northeast1 region (Tokyo, Japan).

Real-time market data is captured via multiple WebSocket connections to wss://api-aws.huobi.pro/ws.

circle-info

HTX servers are located in AWS ap-northeast-1 region (Tokyo, Japan).

Last updated