Margin

Query Isolated Margin Account Info (USER_DATA)

  • If "symbols" is not sent, all isolated assets will be returned.
  • If "symbols" is sent, only the isolated assets of the sent symbols will be returned.

Weight(IP): 10

get/sapi/v1/margin/isolated/account

Query parameters

symbolsstring
Example:BTCUSDT,BNBUSDT,ADAUSDT

Max 5 symbols can be sent; separated by ','

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

Isolated Margin Account Info when "symbols" is not sent

totalAssetOfBtcstring required
totalLiabilityOfBtcstring required
totalNetAssetOfBtcstring required

Example response

{
  "assets": [
    {
      "baseAsset": {
        "asset": "BTC",
        "borrowed": "0.00000000",
        "free": "0.00000000",
        "interest": "0.00000000",
        "locked": "0.00000000",
        "netAsset": "0.00000000",
        "netAssetOfBtc": "0.00000000",
        "totalAsset": "0.00000000"
      },
      "quoteAsset": {
        "asset": "USDT",
        "borrowed": "0.00000000",
        "free": "0.00000000",
        "interest": "0.00000000",
        "locked": "0.00000000",
        "netAsset": "0.00000000",
        "netAssetOfBtc": "0.00000000",
        "totalAsset": "0.00000000"
      },
      "symbol": "BTCUSDT",
      "marginLevel": "0.00000000",
      "marginLevelStatus": "EXCESSIVE",
      "marginRatio": "0.00000000",
      "indexPrice": "10000.00000000",
      "liquidatePrice": "1000.00000000",
      "liquidateRate": "1.00000000"
    }
  ],
  "totalAssetOfBtc": "0.00000000",
  "totalLiabilityOfBtc": "0.00000000",
  "totalNetAssetOfBtc": "0.00000000"
}

Changes

Changed in 1 of the 26 revisions of this API.240

  • a484ce871a72240See the full diff
    • for the query request parameter recvWindow, the type/format was changed from integer/ to integer/int64

      request-parameter-type-changed

    • for the query request parameter timestamp, the type/format was changed from integer/ to integer/int64

      request-parameter-type-changed

    • the response property assets became required for the status 200

      response-property-became-required

    • the response property assets/items/baseAsset became required for the status 200

      response-property-became-required

    • the response property assets/items/baseAsset/asset became required for the status 200

      response-property-became-required

    • the response property assets/items/baseAsset/borrowEnabled became required for the status 200

      response-property-became-required

    • the response property assets/items/baseAsset/borrowed became required for the status 200

      response-property-became-required

    • the response property assets/items/baseAsset/free became required for the status 200

      response-property-became-required

    • the response property assets/items/baseAsset/interest became required for the status 200

      response-property-became-required

    • the response property assets/items/baseAsset/locked became required for the status 200

      response-property-became-required

    • the response property assets/items/baseAsset/netAsset became required for the status 200

      response-property-became-required

    • the response property assets/items/baseAsset/netAssetOfBtc became required for the status 200

      response-property-became-required

    • the response property assets/items/baseAsset/repayEnabled became required for the status 200

      response-property-became-required

    • the response property assets/items/baseAsset/totalAsset became required for the status 200

      response-property-became-required

    • the response property assets/items/enabled became required for the status 200

      response-property-became-required

    • the response property assets/items/indexPrice became required for the status 200

      response-property-became-required

    • the response property assets/items/isolatedCreated became required for the status 200

      response-property-became-required

    • the response property assets/items/liquidatePrice became required for the status 200

      response-property-became-required

    • the response property assets/items/liquidateRate became required for the status 200

      response-property-became-required

    • the response property assets/items/marginLevel became required for the status 200

      response-property-became-required

    • the response property assets/items/marginLevelStatus became required for the status 200

      response-property-became-required

    • the response property assets/items/marginRatio became required for the status 200

      response-property-became-required

    • the response property assets/items/quoteAsset became required for the status 200

      response-property-became-required

    • the response property assets/items/quoteAsset/asset became required for the status 200

      response-property-became-required

    • the response property assets/items/quoteAsset/borrowEnabled became required for the status 200

      response-property-became-required

    • the response property assets/items/quoteAsset/borrowed became required for the status 200

      response-property-became-required

    • the response property assets/items/quoteAsset/free became required for the status 200

      response-property-became-required

    • the response property assets/items/quoteAsset/interest became required for the status 200

      response-property-became-required

    • the response property assets/items/quoteAsset/locked became required for the status 200

      response-property-became-required

    • the response property assets/items/quoteAsset/netAsset became required for the status 200

      response-property-became-required

    • the response property assets/items/quoteAsset/netAssetOfBtc became required for the status 200

      response-property-became-required

    • the response property assets/items/quoteAsset/repayEnabled became required for the status 200

      response-property-became-required

    • the response property assets/items/quoteAsset/totalAsset became required for the status 200

      response-property-became-required

    • the response property assets/items/symbol became required for the status 200

      response-property-became-required

    • the response property assets/items/tradeEnabled became required for the status 200

      response-property-became-required

    • the response property code became required for the status 400

      response-property-became-required

    • the response property code became required for the status 401

      response-property-became-required

    • the response property msg became required for the status 400

      response-property-became-required

    • the response property msg became required for the status 401

      response-property-became-required

    • the response property totalAssetOfBtc became required for the status 200

      response-property-became-required

    • the response property totalLiabilityOfBtc became required for the status 200

      response-property-became-required

    • the response property totalNetAssetOfBtc became required for the status 200

      response-property-became-required