# HTX WebSocket API

**Canonical:** https://apis.io/apis/htx/htx-websocket-api/  
**Provider:** HTX — https://apis.io/providers/htx/  
**Base URL:** https://api.huobi.pro  
**Documentation:** https://www.htx.com/en-us/opend/newApiPages/

HTX WebSocket API is one of 2 APIs that [HTX](https://apis.io/providers/htx/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include WebSocket, Market Data, Streaming, Account, and Order. The published artifact set on APIs.io includes API documentation and an API reference.

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.

## Machine-readable artifacts (2)

- **Documentation** — https://www.htx.com/en-us/opend/newApiPages/
- **APIReference** — https://huobiapi.github.io/docs/spot/v1/en/

## Other HTX APIs (1)

- [HTX Spot REST API](https://apis.io/apis/htx/htx-spot-api/)

## Tags

WebSocket, Market Data, Streaming, Account, Order

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/htx/htx-websocket-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/htx/.
