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
string
Grouping dimension. Options:
department, vendor, year. Default: department. Example: vendor.string
Only
value. Default: value. Example: amount.string
Partial match on vendor name. Example:
Palantir.string
Partial match on department name. Example:
National Defence.string
Exact match on
procurement_method. Example: Non-competitive.string
Exact match on
source_dataset. Example: open.canada.number
Minimum contract value. Example:
100000.number
Maximum contract value. Example:
5000000.string
ISO 8601 start date. Example:
2023-01-01.string
ISO 8601 end date. Example:
2023-12-31.integer
Max groups to return. Default:
100. Max: 200. Example: 25.integer
Result offset. Default:
0. Example: 50.