GovernmentContracts

Public companies ranked by total contract value awarded by one government over a date range, largest total first: US federal awards (USAspending.gov, in US dollars) by default, or Government of Canada contracts (open.canada.ca, in Canadian dollars) with country=CA. latestActionDate echoes that country's coverage as-of so an empty ranking is distinguishable from a coverage gap.

get/v1/government-contracts/top

Request

Query parameters

startDatestring date

Start action date (yyyy-MM-dd, defaults to 1 year ago).

endDatestring date

End action date (yyyy-MM-dd, defaults to today).

limitinteger

Maximum companies to return (default 25, max 500).

countrystring

Awarding government: US (default) or CA.

Response

OK

startDatestring date

Resolved start of the ranked window.

endDatestring date

Resolved end of the ranked window.

countryCodestring nullable

The awarding government: US (USAspending.gov) or CA (open.canada.ca).

currencystring nullable

The currency every amount is in: USD for US awards, CAD for Canadian contracts.

latestActionDatestring date nullable

Most recent action date stored for the awarding country — the coverage as-of. Null when no contract data is loaded (an empty ranking then means no coverage, not no awards).

totalinteger nullable

Total distinct companies with awards in the window (the MCP tool's denominator) — data is truncated whenever it holds fewer rows (additive, #7056).

Changes

No recorded changes to this operation across all 1 revision of this API.