Get federal contracts by completion date (SAM.gov, recompete search)
get_contract_awardsFederal contract awards from SAM.gov's Contract Awards API (the FPDS successor), filtered by ultimate completion date: the contracts that are ending, which is where recompetes come from. Defaults to contracts ending in the next 180 days. Rows are collapsed to the latest action per contract. Each carries the PIID, agency, office, awardee and UEI, NAICS, PSC, competition and set-aside, dates, and contract value. Defense awards appear 90 days after signing.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_contract_awards"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| piid | No | Contract PIID. | |
| limit | No | Records to request, 1-100 (default 50). | |
| naics | No | NAICS code, or a comma list, e.g. '541512,541511'. | |
| offset | No | Pagination offset (default 0). | |
| min_value | No | Minimum ultimate contract value (base + all options), USD. | |
| set_aside | No | Set-aside code, e.g. 'SBA', '8A', 'WOSB', 'HZC'. | |
| award_type | No | 'award' or 'idv'. | |
| agency_code | No | Contracting department code, 4 chars, e.g. '9700' (DoD). | |
| awardee_uei | No | Awardee Unique Entity ID (12 chars). | |
| completion_to | No | Ultimate completion date to, YYYY-MM-DD (default: today + 180 days). | |
| completion_from | No | Ultimate completion date from, YYYY-MM-DD (default: today). |