Get Holdings History
Holdings
Fetch holdings history
Get historical aggregated USD holdings for one or more addresses.
POST
Get Holdings History
This endpoint provides historical USD value of holdings for wallet addresses, returning aggregated data at regular intervals based on your requested time range and granularity. At every timestamp, holdings are calculated using the most recent balance and USD price for each asset. Results are sorted by timestamp in descending order (newest first).Documentation Index
Fetch the complete documentation index at: https://docs.allium.so/llms.txt
Use this file to discover all available pages before exploring further.
Time Range Parameters
start_timestamp- Beginning of the time range (inclusive)end_timestamp- End of the time range (exclusive)- Both timestamps are assumed to be in UTC if no timezone is specified
- All returned data is in UTC
Granularity Options
1d- Daily intervals1h- Hourly intervals5m- 5-minute intervals1m- 1-minute intervals15s- 15-second intervals
Granularity Constraints
The allowed granularity depends on the requested time range:| Time Range | Finest Granularity Allowed |
|---|---|
| 0 - 24 hours | 15s |
| 1 - 7 days | 5m |
| 1 week - 1 year | 1h |
| Over 1 year | 1d |
15s granularity data is only retained for 7 days — the start timestamp cannot be more than 7 days in the past when using 15s.
Request Parameters
addresses- List of wallet chain+address pairs (1 to 15 per request)include_token_breakdown- Iftrue, includes per-token USD breakdown in each interval (default:false)min_liquidity- Optional minimum USD liquidity threshold to filter out low-liquidity tokenscursor- Pagination cursor for fetching additional results
Important Notes
- Value errors are returned for invalid address, chain, or time range payloads
- If
end_timestampis earlier thanstart_timestamp, an error will be returned - If
end_timestampis in the future, it will be adjusted to the current time - If the requested granularity is too fine for the time range, an error will be returned (see constraints above)
- If a wallet has no holdings or does not exist, the endpoint will interpolate the aggregated holdings to be 0
- Timestamps are snapped to the nearest granularity boundary (e.g., 5-minute marks for
5m, 15-second marks for15s)
Supported Chains
Performance
The endpoint returns up to 800 records per page and provides a cursor to paginate through additional results. When querying multiple addresses, timestamps are divided across addresses (e.g., 2 addresses yield ~400 timestamps each).Authorizations
Body
application/json
Start of time range (UTC ISO 8601)
End of time range (UTC ISO 8601)
Time interval granularity (15s, 1m, 5m, 1h, 1d)
Available options:
15s, 1m, 5m, 1h, 1d List of wallet chain+address pairs
Required array length:
1 - 15 elementsIf true, includes per-token breakdown in each interval