SAM.gov Opportunities
Search US federal contract opportunities on SAM.gov: solicitations, RFPs, awards and special notices with agency, dates, NAICS/PSC codes and descriptions.
Overview
SAM.gov Opportunities searches federal contract opportunities published on SAM.gov. Each result carries the notice type, title, contracting agency, publication and response dates, NAICS and PSC codes, set-aside status and the opportunity description.
It is built for businesses tracking federal bids, procurement analysts and researchers studying government spending. No account or API key is needed; the public search index is read directly.
Data notes
One record per opportunity. Active and keyword filters are applied by the source search index; records are de-duplicated across pages. Monitor history, webhook delivery and attachment downloads are not included.
What the results look like
| Title | Notice type | Agency | Response date |
|---|---|---|---|
| IDIQ Multiple Award Task Order Contract | Award Notice | DEPT OF DEFENSE | 2014-05-04 |
| Solar Electric Panel System | Special Notice | DEPT OF DEFENSE |
Use cases
- Find new federal solicitations matching your capabilities.
- Track awards and set-aside contracts by agency.
- Build a dataset of opportunities by NAICS or PSC code.
Input
Parameters required to call this App.
- Keywords
keywordsOptionalstringSearch terms for opportunity titles and descriptions.DefaultExampleconstruction - Keyword mode
keywordModeOptionalstring(enum)ANY = any word, ALL = all words, EXACT = exact phrase.Allowed valuesAny wordANYAll wordsALLExact phraseEXACTDefaultANY - Active only
activeOnlyOptionalbooleanReturn only currently active opportunities.Defaulttrue - Opportunity types
opportunityTypesOptionalarray<string>Filter by notice type codes such as o (Solicitation), r (Sources Sought), s (Special Notice), a (Award Notice).Default - Posted within (days)
postedWithinDaysOptionalintegerInformational recency window hint for the search.Range1–3650Default30 - Max opportunities
maxOpportunitiesOptionalintegerMaximum opportunity records to return.Range1–10000Default100 - Include description
includeDescriptionOptionalbooleanInclude the full opportunity description text.Defaulttrue
Output
Field structure of a single record.
- Record ID
idstringSAM.gov notice identifier.Example12345678 - Notice ID
noticeIdstringSAM.gov notice identifier.Example12345678 - Solicitation number
solicitationNumberstringSolicitation or contract number.ExampleW912NS-14-D-0001 - Title
titlestringOpportunity title.ExampleY--IDIQ Multiple Award Task Order Contract
Pricing
Charged by the number of records successfully returned. Failed runs are not charged.
Multiple billing events accumulate independently. See each item for details. Failed runs are not charged.
View creditsRun now
Runs once for real with the parameters you enter, billed per Pricing.
Integration
With MCP you can call this Data App directly from AI clients such as Claude and Cursor.
Already connected to Octoparse Data Hub? Use it right in your chat
No setup needed. Copy this sentence to your AI and continue with what you want to do:
Not connected yet? Set it up once with any method below, and every Data App works from then on.
Client config
Replace YOUR_API_KEY with your own API key; works with all clients, CI and headless environments.Get API key →
{
"mcpServers": {
"octoparse_datahub": {
"type": "http",
"url": "https://mcp-v2.octoparse.com",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}Let AI set it up for you
Don't want to edit configs by hand? Copy the install prompt and paste it into any AI client. It will complete the setup its own way. (By default it guides you through signing in, and never asks you to send your API key in the chat.)
Notes
Scope
Reads the public SAM.gov search index for contract opportunities. This covers core opportunity search and fields; monitor history, webhooks and attachment downloading are out of scope. Active/keyword filters depend on the source index.
Not suitable for
- Non-US procurement
- Guaranteed complete attachment files
- Historical monitor state across runs
Running and canceling
This App runs asynchronously and can be canceled midway; results returned before you cancel are kept and billed as usual.
Failure handling
When connected via MCP, the AI reads these notes automatically; when using the API or SDK, handle them in your code.
- 1A failed page stops paging and keeps records already pushed
- 2Duplicate notices across pages are removed
FAQ
How is it billed?
Per record: $0.001 / record; failed runs are not billed.See Pricing →
How much can one run collect? Any limits?
Reads the public SAM.gov search index for contract opportunities. This covers core opportunity search and fields; monitor history, webhooks and attachment downloading are out of scope. Active/keyword filters depend on the source index.See Notes →
Can I use it in an AI assistant or agent?
Yes. Connect Octoparse Data Hub once and you can call every Data App by name in your chat, including bzy/sam-gov-opportunities.See Integration →