Inspect open positions
Read a 20-contract ETH position opened at 2,440 and marked at 2,450 in this illustrative snapshot.
Endpoint & access
GET
/api/v1/usdt/position_listWhitelist Required
Request whitelist approval for your API key. This endpoint is available only after approval.
Rate limit
- 2 requests / 1 second
Query parameters
| Field | Data type | Required | Meaning |
|---|---|---|---|
| instrument_id | string | NO | Contract abbreviation, such as BTC or ETH. Omit to include all contracts. The value ALL also includes all contracts. |
Returned fields
| Field | Data type | Meaning |
|---|---|---|
| available_quantity | string | Quantity that can be closed |
| average_price | string | Average opening price |
| create_time | string | Position creation time |
| deleverage_percentile | string | Lighten up the queue, the larger the value, the higher the ranking |
| leverage | string | leverage |
| liquidation_price | string | Liquidation price |
| mark_price | string | mark price |
| postion_margin | string | Position Margin |
| position_value | string | The BTC value of the position |
| quantity | string | The number of open positions in the contract |
| realised_pnl | string | Realized profit and loss |
| roe | string | response rate |
| side | string | direction |
| contract_code | string | Contract name, such as ETH-SWAP |
| unrealised_pnl | string | unrealized profit and loss |
| margin_mode | string | Margin mode: fixed (isolated) or crossed (full position). |
| separated_position_id | string | If the "trader mode" is on, this field will be specified |
Example request
Example result
{
"code": 200,
"message": null,
"data": [
{
"available_quantity": "20",
"average_price": "2440",
"create_time": 1795158000000,
"deleverage_percentile": "0",
"leverage": "5",
"liquidation_price": "0.0",
"mark_price": "2450",
"position_margin": "97.60",
"position_value": "490.00",
"quantity": "20",
"realised_pnl": "-0.2928",
"roe": "0.0204918",
"side": "long",
"contract_code": "ETH-SWAP",
"unrealised_pnl": "2.00",
"position_id": "640201",
"margin_mode": "crossed",
"separated_position_id": "0"
}
]
}