Get Current Positions
Description
Query futures position list
HTTP Request
- GET
/api/v3/position/list - Supported Products:
linear - Rate Limit: 10 requests per second per UID
Request Parameters
| Field | Type | Required | Description |
|---|---|---|---|
category | string | Yes | Product type: linear |
symbol | string | No | Trading pair, in symbol value transmission scenario, data is returned even when position is empty, including specific leverage, position mode, and margin mode. |
limit | integer | No | Standardized pagination parameters (aligned with order request sequence number) - number of items per page (default 20, maximum 100) |
cursor | string | No | Pagination token (pass empty on the first query) |
Response Parameters
| Field | Type | Description |
|---|---|---|
category | string | linear |
symbol | string | contract/trading pair name (e.g., BTCUSDT, ETHUSDT) |
side | string | position direction: LONG = long, SHORT = short |
isAvailable | boolean | availability status: true = normally held, false = frozen/liquidated |
leverage | string | Leverage multiplier. |
accountMode | string | account mode: CROSS = cross margin, ISOLATED = isolated margin |
qty | string | Position size (e.g., 1.5 represents 1.5 BTC) |
positionStatus | string | Position status: normal = normally held, inactive = unavailable (e.g., during liquidation). |
adlRankIndicator | integer | ADL ranking identifier (auto-reduction ranking, 0-5 levels, level 5 is highest risk and prioritized for reduction) |
mmRate | string | Maintenance margin ratio (MMR), stored as 1e4 times (e.g., 100 represents 1%), restored by dividing by 1e4 upon reading |
updatedTime | Long | Update timestamp (in milliseconds, UTC+8, updated upon position status change) |
positionBalance | string | isolated margin balance |
tpslMode | string | TP/SL Mode: FULL = Take-Profit and Stop-Loss mode, PARTIAL = Partial Take-Profit and Stop-Loss mode |
tpTriggerBy | string | Take-profit trigger sources: MARK_PRICE = mark price, INDEX_PRICE = index price, LAST_PRICE = last trade price |
slTriggerBy | string | Stop-loss trigger source: MARK_PRICE = mark price, INDEX_PRICE = index price, LAST_PRICE = latest trade price |
takeProfit | string | Take-profit price (triggered take-profit liquidation when reached) |
stopLoss | string | Stop-loss price (triggered stop-loss liquidation when reached) |
tpOrderNum | string | Take-profit order quantity (number of take-profit liquidation orders placed) |
slOrderNum | string | Stop-loss order quantity (number of stop-loss liquidation orders placed) |
markPrice | string | mark price. Data may have latency. It is recommended to use market data from the market data interface |
liquidationPrice | string | Liquidation price (the system will forcibly liquidate when this price is reached. Only effective for isolated margin). |
entryPrice | string | Entry price |
value | string | Position value |
reduceOnly | boolean | reduce-only: true = only close position, false = can open/close |
positionIm | string | initial margin for position (IM, margin frozen upon opening) |
positionMm | string | maintenance margin for position (MM, minimum margin required to hold position) |
positionUpl | string | Unrealized profit and loss (UPL, floating profit/loss of open positions) |
positionRpl | string | realized PnL for position (RPL, profit/loss confirmed upon closing) |
baseCoin | string | Base asset (e.g. BTC, ETH, the underlying asset of the position) |
positionMode | integer | Position mode: 0 = single position, 3 = both-side position |
Request Example
GET /api/v3/position/list?category=linear&symbol=BTCUSDT HTTP/1.1
Host: openapi.lbank.com
ex-api-key: <your_api_key>
ex-timestamp: <current_unix_timestamp_ns>
ex-nonce: <unique_random_hex>
ex-signature: <your_signature>
ex-client-type: API
Response Example
HTTP/1.1 200 OK
Content-Type: application/json
{
"code": 200,
"message": "Success",
"data": {
"perpetualPositions": [
{
"category": "linear",
"symbol": "BTCUSDT",
"side": "LONG",
"isAvailable": true,
"leverage": "10",
"accountMode": "CROSS",
"qty": "0.1",
"positionStatus": "NORMAL",
"adlRankIndicator": 1,
"mmRate": "100",
"updatedTime": 1793160000000,
"positionBalance": "0",
"tpslMode": "FULL",
"tpTriggerBy": "",
"slTriggerBy": "",
"takeProfit": "0",
"stopLoss": "0",
"tpOrderNum": "0",
"slOrderNum": "0",
"markPrice": "66000",
"liquidationPrice": "60000",
"entryPrice": "65000",
"value": "6600",
"reduceOnly": false,
"positionIm": "660",
"positionMm": "66",
"positionUpl": "100",
"positionRpl": "0",
"baseCoin": "BTC",
"positionMode": 3
}
],
"sumCount": 1,
"cursor": ""
},
"extras": null
}