Skip to main content
Xessex
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

4

Public endpoints for tickers, order books, trades, and klines. No authentication required.

GET/market/data/quotations/home
GET/market/data/quotations/coin?coin=btc
GET/market/data/quotations/sparklines
GET/market/convert/price?fromUnit=BTC&toUnit=USDT

Spot Trading

3

Authenticated endpoints for placing, cancelling, and listing spot orders.

POST/tx/spot/add
POST/tx/spot/cancel
GET/tx/spot/symbol-thumb-v2

Futures Trading

3

Perpetual swap contract trading and position management.

POST/tx/futures-order/open
POST/tx/futures-order/close
GET/tx/futures-order/list

Wallet / Account

4

Balances, deposits, withdrawals, and user profile. Requires Authorization header.

GET/uc/asset/spot-wallets
GET/uc/asset/futures-wallets
POST/uc/user-info
POST/uc/referral/count

WebSocket API

5

Real-time streaming for market data, order updates, and account events.

WShttps://xessex.pro
SUBdepth.{symbol}
SUBtrades.{symbol}
SUBticker.{symbol}
SUBkline.{symbol}.{interval}

API Key Management

Create, edit, and manage your API keys and permissions