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
Query parameters
UTC timestamp in ms
UTC timestamp in ms
The value cannot be greater than 60000
UTC timestamp in ms
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
}
]
}Changes
Changed in 2 of the 26 revisions of this API.748
- ▲
for the
queryrequest parameterlimit, default value was changed from5to7request-parameter-default-value-changed
- ▲
for the
queryrequest parameterlimit, the min was increased from5.00to7.00request-parameter-min-increased
- ▲
- ▲
for the
queryrequest parameterendTime, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
for the
queryrequest parameterlimit, the type/format was changed frominteger/tointeger/int32request-parameter-type-changed
- ▲
for the
queryrequest parameterrecvWindow, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
for the
queryrequest parameterstartTime, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
for the
queryrequest parametertimestamp, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ○
the response property
codebecame required for the status400response-property-became-required
- ○
the response property
codebecame required for the status401response-property-became-required
- ○
the response property
msgbecame required for the status400response-property-became-required
- ○
the response property
msgbecame required for the status401response-property-became-required
- ○
the response property
oneOf[snapshotFutures]/codebecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotFutures]/msgbecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotFutures]/snapshotVosbecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotFutures]/snapshotVos/items/databecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotFutures]/snapshotVos/items/data/assetsbecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotFutures]/snapshotVos/items/data/assets/items/assetbecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotFutures]/snapshotVos/items/data/assets/items/marginBalancebecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotFutures]/snapshotVos/items/data/assets/items/walletBalancebecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotFutures]/snapshotVos/items/data/positionbecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotFutures]/snapshotVos/items/data/position/items/entryPricebecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotFutures]/snapshotVos/items/data/position/items/markPricebecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotFutures]/snapshotVos/items/data/position/items/positionAmtbecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotFutures]/snapshotVos/items/data/position/items/symbolbecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotFutures]/snapshotVos/items/data/position/items/unRealizedProfitbecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotFutures]/snapshotVos/items/typebecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotFutures]/snapshotVos/items/updateTimebecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotMargin]/codebecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotMargin]/msgbecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotMargin]/snapshotVosbecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotMargin]/snapshotVos/items/databecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotMargin]/snapshotVos/items/data/marginLevelbecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotMargin]/snapshotVos/items/data/totalAssetOfBtcbecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotMargin]/snapshotVos/items/data/totalLiabilityOfBtcbecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotMargin]/snapshotVos/items/data/totalNetAssetOfBtcbecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotMargin]/snapshotVos/items/data/userAssetsbecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotMargin]/snapshotVos/items/data/userAssets/items/assetbecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotMargin]/snapshotVos/items/data/userAssets/items/borrowedbecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotMargin]/snapshotVos/items/data/userAssets/items/freebecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotMargin]/snapshotVos/items/data/userAssets/items/interestbecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotMargin]/snapshotVos/items/data/userAssets/items/lockedbecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotMargin]/snapshotVos/items/data/userAssets/items/netAssetbecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotMargin]/snapshotVos/items/typebecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotMargin]/snapshotVos/items/updateTimebecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotSpot]/codebecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotSpot]/msgbecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotSpot]/snapshotVosbecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotSpot]/snapshotVos/items/databecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotSpot]/snapshotVos/items/data/balancesbecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotSpot]/snapshotVos/items/data/balances/items/assetbecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotSpot]/snapshotVos/items/data/balances/items/freebecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotSpot]/snapshotVos/items/data/balances/items/lockedbecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotSpot]/snapshotVos/items/data/totalAssetOfBtcbecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotSpot]/snapshotVos/items/typebecame required for the status200response-property-became-required
- ○
the response property
oneOf[snapshotSpot]/snapshotVos/items/updateTimebecame required for the status200response-property-became-required
- ▲