Skip to main content

Set Leverage

Set Leverage

Description

This endpoint allows you to set leverage.

HTTP Request

  • POST /api/v3/account/set-leverage
  • Rate limit: 10/sec/UID
  • Permission: UTA mgt. (read & write)
Request
curl -X POST "https://api.bitget.com/api/v3/account/set-leverage" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json" \
-d '{"category":"USDT-FUTURES","symbol":"BTCUSDT","leverage":"10"}'

Request Parameters

ParameterTypeRequiredComments
categoryStringYesProduct type
MARGIN Margin trading
USDT-FUTURES USDT futures
COIN-FUTURESCoin-M futures
USDC-FUTURES USDC futures
symbolStringNoSymbol name
This field is required to set leverage for futures
leverageStringYesLeverage multiple
coinStringNoCoin name
This field is required to set leverage for margin trading
posSideStringNoPosition side
long/short
This field is required to set leverage for isolated margin
marginModeStringNoMargin mode
crossed Cross margin
isolated Isolated margin
Defaults to cross margin if not specified. Only futures product lines support isolated margin leverage adjustment in this update.
longLeverageStringNoLong position leverage
Only applicable when using isolated margin with two-way position mode and different leverage for each direction.
In two-way position mode, if both leverage and longLeverage are passed, longLeverage takes effect and leverage is ignored.
shortLeverageStringNoShort position leverage
Only applicable when using isolated margin with two-way position mode and different leverage for each direction.
In two-way position mode, if both leverage and shortLeverage are passed, shortLeverage takes effect and leverage is ignored.
Response
{
"code": "00000",
"msg": "success",
"requestTime": 1728625799912,
"data": "success"
}

Response Parameters

N/A

How was your Reading Experience with us?