search_contracts
Search US federal and state government contract opportunities (bids, RFPs, solicitations).
Use this when the user wants contracts to bid on. Returns {as_of, results, has_more, next_cursor}; each result has id, type, title, agency, office, naics {code, title}, set_aside, state, city, posted_at, response_deadline, url (matchawards.com), sam_url and solicitation_number. Filters: naics, state, keyword, set_aside (federal only), type (federal or state), posted_within_days, open (default true), limit, cursor. If has_more is true, call again with cursor=next_cursor and the same filters. Example: naics="238160", state="VA", keyword="roof". For grants use search_grants, for jobs search_jobs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| open | No | true (the default): only items with a response deadline of today or later, US Eastern; an item with no deadline counts as closed. false: include closed ones. | |
| type | No | Narrow to federal or to state contracts. Leave empty for both. | |
| 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'. Unknown codes are ignored. | |
| state | No | Two-letter US state code, e.g. 'VA'. Many federal notices have no state, so this filter skips them. | |
| cursor | No | next_cursor from the previous response. Pass it with the same filters to get the next page. | |
| keyword | No | 2 to 100 characters matched against the title only. | |
| set_aside | No | Set-aside code, e.g. 'SBA' or 'SDVOSBC'. Federal contracts only. | |
| posted_within_days | No | Only items posted in the last N days, 1 to 180 (default 180). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||