v26

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

Managed sub-account snapshot (For Investor Master Account)

  • The query time period must be less then 30 days
  • Support query within the last one month only
  • If startTime and endTime not sent, return records of the last 7 days by default

Weight(IP): 2400

get/sapi/v1/managed-subaccount/accountSnapshot

Query parameters

emailstring required

Sub-account email

typestring required
Example:SPOT

"SPOT", "MARGIN"(cross), "FUTURES"(UM)

startTimeinteger

UTC timestamp in ms

endTimeinteger

UTC timestamp in ms

limitinteger

min 7, max 30, default 7

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

Sub-account spot snapshot

codeinteger required
msgstring required

Example response

{
  "code": 200,
  "snapshotVos": [
    {
      "data": {
        "balances": [
          {
            "asset": "BTC",
            "free": "0.09905021",
            "locked": "0.00000000"
          }
        ],
        "totalAssetOfBtc": "0.09942700"
      },
      "type": "spot",
      "updateTime": 1576281599000
    }
  ]
}