SAM.gov Opportunities Scraper - Federal Solicitations
Pricing
from $1.20 / 1,000 results
SAM.gov Opportunities Scraper - Federal Solicitations
Search SAM.gov contract opportunities via the official API. Keyword and posted-date filters. Requires a free api.data.gov key.
Pricing
from $1.20 / 1,000 results
Rating
0.0
(0)
Developer
Brandt May
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
12 hours ago
Last modified
Categories
Share
Search SAM.gov contract opportunities through the official Get Opportunities Public API. A free Public API Key is required from SAM.gov Account Details (api.data.gov signup keys are not accepted).
What it does
Queries https://api.sam.gov/opportunities/v2/search and returns one row per notice: notice id, title, solicitation number, department path, posted date, type, and UI link.
What YOU must register (free)
| Item | Where | How to wire on Apify |
|---|---|---|
| SAM.gov Public API Key | SAM.gov -> Account Details -> Public API Key (re-enter password). Not an api.data.gov signup key — those return empty HTTP 404 on api.sam.gov. | input.apiKey (secret) or owner env SAM_API_KEY / DATA_GOV_API_KEY |
There is no keyless fallback. Without a key the official API returns 401/404. This Actor does not scrape sam.gov HTML (ToS). Personal keys are rate-limited (often ~10 req/day).
Soft-fail behavior (default)
Without apiKey (and without those env vars), softFail=true (default):
- Writes one diagnostic dataset row with a clear
note+ register URL - Sets
SUMMARY.error = missing_api_key,SUMMARY.failedSources.sam_gov, andSUMMARY.keyHelp - Run status is SUCCEEDED (soft-fail) so scaffolding / daily tests stay green
- Set
softFail=falseto throw instead
Input
- apiKey (secret) - required for live opportunities
- keyword - default
software - postedFrom / postedTo -
MM/DD/YYYY; default last ~30 days - maxResults / maxRunSeconds / softFail
Limitations
- Official API only - no HTML scraping.
- Daily request caps are low for personal keys; cache and paginate carefully.