Adjust Margin

Adjusts the margin amount for an existing position by adding or reducing margin funds.

This endpoint allows users to modify the isolated margin allocated to an existing position.

You can either add or reduce margin for a specific symbol and slot (position index) by specifying the amount and type parameters:

  • type = 1 → Add margin

  • type = 2 → Reduce margin

Adjusting margin affects the liquidation price and available balance.

Use this endpoint to manage position risk, increase leverage exposure, or free up collateral for other trades.

Authentication with a valid API key and trade permission scope is required.

Set Margin of an Order

post
Required scopes
This endpoint requires the following scopes:
Authorizations
api-keystringRequired

For third party retail API users

Body
symbolstringRequired

Trading symbol

Example: BTCUSDT.PERPPattern: ^[A-Z0-9]+(\.[A-Z0-9]+)?$
amountstringRequired

Precise, high-resolution integer type.

typeinteger · enumRequired

1=Add, 2=Reduce

Possible values:
Responses
200

OK

application/json
post
/api/v1/trade/margin

Last updated