Search past awards
search_awardsUse this when the user asks who won government contracts or grants: past awards by NAICS, agency, state, awardee name or UEI, with amounts and dates.
Filters: type (contract_award, grant_award or any), naics (up to 10 codes), agency (a name; the note says which agency it matched), state, awardee (part of a name), uei, keyword (matched in the title; a grant award's title is its recipient's name), awarded_within_days (1 to 1095, default 365), limit (1 to 50, default 20). If has_more is true, call again with cursor=next_cursor and the same filters. Example: naics="541512", agency="Department of Veterans Affairs". Pass several NAICS codes in one call.
Award records may be incomplete, so say so. Head a grant award with its awardee name and CFDA number, not its title. Pass an awardee's uei to get_company for its full history.
Print each award's url and source_url as markdown links.
Do not use for open opportunities to bid on (search_contracts, search_grants) or for one firm's history when its UEI is known (get_company).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uei | No | The awardee's 12-character UEI. | |
| type | No | contract_award (federal contracts), grant_award, or any (both). | any |
| limit | No | Number of results to return, 1 to 50. | |
| naics | No | Up to 10 six-digit NAICS codes, comma-separated, e.g. '236220' or '541511,541512'. A record matches on its own codes (matched_naics says which). Unknown codes are ignored. | |
| state | No | Two-letter US state code of the place of performance. | |
| agency | No | Agency name, e.g. 'Department of Veterans Affairs'; matched to the closest MatchAwards agency, which the result note names. | |
| cursor | No | next_cursor from the previous response. Pass it with the same filters to get the next page. | |
| awardee | No | Part of the awardee's name, 2 to 100 characters. | |
| keyword | No | 2 to 100 characters matched against the title only. | |
| awarded_within_days | No | Only awards from the last N days, 1 to 1095 (default 365). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| as_of | No | When the API generated the results (ISO time). | |
| results | Yes | ||
| warning | No | Set when paging stopped early; the results so far are still valid. | |
| has_more | Yes | true: call again with cursor=next_cursor and the same filters. | |
| next_cursor | No |