Portfolio
Get Portfolio History
Get the historical state of all or filtered accounts portfolio with pagination and interval sampling.
The interval parameter allows you to control data granularity:
- 5m: Raw data (default, collected every 5 minutes)
- 15m: One data point every 15 minutes
- 30m: One data point every 30 minutes
- 1h: One data point every hour
- 4h: One data point every 4 hours
- 12h: One data point every 12 hours
- 1d: One data point every day
Using larger intervals significantly reduces response size and improves performance.
Args: filter_request: JSON payload with filtering criteria (account_names, connector_names, start_time, end_time, limit, cursor, interval)
Returns: Paginated response with historical portfolio data sampled at the requested interval
post/portfolio/history
Request body
Response
Successful Response
Example response
{
"data": [],
"pagination": {
"has_more": true,
"limit": 100,
"next_cursor": "2024-01-10T12:00:00",
"total_count": 500
}
}