Federal contract awards and recompetes
federal_contractsSearches awarded US federal contracts on USAspending.gov by agency, keyword and dollar amount, largest first. Recompete mode instead lists contracts expiring soonest within a window (set min_amount to keep the search narrow), with the incumbent and days until expiry. Every record links to the official award page.
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": "federal_contracts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | search lists awards, largest first; recompete lists contracts about to expire, soonest first. Defaults to recompete when an expiring_ field is set. | |
| limit | No | Awards to return, 1 to 100. Default 25. | |
| agency | No | Awarding top-tier agency name. Several names separated by a semicolon. | |
| keyword | No | Free text across award descriptions and recipient names. Up to 500 characters. | |
| end_date | No | YYYY-MM-DD. Default today. | |
| min_amount | No | Only awards at or above this many dollars. Recompete mode usually needs this, or an agency or keyword, to be narrow enough. | |
| start_date | No | YYYY-MM-DD, awards with activity from this date. Default 2024-10-01 (the past year in recompete mode). Not before 2007-10-01. | |
| award_types | No | Codes separated by commas, from one group (contracts A,B,C,D by default; 02 to 11 are grants and loans). | |
| expiring_after_days | No | Recompete mode: skip contracts ending sooner than this, for bid lead time. Default 0. | |
| expiring_within_days | No | Recompete mode: contracts ending within this many days, 1 to 1825. Default 365. |