Margin

Get All Cross Margin Pairs (MARKET_DATA)

Weight(IP): 1

get/sapi/v1/margin/allPairs

Query parameters

symbolstring required
Example:BNBUSDT

Trading symbol, e.g. BNBUSDT

Response

Margin pairs

basestring required
idinteger required
isBuyAllowedboolean required
isMarginTradeboolean required
isSellAllowedboolean required
quotestring required
symbolstring required

Example response

[
  {
    "base": "BNB",
    "id": 351637150141315840,
    "quote": "BTC",
    "symbol": "BNBBTC"
  }
]

Changes

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

    • added the new required query request parameter symbol

      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/base became required for the status 200

      response-property-became-required

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

      response-property-became-required

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

      response-property-became-required

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

      response-property-became-required

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

      response-property-became-required

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

      response-property-became-required

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

      response-property-became-required

    • the response property msg became required for the status 400

      response-property-became-required