# HTX trading API (slim)

> HTX, the exchange formerly Huobi, runs REST and WebSocket APIs for spot and derivatives trading, balances, transfers and withdrawals, authenticated with HMAC-signed API keys that carry read, trade and withdraw permissions.

- Full: https://www.anchorterminal.com/tools/htx.md (~7,900 tokens) · this version ~1,780 tokens · JSON https://www.anchorterminal.com/tools/htx.json · canonical https://www.anchorterminal.com/tools/htx
- Index: https://www.anchorterminal.com/llms.txt · API: https://www.anchorterminal.com/api/v1/index.json · MCP: https://www.anchorterminal.com/mcp · Updated: 2026-11-04 · pricing https://www.anchorterminal.com/tools/htx#pricing · reviews https://www.anchorterminal.com/tools/htx#reviews
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)

**E · 43.3/100 · rank #1166 of 1349 · #21 in Crypto exchanges · not agent-ready · confidence low**


Assessment: HTX's API has per-endpoint rate limits, read, trade and withdraw key permissions with IP binding, and SDKs in five languages. No official MCP server exists, the testnet is closed, the public reference is still Huobi's with a 2022 changelog, and the fee schedule, terms and restricted countries are on script-drawn pages we couldn't read.

## Facts

- Kind: HTTP API · vendor: HTX · category: Crypto exchanges · legal entity: not named · provenance 34/100
- Auth: API key · pricing: Pay per use · x402: no · licence: unknown
- Probe metrics: not measured yet (probes haven't run)
- Surface listed: The spot and USDT-margined swap REST and WebSocket APIs at api.huobi.pro, read from huobiapi.github.io, the huobiapi and HuobiRDCenter GitHub accounts and the MCP registry on 3 November 2026. No account was made and no private endpoint was called
- MCP server: None found. Looked in the API docs, the huobiapi GitHub account, the HuobiRDCenter organisation and the official MCP registry, where the only entry is a third party's io.github.mrfentmen/htx-mcp (stdio, npm htx-mcp, version 1.0.0 of 21 September 2026), not HTX's
- Key permissions: Read, Trade and Withdraw on a main account key; Read and Trade on a sub-user key. Up to 20 bound IP addresses per key; a key without IP binding expires after 90 days per the docs (the 14 June 2022 changelog says trade and withdraw keys are deactivated after 90 days without use). Withdrawal address allow-lists unchecked
- Rate limits: Per UID and per endpoint. Place order 100 per 2 seconds, batch orders 50 per 2 seconds, cancel 100 per 2 seconds, batch cancel 50 per 2 seconds, conditional orders 20 per 2 seconds, account reads 100 per 2 seconds, deposit and withdrawal calls 20 per 2 seconds, spot and futures transfer 10 per minute. Headers X-HB-RateLimit-Requests-Remain and X-HB-RateLimit-Requests-Expire. No 429 or Retry-After documented
- Testnet: Closed. The docs say the testnet environment was shut down and point to the live environment
- Countries: Unchecked. The user agreement's restricted-jurisdictions list is on a script-drawn page that answered no text. Press reports of October 2026 say Russia was added; third-party guides also name the United States, the United Kingdom and others, none confirmed first-hand
- Fees: Unchecked. htx.com/fee answered no text. Third-party guides give 0.2 per cent maker and taker at the base tier
- FIX and WebSocket: WebSocket at wss://api.huobi.pro/ws (market), /feed (incremental book) and /ws/v2 (account and orders), with api-aws.huobi.pro twins. A huobiapi/huobi_fix repository exists but its README answered 404, so FIX access is unchecked
- Terms on automation: Unchecked. The HTX Platform User Agreement (htx.com/en-in/support/360000298561/) answered no text
- SDKs: huobi_Python (684 stars), huobi_Java, huobi_Cpp, huobi_CSharp and huobi_Golang for spot, and python, java, csharp and golang contract SDKs, under HuobiRDCenter
- Legal entity: Unknown. The user agreement couldn't be read. HTX has said in press coverage that Huobi Global S.A. is distinct from the exchange, which is a lead and not a source

- Scores: Reliability 38, Performance pending, Schema & documentation 40, Agent ergonomics 69, Security & auth 51, Payments & pricing 15, Task success pending, Maintenance & community 57, Transparency & trust 25 · total over the 7 assessed categories
- Why: Reliability, Read with the hosted lines. · Schema & documentation, No OpenAPI or other machine-readable contract found in the docs or the GitHub accounts (0). · Agent ergonomics, Graded on the REST API. · Security & auth, HMAC-signed keys with Read, Trade and Withdraw permissions, sub-user keys without Withdraw, up to 20 bound IPs, revocation in the account an… · Payments & pricing, No machine payment protocol (0). · Maintenance & community, Read as a closed service. · Transparency & trust, The editorial half.
- Sources: 12, open questions: 8, both in the full twin
- Capabilities: exchange.market-data, exchange.spot-trading, exchange.derivatives, exchange.balances, exchange.transfers, market.crypto
- JSON: https://www.anchorterminal.com/api/v1/tools/htx.json
- Verify (for the vendor): the badge `https://www.anchorterminal.com/badges/htx.svg` or a link to https://www.anchorterminal.com/tools/htx from a page on htx.com or one of its subdomains, then `POST https://www.anchorterminal.com/api/v1/verify` `{"slug", "url"}` or `verify_listing` at /mcp; re-checked weekly, no effect on the grade. Snippets in the full twin.
- Support: https://huobiapi.github.io/docs/spot/v1/en/; more in the full twin

## Before you call it

1. Ask the operator for a key with Read and Trade only and bound to your IP addresses; a key without IP binding expires after 90 days
2. Send a fresh client-order-id of up to 64 characters with every order and reuse it only on retry; a repeat within 8 hours answers invalid.client.order.id
3. Watch X-HB-RateLimit-Requests-Remain and pace at under 100 order calls per 2 seconds per UID; limits are shared by every key on the account
4. There is no testnet; try order logic with the smallest size the market allows
5. Confirm the person's country is served before trading; the restricted list in the user agreement couldn't be read here

## Connect

```bash
curl https://api.huobi.pro/market/tickers
```
Full config and headless snippets are in the full page. Through letme (picks today, calling later): https://letme.dev/htx

## Similar tools

| Tool | Grade | Score | Shared capabilities | Slim |
| --- | --- | --- | --- | --- |
| Gemini Exchange API | BB | 74.6 | exchange.market-data, exchange.spot-trading, exchange.derivatives, exchange.balances, exchange.transfers, market.crypto | https://www.anchorterminal.com/tools/gemini-exchange.min.md |
| Kraken API | BB | 71 | exchange.spot-trading, exchange.market-data, exchange.derivatives, exchange.balances, exchange.transfers, market.crypto | https://www.anchorterminal.com/tools/kraken.min.md |
| OKX API | B | 64.3 | exchange.spot-trading, exchange.market-data, exchange.derivatives, exchange.balances, exchange.transfers, market.crypto | https://www.anchorterminal.com/tools/okx.min.md |
| Binance API | B | 63.2 | exchange.spot-trading, exchange.market-data, exchange.derivatives, exchange.balances, exchange.transfers, market.crypto | https://www.anchorterminal.com/tools/binance.min.md |
| Coinbase Advanced Trade API | C | 61.7 | exchange.spot-trading, exchange.market-data, exchange.derivatives, exchange.balances, exchange.transfers, market.crypto | https://www.anchorterminal.com/tools/coinbase-advanced-trade.min.md |


## Panel reviews (0, desk reviews from public material, no calls made)

