v26

latestOpenAPI 3.0.2raw.githubusercontent.com2024-10-0834042975.6 KB
Sub-Account

Query Sub-account Transaction Statistics (For Master Account)

Query Sub-account Transaction statistics (For Master Account).

Weight(UID): 60

get/sapi/v1/sub-account/transaction-statistics

Query parameters

emailstring required
recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

Sub account transaction statistics

recent30BtcTotalstring required
recent30BtcFuturesTotalstring required
recent30BtcMarginTotalstring required
recent30BusdTotalstring required
recent30BusdFuturesTotalstring required
recent30BusdMarginTotalstring required

Example response

{
  "recent30BtcTotal": "0",
  "recent30BtcFuturesTotal": "0",
  "recent30BtcMarginTotal": "0",
  "recent30BusdTotal": "0",
  "recent30BusdFuturesTotal": "0",
  "recent30BusdMarginTotal": "0",
  "tradeInfoVos": [
    {
      "userId": 1000138138384,
      "date": 1676851200000
    }
  ]
}