Retrieve daily account balance snapshots for Spot, Margin, or Futures wallets over a specified historical time range.
/sapi/v1/accountSnapshot
This endpoint queries historical daily balance snapshots generated by Binance. It supports retrieving detailed asset breakdowns for SPOT, MARGIN, and FUTURES account types.
Portfolio managers, accounting software, and automated audit tools use this endpoint to track total asset valuations, individual coin balances, and historical portfolio growth without maintaining manual daily database logs.
Parameters accepted by the endpoint.
| Parameter | Type | Required | Description |
|---|---|---|---|
type |
STRING | Required |
Account wallet type: SPOT, MARGIN, or FUTURES.
|
startTime |
LONG | Optional | Start UTC timestamp in milliseconds. |
endTime |
LONG | Optional | End UTC timestamp in milliseconds. |
limit |
INT | Optional |
Number of snapshot records to return. Default is 7, minimum is 5, maximum is 30.
|
recvWindow |
LONG | Optional | Time window in milliseconds for signed request validity. |
timestamp |
LONG | Required | Current request UTC timestamp in milliseconds. |
Binance automatically generates account balance snapshots once per day at approximately 23:59:59 UTC. Historical records are preserved for up to 30 days.
Example request using cURL.
curl -X GET \
'https://api.binance.com/sapi/v1/accountSnapshot?type=SPOT&limit=7×tamp=YOUR_TIMESTAMP&signature=YOUR_SIGNATURE' \
-H 'X-MBX-APIKEY: YOUR_API_KEY'
Never place your Binance API secret in browser-side code, public repositories or client applications where it can be exposed.
Example response returned by the API.
{
"code": 200,
"msg": "",
"snapshotVos": [
{
"data": {
"balances": [
{
"asset": "BTC",
"free": "0.09905000",
"locked": "0.00000000"
},
{
"asset": "USDT",
"free": "1500.00000000",
"locked": "0.00000000"
}
],
"totalAssetOfBtc": "0.12500000"
},
"type": "spot",
"updateTime": 1638316799000
}
]
}
| Field | Type | Description |
|---|---|---|
code |
INT |
Response status code (200 indicates success).
|
snapshotVos |
ARRAY | Array of daily balance snapshot records. |
snapshotVos[].type |
STRING |
Snapshot category: spot, margin, or futures.
|
snapshotVos[].updateTime |
LONG | UTC timestamp of the daily snapshot in milliseconds. |
snapshotVos[].data.totalAssetOfBtc |
STRING | Total account valuation converted to Bitcoin (BTC) equivalent. |
snapshotVos[].data.balances |
ARRAY | Detailed list of individual asset balances (free and locked amounts). |
Workflow for querying daily balance snapshots.
Track daily changes in net account asset value over time to build portfolio performance charts.
Sync end-of-day balances with external financial reporting and automated crypto tax systems.
Verify historical collateral valuations across Spot, Margin, and Futures accounts.
This article is part of our complete learning guide covering professional cross-exchange cryptocurrency arbitrage.
Explore the Spot Arbitrage Guide →This article is part of our complete learning guide covering Binance P2P automation, merchant tools, and automated trading.
Explore the Binance P2P Automation Guide →