SAM.gov Federal Contract Opportunities Scraper
Pricing
$2.00 / 1,000 opportunity saveds
SAM.gov Federal Contract Opportunities Scraper
Search SAM.gov federal opportunities without an API key. Filter by keyword, NAICS, agency, set-aside and notice type. Export privacy-safe flat records or monitor only new notices across scheduled runs.
Pricing
$2.00 / 1,000 opportunity saveds
Rating
0.0
(0)
Developer
abhinav subedi
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Features
Share
Find federal contracting opportunities without a SAM.gov API key. Export flat, source-linked records for bid pipelines, market research, small-business opportunity discovery and award tracking. Schedule monitor runs to deliver only previously unseen notice IDs.
Quick start
Run with defaults for the latest 100 active notices, or use:
{"keywords": "cybersecurity","naics": "541512","activeOnly": true,"maxResults": 50,"maxScanResults": 1000,"monitorMode": false}
Download the dataset as JSON, CSV, Excel or feed it into your CRM via the Apify API. No SAM.gov credentials, paid API subscription, or proxy configuration required.
Inputs
| Input | Default | Purpose |
|---|---|---|
keywords | all | SAM.gov full-text search phrase |
naics | all | One exact NAICS code, e.g. 541512 |
setAside | all | One code: e.g. SBA (total small business), 8A, HZC, SDVOSBC, WOSB |
noticeType | all | p presolicitation, o solicitation, k combined synopsis, r sources sought, s special notice, a award, u justification, i intent to bundle |
agencyId | all | SAM.gov organization ID, e.g. 100000000 (Defense), matched at any hierarchy level |
activeOnly | true | Exclude inactive/archived notices |
postedFrom, postedTo | none | Inclusive UTC posting dates, YYYY-MM-DD |
maxResults | 100 | Maximum output/chargeable results, 1–10,000 |
maxScanResults | 1000 | Maximum source records examined, 1–10,000 |
monitorMode | false | Emit only notices not already delivered |
seenStoreName | sam-gov-opportunities-seen | Named persistent key-value store for monitor history |
Filters combine with AND. Keyword search uses SAM.gov's search semantics. Searches are sorted by most recently modified date. Posted-date filtering happens locally, so older date ranges may require a narrower keyword/agency/NAICS query or a larger scan limit. SAM.gov caps each query at 10,000 records; this is not a complete historical database export. SUMMARY in the run key-value store reports scanned/saved counts and limit flags. A scan-limit warning means more matches may exist.
Output example
{"noticeId": "example-notice-id","solicitationNumber": "EXAMPLE-2026-001","title": "Software support services","type": "Solicitation","typeCode": "o","agency": "DEPT OF DEFENSE","subAgency": "DEFENSE LOGISTICS AGENCY","office": "CONTRACTING OFFICE","agencyHierarchy": "DEPT OF DEFENSE > DEFENSE LOGISTICS AGENCY > CONTRACTING OFFICE","postedDate": "2026-11-01T12:00:00+00:00","modifiedDate": "2026-11-01T12:00:00+00:00","responseDeadline": "2026-12-01T17:00:00+00:00","naics": "541512","psc": "D302","setAside": "Total Small Business Set-Aside (FAR 19.5)","setAsideCode": "SBA","placeOfPerformance": "Washington, DC, USA","awardNumber": null,"awardDate": null,"awardAmount": null,"awardeeUei": null,"descriptionSnippet": "Software support services for agency operations.","url": "https://sam.gov/opp/example-notice-id/view","active": true}
Missing source fields are null. Multiple codes or locations are separated by |. Award fields are populated only when available in search results. Descriptions are plain-text snippets up to 1,000 characters, not full solicitation documents. This Actor does not download attachments or fetch additional detail endpoints.
Privacy
Point-of-contact objects, names, email addresses, phone numbers and fax numbers are not exported. Known contact names are scrubbed from text, email/phone patterns are redacted, and labelled contact sections are omitted. Awardee names are intentionally not exported (an awardee can be an individual); organizational UEI is provided instead. This is opportunity intelligence, not a personal-contact lead list.
Monitor mode
Enable monitorMode and choose a unique seenStoreName for each search. The first run outputs matching current notices; later runs skip IDs already output successfully, including amendments to the same ID. Only emitted notices enter history, so skipped or charge-limited notices remain eligible. History is a named key-value store and survives run storage cleanup. Change the store name or delete that store to start fresh. Do not run concurrent executions against the same history store: check-and-write is not atomic. A crash after dataset write but before history write can replay the last item; deduplicate downstream by noticeId for exactly-once workflows.
Use Apify schedules for daily or hourly searches. Keep filters stable per store. Monitoring scans the newest modified notices up to maxScanResults; increase the limit or run more frequently to avoid missing busy intervals. This is new-ID monitoring, not amendment tracking or a guarantee of exhaustive coverage.
Pricing
$2.00 per 1,000 results ($0.002 per opportunity), no startup event or extra detail fees. Only delivered dataset items incur the result event. Monitor duplicates and nonmatching notices are not charged. Set a maximum total charge in Apify run settings; the SDK stops output at that cap. Platform usage terms and your Apify plan still apply; the live Store pricing panel is authoritative.
Reliability and limitations
Transient source errors are retried three times with timeouts. A persistent HTTP or schema error fails the run instead of presenting a successful empty search. Previously saved output remains available. SAM.gov may change its public search API or restrict availability; no completeness, deadline, or award accuracy guarantee is made. Always verify notices, amendments and submission instructions on the linked SAM.gov page before bidding. Not affiliated with or endorsed by SAM.gov or the U.S. government.
Local development
npm cinpm test# Save input to storage/key_value_stores/default/INPUT.jsonapify run --purgeapify push
publish.mjs configures only this Actor's pay-per-event pricing and Store metadata after deployment. It requires APIFY_TOKEN and never changes other Actors.