HTX

HTX WebSocket API

The HTX WebSocket API provides a two-way real-time channel for subscribing to market data (klines, market depth, trade detail, best bid/offer) and to authenticated account and order update topics. Public market data streams over wss://api.huobi.pro/ws and authenticated account/order streams over wss://api.huobi.pro/ws/v2, with heartbeat and rate-limit controls.

API entry from apis.yml

apis.yml Raw ↑
aid: htx:htx-websocket-api
name: HTX WebSocket API
humanURL: https://www.htx.com/en-us/opend/newApiPages/
baseURL: https://api.huobi.pro
tags:
- WebSocket
- Market Data
- Streaming
- Account
- Orders
properties:
- url: https://www.htx.com/en-us/opend/newApiPages/
  type: Documentation
- url: https://huobiapi.github.io/docs/spot/v1/en/
  type: APIReference
description: The HTX WebSocket API provides a two-way real-time channel for subscribing to market data
  (klines, market depth, trade detail, best bid/offer) and to authenticated account and order update topics.
  Public market data streams over wss://api.huobi.pro/ws and authenticated account/order streams over
  wss://api.huobi.pro/ws/v2, with heartbeat and rate-limit controls.