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 "https://xessex.pro/market/data/quotations/coin?coin=btc" # Authenticated: log in and capture the JWT from data.Authorization TOKEN=$(curl -s -X POST https://xessex.pro/uc/v2/login \ -d "email=you@example.com&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 "https://xessex.pro/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" \ "https://xessex.pro/uc/asset/spot-wallets"
Market Data
Public endpoints for tickers, order books, trades, and klines. No authentication required.
GET
/market/data/quotations/homeGET
/market/data/quotations/coin?coin=btcGET
/market/data/quotations/sparklinesGET
/market/convert/price?fromUnit=BTC&toUnit=USDTSpot Trading
Authenticated endpoints for placing, cancelling, and listing spot orders.
POST
/tx/spot/addPOST
/tx/spot/cancelGET
/tx/spot/symbol-thumb-v2Futures Trading
Perpetual swap contract trading and position management.
POST
/tx/futures-order/openPOST
/tx/futures-order/closeGET
/tx/futures-order/listWallet / Account
Balances, deposits, withdrawals, and user profile. Requires Authorization header.
GET
/uc/asset/spot-walletsGET
/uc/asset/futures-walletsPOST
/uc/user-infoPOST
/uc/referral/countWebSocket API
Real-time streaming for market data, order updates, and account events.
WS
https://xessex.proSUB
depth.{symbol}SUB
trades.{symbol}SUB
ticker.{symbol}SUB
kline.{symbol}.{interval}API Key Management
Create, edit, and manage your API keys and permissions