API Documentation
REST + WebSocket reference
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.
/market/data/quotations/homePublic/market/data/quotations/coin?coin=btcPublic/market/data/quotations/sparklinesPublic/market/convert/price?fromUnit=BTC&toUnit=USDTPublicSpot Trading
Authenticated endpoints for placing, cancelling, and listing spot orders.
/tx/spot/addAPI key/tx/spot/cancelAPI key/tx/spot/symbol-thumb-v2PublicFutures Trading
Perpetual swap contract trading and position management.
/tx/futures-order/openAPI key/tx/futures-close/closeAPI key/tx/futures/current-entrustAPI key/tx/futures/historyAPI keyWallet / Account
Balances, deposits, withdrawals, and user profile. Requires Authorization header.
"Login session only" endpoints refuse API-key requests; call them with the token from a login.
/uc/asset/spot-walletsAPI key/uc/asset/futures-walletsAPI key/uc/user-infoLogin session only/uc/referral/countLogin session onlyWebSocket API
Real-time streaming for market data, order updates, and account events.
depth.{symbol}trades.{symbol}ticker.{symbol}kline.{symbol}.{interval}API Key Management
Create, edit, and manage your API keys and permissions