Search US federal contract opportunities (SAM.gov) by keywor
us_search_opportunitiesSearch US federal contract opportunities (SAM.gov) by keyword, NAICS, agency, state and set-aside; active ones soonest deadline first. Example: /us/opportunities/search?naics=541512&state=VA Price: $0.005 USDC per call (x402). Without payment: a free 3-row preview, 3 per day.
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": "us_search_opportunities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Full-text search over title, department, office. | |
| next | No | Opaque keyset token from the previous page's `next`. | |
| sort | No | Sort order. | |
| limit | No | Results per page, 1–100 (default 25). Same price at any size. | |
| naics | No | NAICS code or prefix. | |
| state | No | Place of performance, two-letter state. | |
| active | No | true (default), false or all. | |
| agency | No | Department or sub-tier (contains). | |
| set_aside | No | Set-aside code, e.g. SBA, 8A, SDVOSBC, WOSB. | |
| deadline_before | No | ISO date/time. |