Api
API Documentation
REST + WebSocket reference
API Documentation
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
Quick Start
curl# Public: 24h ticker for a coin (no auth) curl "/market/data/quotations/coin?coin=btc" # Authenticated: log in and capture the JWT from data.Authorization TOKEN=$(curl -s -X POST /uc/v2/login \ -d "[email protected]&password=secret" \ | jq -r .data.Authorization) # Place a spot LIMIT buy — type=0 limit, type=1 market, direction=0 BUY, 1 SELL curl -X POST "/tx/spot/add" \ -H "Authorization: $TOKEN" \ -d "symbol=BTC/USDT&direction=0&type=0&price=74000&amount=0.001" # Spot wallet balances curl -H "Authorization: $TOKEN" \ "/uc/asset/spot-wallets" # With an API key instead of a login token, send X-API-KEY / X-API-TIMESTAMP / # X-API-SIGNATURE and sign the path WITHOUT /uc or /tx (/asset/spot-wallets). # Full signing reference + Postman script: /developers#signing
Market Data
Public endpoints for tickers, order books, trades, and klines. No authentication required.
GET
/market/data/quotations/homePublicGET
/market/data/quotations/coin?coin=btcPublicGET
/market/data/quotations/sparklinesPublicGET
/market/convert/price?fromUnit=BTC&toUnit=USDTPublicSpot Trading
Authenticated endpoints for placing, cancelling, and listing spot orders.
POST
/tx/spot/addAPI keyPOST
/tx/spot/cancelAPI keyGET
/tx/spot/symbol-thumb-v2PublicFutures Trading
Perpetual swap contract trading and position management.
POST
/tx/futures-order/openAPI keyPOST
/tx/futures-close/closeAPI keyGET
/tx/futures/current-entrustAPI keyGET
/tx/futures/historyAPI keyWallet / Account
Balances, deposits, withdrawals, and user profile. Requires Authorization header.
GET
/uc/asset/spot-walletsAPI keyGET
/uc/asset/futures-walletsAPI keyPOST
/uc/user-infoAPI keyPOST
/uc/referral/countAPI keyWebSocket API
Real-time streaming for market data, order updates, and account events.
WS
SUB
depth.{symbol}SUB
trades.{symbol}SUB
ticker.{symbol}SUB
kline.{symbol}.{interval}API Key Management
Create, edit, and manage your API keys and permissions