Wallet
Daily Account Snapshot (USER_DATA)
- The query time period must be less than 30 days
- Support query within the last one month only
- If startTimeand endTime not sent, return records of the last 7 days by default
Weight(IP): 2400
get/sapi/v1/accountSnapshot
Query parameters
type'SPOT' | 'MARGIN' | 'FUTURES' required
startTimeinteger
UTC timestamp in ms
endTimeinteger
UTC timestamp in ms
limitinteger
recvWindowinteger
Example:5000
The value cannot be greater than 60000
timestampinteger required
UTC timestamp in ms
signaturestring required
Signature
Response
Account Snapshot
Example response
{
"code": 200,
"snapshotVos": [
{
"data": {
"balances": [
{
"asset": "BTC",
"free": "0.2",
"locked": "0.001"
}
],
"totalAssetOfBtc": "0.09905021"
},
"type": "spot",
"updateTime": 1576281599000
}
]
}