Contracts
Contract Stats
Aggregated contract statistics grouped by department, vendor, or year.
GET
Overview
Returns grouped aggregate statistics across all federal contract records. Useful for spending breakdowns by department, vendor rankings by total value, or year-over-year procurement trends.Query Parameters
Grouping dimension. Options:
department, vendor, year. Default: department. Example: vendor.Only
value. Default: value. Example: amount.Partial match on vendor name. Example:
Palantir.Partial match on department name. Example:
National Defence.Exact match on
procurement_method. Example: Non-competitive.Exact match on
source_dataset. Example: open.canada.Minimum contract value. Example:
100000.Maximum contract value. Example:
5000000.ISO 8601 start date. Example:
2023-01-01.ISO 8601 end date. Example:
2023-12-31.Max groups to return. Default:
100. Max: 200. Example: 25.Result offset. Default:
0. Example: 50.
