Returns aggregated yearly values for a single metric across filtered entities.
Metrics: employees, revenue_usd, valuation_usd, ebitda_usd, vc_funding_usd
Aggregations: sum (default), avg, median, count
Entity filters: Use the filter parameter with the same syntax as /api/aggregate/:source.
Filters apply to entity-level fields (e.g. hq_country, total_funding_usd).
Auth0 JWT access token
Metric to aggregate across years
employees, revenue_usd, valuation_usd, ebitda_usd, vc_funding_usd "revenue_usd"
Aggregation function to apply (default: sum)
sum, avg, median, count "sum"
Minimum year (inclusive)
^\d+$"2018"
Maximum year (inclusive)
^\d+$"2024"
Entity filter expression: key[op]:value. Same syntax as /api/aggregate/:source
"total_funding_usd[gte]:1000000"