Skip to main content

Get Cross Margin Transfer History (USER_DATA)

API Description#

Get Cross Margin Transfer History

HTTP Request#

GET /sapi/v1/margin/transfer

Request Weight#

1(IP)

Request Parameters#

NameTypeMandatoryDescription
assetSTRINGNO
typeSTRINGNOTransfer Type: ROLL_IN, ROLL_OUT
startTimeLONGNO
endTimeLONGNO
currentLONGNOCurrently querying page. Start from 1. Default:1
sizeLONGNODefault:10 Max:100
archivedSTRINGNODefault: false. Set to true for archived data from 6 months ago
recvWindowLONGNOThe value cannot be greater than 60000
timestampLONGYES
  • Response in descending order
  • The max interval between startTime and endTime is 30 days.
  • Returns data for last 7 days by default
  • Set archived to true to query data from 6 months ago

Response Example#

{  "rows": [    {      "amount": "0.10000000",      "asset": "BNB",      "status": "CONFIRMED",      "timestamp": 1566898617,      "txId": 5240372201,      "type": "ROLL_IN"    },    {      "amount": "5.00000000",      "asset": "USDT",      "status": "CONFIRMED",      "timestamp": 1566888436,      "txId": 5239810406,      "type": "ROLL_OUT"    },    {      "amount": "1.00000000",      "asset": "EOS",      "status": "CONFIRMED",      "timestamp": 1566888403,      "txId": 5239808703,      "type": "ROLL_IN"    }  ],  "total": 3}