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
isolatedSymbolSTRINGNOSymbol in Isolated Margin
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

Response Example

{
"rows": [
{
"amount": "0.10000000",
"asset": "BNB",
"status": "CONFIRMED",
"timestamp": 1566898617,
"txId": 5240372201,
"type": "ROLL_IN",
"transFrom": "SPOT", //SPOT,FUTURES,FIAT,DELIVERY,MINING,ISOLATED_MARGIN,FUNDING,MOTHER_SPOT,OPTION,SUB_SPOT,SUB_MARGIN,CROSS_MARGIN
"transTo": "ISOLATED_MARGIN",//SPOT,FUTURES,FIAT,DELIVERY,MINING,ISOLATED_MARGIN,FUNDING,MOTHER_SPOT,OPTION,SUB_SPOT,SUB_MARGIN,CROSS_MARGIN
},
{
"amount": "5.00000000",
"asset": "USDT",
"status": "CONFIRMED",
"timestamp": 1566888436,
"txId": 5239810406,
"type": "ROLL_OUT",
"transFrom": "ISOLATED_MARGIN",//SPOT,FUTURES,FIAT,DELIVERY,MINING,ISOLATED_MARGIN,FUNDING,MOTHER_SPOT,OPTION,SUB_SPOT,SUB_MARGIN,CROSS_MARGIN
"transTo": "ISOLATED_MARGIN", //SPOT,FUTURES,FIAT,DELIVERY,MINING,ISOLATED_MARGIN,FUNDING,MOTHER_SPOT,OPTION,SUB_SPOT,SUB_MARGIN,CROSS_MARGIN
"fromSymbol": "BNBUSDT",
"toSymbol": "BTCUSDT"
},
{
"amount": "1.00000000",
"asset": "EOS",
"status": "CONFIRMED",
"timestamp": 1566888403,
"txId": 5239808703,
"type": "ROLL_IN"
}
],
"total": 3
}