Margin

Get Cross Margin Transfer History (USER_DATA)

Changed on
  • Response in descending order
  • Returns data for last 7 days by default
  • Set archived to true to query data from 6 months ago

Weight(IP): 1

get/sapi/v1/margin/transfer

Request

  • Base URL
    https://api.binance.com
  • URL
    https://api.binance.com/sapi/v1/margin/transfer
  • Auth
    API key in header X-MBX-APIKEY

Query parameters

assetstring
Example:BNB
type'ROLL_IN' | 'ROLL_OUT'
startTimeinteger

UTC timestamp in ms

endTimeinteger

UTC timestamp in ms

currentinteger
Example:1

Current querying page. Start from 1. Default:1

sizeinteger
Example:100

Default:10 Max:100

isolatedSymbolstring

Isolated symbol

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

Margin account transfer history, response in descending order

totalinteger required

Example response

{
  "rows": [
    {
      "amount": "0.10000000",
      "asset": "BNB",
      "status": "CONFIRMED",
      "timestamp": 1566898617,
      "txId": 5240372201,
      "type": "ROLL_IN"
    }
  ],
  "total": 1
}

Changes

    • warning

      deleted the query request parameter archived

    • info

      added the new optional query request parameter isolatedSymbol

    • breaking

      for the query request parameter current, the type changed from number to integer, and format from no format to int32

    • breaking

      for the query request parameter endTime, the format changed from no format to int64

    • breaking

      for the query request parameter recvWindow, the format changed from no format to int64

    • breaking

      for the query request parameter size, the format changed from no format to int32

    • breaking

      for the query request parameter startTime, the format changed from no format to int64

    • breaking

      for the query request parameter timestamp, the format changed from no format to int64

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status