Search Government Opportunities
Search SAM.gov for open U.S. federal solicitations including RFPs, RFQs, presolicitations, and sources sought.
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
keywords | string | No | - | Keywords to search in opportunity titles. |
naicsCode | string | No | - | Filter by NAICS code. |
pscCode | string | No | - | Filter by Product/Service Code. |
agency | string | No | - | Filter by agency name. |
setAsideType | string | No | - | Small business set-aside type filter. |
postedAfter | string | No | - | Only opportunities posted after this date (YYYY-MM-DD). |
deadlineBefore | string | No | - | Only opportunities with response deadline before this date. |
limit | number | No | 25 | Maximum number of opportunities to return. |
Required Integrations
datagov(SAM.gov / Data.gov API key)
Use Cases
- Identifying open federal solicitations
- Tracking government opportunities by NAICS code
- Monitoring agency procurement activity
- Finding set-aside opportunities for small businesses
Example Usage
Search by keywords
{
"tool": "search_gov_opportunities",
"parameters": {
"keywords": "cybersecurity",
"postedAfter": "2025-01-01",
"limit": 20
}
}
Search by NAICS and agency
{
"tool": "search_gov_opportunities",
"parameters": {
"naicsCode": "541512",
"agency": "Department of Defense"
}
}
Response Format
The tool returns a structured JSON response with:
totalCount: Total matching opportunitiesopportunities: Array of opportunity objects withopportunityId,title,solicitationNumber,agency,postedDate,responseDeadline,daysUntilDeadline,type,setAsideType,naicsCode,placeOfPerformance,description, andlink(direct SAM.gov URL)hasMore: Whether more results are available
Error Handling
Common errors:
- Missing Integration: SAM.gov / Data.gov API key not configured (requires
datagovintegration) - Rate Limit: API rate limit exceeded
- Invalid Parameters: Bad date format
Related Tools
search_federal_contracts- Search past contract awardscompany_gov_opportunities- Find opportunities for a specific companycompany_gov_relationships- Prime/sub contractor relationships