Skip to main content

Get Single Position

Rate limit: 10 requests/sec/UID

Description

Returns position information of a single symbol, response including estimated liquidation price.

HTTP Request

  • GET /api/v2/mix/position/single-position
Request Example
curl "https://api.bitget.com/api/v2/mix/position/single-position?symbol=BTCUSDT&productType=USDT-FUTURES&marginCoin=USDT" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json"

Request Parameters

ParameterTypeRequiredDescription
productTypeStringYesProduct type
USDT-FUTURES USDT-M Futures
COIN-FUTURES Coin-M Futures
USDC-FUTURES USDC-M Futures
symbolStringYesTrading pair, e.g. BTCUSDT
marginCoinStringYesMargin coin, capitalized, e.g. USDT
Response Example
{
"code": "00000",
"msg": "success",
"requestTime": 1768195413808,
"data": [
{
"marginCoin": "USDT",
"symbol": "BTCUSDT",
"holdSide": "short",
"openDelegateSize": "0",
"marginSize": "32.9182142857142858",
"available": "0.005",
"locked": "0",
"total": "0.005",
"leverage": "14",
"achievedProfits": "-48.1989666666666705",
"openPriceAvg": "88505.233333333333",
"marginMode": "crossed",
"posMode": "hedge_mode",
"unrealizedPL": "-18.328833333333335",
"liquidationPrice": "17288450.450983311758416",
"keepMarginRate": "0.004",
"markPrice": "92171",
"marginRatio": "0.0030244464835655",
"breakEvenPrice": "67274.9159193683778732",
"totalFee": "-56.2349883554",
"deductedFee": "1.5158073",
"grant": "",
"assetMode": "union",
"autoMargin": "off",
"takeProfit": null,
"stopLoss": null,
"takeProfitId": null,
"stopLossId": null,
"cTime": "1766103799183",
"uTime": "1768194000530"
}
]
}

Response Parameters

ParameterTypeDescription
>symbolStringTrading pair name
>marginCoinStringMargin coin
>holdSideStringPosition direction
long: long position
short: short position
>openDelegateSizeStringAmount to be filled of the current order (base coin)
>marginSizeStringMargin amount (margin coin)
>availableStringAvailable amount for positions (base currency)
>lockedStringFrozen amount in the position (base currency)
>totalStringTotal amount of all positions (available amount + locked amount)
>leverageStringLeverage
>achievedProfitsStringRealized PnL(exclude funding fee and transaction fee)
>openPriceAvgStringAverage entry price
>marginModeStringMargin mode
isolated: isolated margin
crossed: cross margin
>posModeStringPosition mode
one_way_mode: positions in one-way mode
hedge_mode: positions in hedge-mode
>unrealizedPLStringUnrealized PnL
>liquidationPriceStringEstimated liquidation price
If the value <= 0, it means the position is at low risk and there is no liquidation price at this time
>keepMarginRateStringTiered maintenance margin rate
>markPriceStringMark price
>marginRatioStringMaintenance margin rate (MMR), 0.1 represents 10%
>breakEvenPriceStringPosition breakeven price
>totalFeeStringFunding fee, the accumulated value of funding fee during the position,The initial value is empty, indicating that no funding fee has been charged yet.
>deductedFeeStringDeducted transaction fees: transaction fees deducted during the position
>cTimeStringCreation time, timestamp, milliseconds
>assetModeStringsingle : single asset mode
union multi-Assets mode
>uTimeStringLast updated time, timestamp, milliseconds
>autoMarginStringAuto Margin
on Auto Margin Call
off No Auto Margin Call
>grantStringFutures Airdrop Voucher Amount
>takeProfitStringTake profit price
>stopLossStringStop loss price
>takeProfitIdStringTake profit order ID
>stopLossIdStringStop loss order ID

How was your Reading Experience with us?