OVERVIEW
GENERAL CONCEPTS
REFERENCE
Powered by TradeLayer
API REFERENCE
Public Market Data
Public Market Data
These endpoints do not require authentication.
Get Server Time
GET /time
1{
2 "success": true,
3 "data": {
4 "server_time": 1700483073000
5 }
6}List Markets
GET /markets
Returns all supported perpetual markets (e.g. BTCUSDT).
1{
2 "success": true,
3 "data": [
4 {
5 "symbol": "BTCUSDT",
6 "base_asset": "BTC",
7 "quote_asset": "USDT",
8 "price_precision": 1,
9 "quantity_precision": 3,
10 "min_order_size": "0.001",
11 "max_leverage": 1000,
12 "tick_size": "0.5",
13 "contract_type": "PERPETUAL",
14 "status": "TRADING"
15 }
16 ]
17}Ticker (24h)
GET /ticker?symbol=BTCUSDT
1{
2 "success": true,
3 "data": {
4 "symbol": "BTCUSDT",
5 "last_price": "92750.5",
6 "index_price": "92748.3",
7 "mark_price": "92749.0",
8 "price_change_24h": "5.2",
9 "price_change_percent_24h": "5.94",
10 "high_24h": "93200.0",
11 "low_24h": "87000.0",
12 "volume_24h": "15421.312",
13 "funding_rate": "0.000125",
14 "next_funding_time": 1700490000000
15 }
16}Order Book
GET /orderbook?symbol=BTCUSDT&depth=50
1{
2 "success": true,
3 "data": {
4 "symbol": "BTCUSDT",
5 "bids": [
6 ["92749.0", "1.253"],
7 ["92748.5", "0.352"]
8 ],
9 "asks": [
10 ["92750.0", "0.842"],
11 ["92751.0", "0.412"]
12 ],
13 "timestamp": 1700483073500
14 }
15}Recent Trades
GET /trades?symbol=BTCUSDT&limit=100
1{
2 "success": true,
3 "data": [
4 {
5 "trade_id": "19827391",
6 "price": "92750.0",
7 "size": "0.012",
8 "side": "BUY",
9 "timestamp": 1700483073200
10 }
11 ]
12}