Huobi Global

Huobi Global historical market data details - currency pairs, data coverage and data collection specifics

Huobi Global historical data for all it's currency pairs is available since 2019-11-19.

See Huobi Global historical data coverage: available symbols, channels, date ranges and incidents

Captured real-time channels

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

depth channel was collected with step0 aggregation level (no aggregation).

Huobi Global depth real-time WebSocket channel produces full order book snapshots for each book change which is very inefficient to store. To circumvent this issue we store only initial book snapshots and then incremental updates instead - incremental updates are calculated by diffing two subsequent book snapshots and provided in the same format as other depth messages, except having additional update: true flag set as in snippet below. Update with amount (second value in array) set to 0 means such level should be deleted, otherwise price level should be updated with new amount value.

"bids":[ [3.056E-05, 0] ],

API Access and data format

Historical data format is the same as provided by real-time Huobi Global 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.

cURL & tardis-machine
# pip install tardis-client
import asyncio
from tardis_client import TardisClient, Channel
tardis_client = TardisClient(api_key="<YOUR_API_KEY>")
async def replay():
# replay method returns Async Generator
messages = tardis_client.replay(
filters=[Channel(name="depth", symbols=["btcusdt"])]
# messages as provided by Huobi Global real-time stream
async for local_timestamp, message in messages:

See Python client docs.

// npm install tardis-dev
const { replay } = require('tardis-dev');
async function run() {
try {
const messages = replay({
exchange: 'huobi',
from: '2019-12-01',
to: '2019-12-02',
filters: [{ channel: 'depth', symbols: ['btcusdt'] }],
apiKey: '<YOUR_API_KEY>'
// messages as provided by Huobi Global real-time stream
for await (const { localTimestamp, message } of messages) {
console.log(localTimestamp, message);
} catch (e) {

See Node.js client docs.

curl -g '[{"channel":"depth","symbols":["btcusdt"]}]&offset=0'

See HTTP API docs.

cURL & tardis-machine
curl -g 'localhost:8000/replay?options={"exchange":"huobi","filters":[{"channel":"depth","symbols":["btcusdt"]}],"from":"2019-12-01","to":"2019-12-02"}'

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.

Downloadable CSV files

See CSV data exports.

Official Huobi Global API docs

Huobi Global WebSocket API docs

Huobi Global servers are located in AWS ap-northeast-1 region (Asia Pacific, Tokyo). All it's APIs are proxied through Cloudflare.