Guides
Guides

Leverage by asset id/symbol

Check the leverage level and margin type set for a given asset.

Request

curl -X GET "https://trade.mudrex.com/fapi/v1/futures/{asset_id}/leverage" \
  -H "X-Authentication: your-secret-key"

Parameters

ParameterTypeRequiredDescription
asset_idstringYesThe unique identifier of the asset (path parameter) or trading symbol (e.g., "BTCUSDT") if is_symbol query parameter is present
is_symbolstringNoQuery parameter. If present (even with value false/0), the asset_id path parameter is treated as a trading symbol instead of asset ID. If not passed, backward compatibility is maintained and asset ID is used

Symbol-First Trading

You can use trading symbols (e.g., "BTCUSDT", "ETHUSDT") instead of asset IDs by including the is_symbol query parameter:

curl -X GET "https://trade.mudrex.com/fapi/v1/futures/BTCUSDT/leverage?is_symbol" \
  -H "X-Authentication: your-secret-key"

Note: The is_symbol query parameter need not have a value—its mere presence is enough. If the query parameter is passed (even with values like false, f, False, 0), the system will treat the path parameter as a symbol. For backward compatibility, if the query parameter is not passed, the existing Asset ID support is used.


Response

{
    "success": true,
    "data": {
        "Leverage": "50",
        "MarginType": "ISOLATED"
    }
}

Parameters

ParameterDescription
LeverageCurrent leverage level set for the asset
MarginTypeMargin type for the asset. Currently only ISOLATED is supported