REST API
Get open positions
Authorization
bearerAuth AuthorizationBearer <token>
API key passed as Bearer token in Authorization header
In: header
Query Parameters
exchange*string
Value in
"binance" | "bybit" | "okx" | "kucoin" | "gate" | "htx" | "bitget" | "bingx" | "bitmart" | "bitmex" | "coinex" | "hyperliquid"marketType*string
Value in
"spot" | "futures" | "coinm-futures"Response Body
application/json
curl -X GET "https://loading/api/v1/trading/positions?exchange=binance&marketType=spot"{
"success": true,
"data": {
"positions": [
{
"symbol": "string",
"side": "LONG",
"positionAmt": 0,
"entryPrice": 0,
"markPrice": 0,
"unrealizedPnl": 0,
"liquidationPrice": 0,
"leverage": 0,
"marginType": "cross",
"isolatedMargin": 0,
"notional": 0
}
],
"total": 0
},
"meta": {
"timestamp": 0,
"remaining": 0
}
}