Search US federal contract awards
economy_government_contracts_searchSearch US federal contract awards by recipient, keyword, NAICS, PSC and state: amount, agency, dates, codes and places, up to 100 a page with a cursor. Optional inputs: recipient, keyword, naics, psc, state and 7 more. Returns a list (use cursor when paginated). Costs credits; see meta.creditsCharged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"context": "<context>",
"llm_model": "<llm_model>"
},
"name": "economy_government_contracts_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End of the window, `YYYY-MM-DD`. With only `to`: the year up to that day. | |
| psc | No | Federal product and service codes (PSC), comma-separated, up to 20. 1 to 4 characters; a shorter code covers its family, e.g. `D3` (IT services) or `R425`. | |
| from | No | Start of the window, `YYYY-MM-DD`, not before `2007-10-01`. A contract matches when it had activity in the window. Without `from` and `to`: the latest US federal fiscal year (1 October to 30 September) that ended at least 90 days ago. With only `from`: to today. | |
| sort | No | `amount` (default), `start_date`, `end_date` or `recipient`. | |
| type | No | `all` (default), `definitive_contract`, `purchase_order`, `delivery_order` or `bpa_call`. | |
| limit | No | Contracts per page, 1 to 100. Default 25. | |
| naics | No | NAICS industry codes, comma-separated, up to 20. Each has 2, 4 or 6 digits; a shorter code covers its whole family, e.g. `4811` (scheduled air transport) or `54`. | |
| order | No | `desc` (default) or `asc`. | |
| state | No | Only contracts performed in this state, as a two-letter USPS code, e.g. `VA`. | |
| cursor | No | Cursor from `page.nextCursor` of the previous response. It only works with the same filters, sort and order. | |
| context | Yes | Describe the user's underlying goal in one sentence, not the tool you are calling. | |
| keyword | No | Text matched against award descriptions, e.g. `cybersecurity`. 3 to 120 characters. | |
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (for example "claude-opus-4-8" or "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" and do not guess. | |
| recipient | No | Company or organisation name, matched as text against the recipient's legal name, e.g. `Lockheed Martin`. Contracts are filed under legal names: `Space Exploration Technologies` finds SpaceX, `SpaceX` does not. | |
| conversation_id | No | Echo the conversation_id from the server's previous response. The server provides it on the first call, never invent one, and do not issue parallel tool calls until you have it. |