curl --location --request GET 'https://api.kucoin.com/api/v1/position?symbol'//ISOLATED MARGIN
{
"code": "200000",
"data": {
"id": "500000000000988255",
"symbol": "XBTUSDTM",
"autoDeposit": false,
"crossMode": false,
"maintMarginReq": 0.005,
"riskLimit": 500000,
"realLeverage": 2.88,
"delevPercentage": 0.18,
"openingTimestamp": 1729155616322,
"currentTimestamp": 1729482542135,
"currentQty": 1,
"currentCost": 67.4309,
"currentComm": 0.01925174,
"unrealisedCost": 67.4309,
"realisedGrossCost": 0.0,
"realisedCost": 0.01925174,
"isOpen": true,
"markPrice": 68900.7,
"markValue": 68.9007,
"posCost": 67.4309,
"posCross": 0.01645214,
"posCrossMargin": 0,
"posInit": 22.4769666644,
"posComm": 0.0539546299,
"posCommCommon": 0.0539447199,
"posLoss": 0.03766885,
"posMargin": 22.5097045843,
"posFunding": -0.0212068,
"posMaint": 0.3931320569,
"maintMargin": 23.9795045843,
"realisedGrossPnl": 0.0,
"realisedPnl": -0.06166534,
"unrealisedPnl": 1.4698,
"unrealisedPnlPcnt": 0.0218,
"unrealisedRoePcnt": 0.0654,
"avgEntryPrice": 67430.9,
"liquidationPrice": 45314.33,
"bankruptPrice": 44975.16,
"settleCurrency": "USDT",
"maintainMargin": 0.005,
"riskLimitLevel": 2,
"marginMode": "ISOLATED",
"positionSide": "BOTH",
"leverage": 2.88
}
}
//CROSS MARGIN
//{
// "code": "200000",
// "data": {
// "id": "500000000001046430",
// "symbol": "ETHUSDM",
// "crossMode": true,
// "delevPercentage": 0.71,
// "openingTimestamp": 1730635780702,
// "currentTimestamp": 1730636040926,
// "currentQty": 1,
// "currentCost": -0.0004069805,
// "currentComm": 2.441e-7,
// "unrealisedCost": -0.0004069805,
// "realisedGrossCost": 0,
// "realisedCost": 2.441e-7,
// "isOpen": true,
// "markPrice": 2454.12,
// "markValue": -0.000407478,
// "posCost": -0.0004069805,
// "posInit": 0.0000406981,
// "posMargin": 0.0000407478,
// "realisedGrossPnl": 0,
// "realisedPnl": -2.441e-7,
// "unrealisedPnl": -4.975e-7,
// "unrealisedPnlPcnt": -0.0012,
// "unrealisedRoePcnt": -0.0122,
// "avgEntryPrice": 2457.12,
// "liquidationPrice": 1429.96,
// "bankruptPrice": 1414.96,
// "settleCurrency": "ETH",
// "isInverse": true,
// "marginMode": "CROSS",
// "positionSide": "BOTH",
// "leverage": 10
// }
//}