syrto_aggregate_companies returns statistical summaries (count, average, median, min, max) for companies matching your filters. Use it to understand market segments - e.g. “average revenue of medium manufacturing companies in Veneto” or “how many large companies are in sector C”.
Use this tool to
- Count companies matching a set of criteria
- Get average, median, or range statistics for a metric across a segment
- Benchmark a company against its market segment
Arguments
integer
required
Fiscal year to aggregate.
string[]
required
1-10 metric slugs to compute statistics for. Use
syrto_search_metric_definitions or syrto_list_available_metrics to find valid slugs.Example: ["revenues_from_sales_and_services", "ebitda"]object
A single structured filter object narrowing which companies are aggregated. It takes exactly the same sections as
syrto_search_companies: anagraphic, state_aids, people, financial, and radar. Omit it to aggregate over everything.All set filters combine with AND, both within a section and across sections. See Search companies for each section’s fields, or fetch the catalog at runtime with syrto_get_search_filter_docs.An invalid filters object returns an error naming the bad field.string
"en" for English (default) or "it" for Italian.Returns
object[]
One entry per requested year, each containing:
integer
Total number of companies matching the filters.
object
Employee count statistics across matching companies:
count- number of companies with employee dataaverage,median,minimum,maximum- statistical summaries
object[]
One entry per requested metric slug, each with:
name- human-readable metric name (use this for display, notslug)slug- internal identifierstats.count- number of companies with data for this metricstats.average,stats.median,stats.minimum,stats.maximum- statistical summaries
object
Radar score statistics across matching companies:
efficiency_avg,efficiency_median- Efficiency score summaries (0–100)size_avg,size_median- Size score summaries (0–100)
string
Context note about data availability and where to find more on syrto.ai.
string
Link to the Syrto web app, where you can explore more data and insights.