- Wallet Endpoints
- Balance Over Time
Wallet Endpoints
Balance Over Time
Get balance in USD of a wallet address over a specified time period. An empty token parameter will give an aggregate balance over time in USD for all tokens.
/v1/wallets/tracking/balance
curl --request GET \
--url https://api.invezo.com/v1/wallets/tracking/balance \
--header 'x-invezo-api-key: AUTH_VALUE'
Query Parameters
platform to query (valid chains: eth, sol)
wallet address (example: 0xd8da6bf26964af9d7eed9e03e53415d37aa96045)
start of the aggregate time window as a timestamp (example: 1652486400 or ‘2022-05-13T18:00:00’)
end of the aggregate time window as a timestamp (example: 1675191600 or ‘2023-01-31T12:00:00’)
size of the time window (valid intervals: 10m, 1h, 1d, 1w, 1mo)
asset contract address (example: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v, 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48)
sort the results by timestamp. asc will return results in ascending order (oldest to newest), desc will return results in descending order (newest to oldest). default value is asc
limit the number of results returned, default is 5000 and max is 50000
{
"status": "OK",
"request_id": "",
"result_count": 5000,
"data": [
{
"t": 1659312000,
"v": 349385.145978255
},
{
"t": 1659315600,
"v": 349389.7828433412
},
...
]
}
curl --request GET \
--url https://api.invezo.com/v1/wallets/tracking/balance \
--header 'x-invezo-api-key: AUTH_VALUE'
{
"status": "OK",
"request_id": "",
"result_count": 5000,
"data": [
{
"t": 1659312000,
"v": 349385.145978255
},
{
"t": 1659315600,
"v": 349389.7828433412
},
...
]
}