API Documentation
Build trading applications with our REST & WebSocket APIs
Low Latency
Sub-millisecond order execution via co-located servers
Secure
HMAC-SHA256 signed requests, IP whitelisting, permission scoping
Rate Limits
1200 requests/min for REST, unlimited WebSocket subscriptions
SDKs
Official libraries for Python, Node.js, Java, and Go
API Key Management
Create, edit, and manage your API keys and permissions
REST API
Full-featured RESTful API for trading, market data, and account management.
GET
/api/v1/market/tickerGET
/api/v1/market/depthGET
/api/v1/market/tradesGET
/api/v1/market/klinesPOST
/api/v1/order/createPOST
/api/v1/order/cancelGET
/api/v1/account/balanceWebSocket API
Real-time streaming for market data, order updates, and account events.
WS
wss://stream.hccoin.comSUB
depth.{symbol}SUB
trades.{symbol}SUB
ticker.{symbol}SUB
kline.{symbol}.{interval}Quick Start
# Get market ticker curl -X GET "https://api.hccoin.com/v1/market/ticker?symbol=BTCUSDT" # Place a limit buy order (requires API key) curl -X POST "https://api.hccoin.com/v1/order/create" \ -H "X-API-KEY: your_api_key" \ -H "X-SIGNATURE: hmac_sha256_signature" \ -d "symbol=BTC/USDT&side=buy&type=limit&price=65000&amount=0.01"