Margin

Get All Margin Assets (MARKET_DATA)

Weight(IP): 1

get/sapi/v1/margin/allAssets

Query parameters

assetstring required
Example:BTC

Response

Assets details

assetFullNamestring required
assetNamestring required
isBorrowableboolean required
isMortgageableboolean required
userMinBorrowstring required
userMinRepaystring required

Example response

[
  {
    "assetFullName": "Binance coin",
    "assetName": "BNB",
    "userMinBorrow": "0.00000000",
    "userMinRepay": "0.00000000"
  }
]

Changes

Changed in 2 of the 26 revisions of this API.18

    • added the new required query request parameter asset

      new-required-request-parameter

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the response property code became required for the status 400

      response-property-became-required

    • the response property items/assetFullName became required for the status 200

      response-property-became-required

    • the response property items/assetName became required for the status 200

      response-property-became-required

    • the response property items/isBorrowable became required for the status 200

      response-property-became-required

    • the response property items/isMortgageable became required for the status 200

      response-property-became-required

    • the response property items/userMinBorrow became required for the status 200

      response-property-became-required

    • the response property items/userMinRepay became required for the status 200

      response-property-became-required

    • the response property msg became required for the status 400

      response-property-became-required