Skip to main content

Get Leverage Info

Type: GET
Description: /future/trade/v1/position/leverage/list


Rate Limit
200/s/apikey


Request Parameters

NameTypeRequiredDefaultDescriptionRange
symbolstringTRUEN/ATrading pair

Request Example

curl -G "https://fapi.xt.com/future/trade/v1/position/leverage/list" \
-H "validate-appkey: $APPKEY" \ # Required
-H "validate-timestamp: $TIMESTAMP" \ # Required
-H "validate-singature: $SIGNATURE" \ # Required
-H "Content-Type: application/x-www-form-urlencoded" \ # Required
-d "symbol=btc_usdt" \ # Required

Response Example

{
"error": {
"code": "",
"msg": ""
},
"msgInfo": "",
"result": {
"hasNext": false, // Whether there is a next page
"hasPrev": false, // Whether there is a previous page
"items": [ // Data list
{
"symbol": "BTCUSDT", // string, trading pair
"accountId": "", // account id
"positionType": "ISOLATED", // string, "CROSSED" cross / "ISOLATED" isolated
"positionSide": "LONG", // string, "LONG" / "SHORT"
"contractType": "PERPETUAL", // string, "PERPETUAL" perpetual / "PREDICT" prediction contract
"leverage": 25 // int, current effective leverage multiple
}
]
},
"returnCode": 0
}

Error Codes

Error codeDescription
invalid_symbolTrading pair does not exist