Holdings History
Get historical aggregated usd holdings for an address.
POST
This endpoint provides historical USD value of holdings for specified wallet addresses. It returns aggregated data at regular intervals based on your requested time range and granularity. At every timestamp, the endpoint calculates holdings by using the most recent balance and USD price for each asset. Results are sorted by timestamp in descending order (newest first).
Time range parameters:
start_timestamp
: The beginning of the time range (inclusive)end_timestamp
: The 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 intervals15s
: 15-second intervals
Important notes and error handling
- Value errors are returned for invalid address, chain, or time range payloads.
- If
end_timestamp
is earlier thanstart_timestamp
, an error will be returned - If
end_timestamp
is in the future, it will be adjusted to the current time - If the requested time range exceeds the retention period for the selected granularity, an error will be returned
- If a wallet has no holdings or does not exist, the endpoint will interpolate the aggregated holdings to be 0
Supported Chains and Holdings
Chain | Granularity | Retention | Asset Types |
---|---|---|---|
Bitcoin | 1d, 1h, 5m, 15s | all, all, 72h, 72h | bitcoin |
Solana | 1d, 1h, 5m, 15s | all, all, 24h, 1h | sol, spl tokens |
Performance Metrics The endpoint returns up to 5000 aggregated holdings per request and provides a cursor to paginate through additional responses.
Performance Metrics | Value |
---|---|
Query Latency | p50 3s |
Pagination | Up to 5000 aggregated holdings |
Data Freshness | p50 4s |
Chain Coverage | Solana, Bitcoin |
Authorizations
Query Parameters
Body
application/json
Available options:
15s
, 1m
, 5m
, 1h
, 1d