US Federal Contract Opportunities - SAM.gov Public Data Feed
Pricing
from $2.00 / 1,000 opportunities
US Federal Contract Opportunities - SAM.gov Public Data Feed
Daily US federal contract opportunities from the official SAM.gov public extract. Filter by NAICS, set-aside, agency, keyword, deadline; only new notices.
Pricing
from $2.00 / 1,000 opportunities
Rating
0.0
(0)
Developer
Stephen
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
24 days ago
Last modified
Categories
Features
Share
Find U.S. federal contract opportunities that fit your business. You can filter by NAICS code (prefixes work), set-aside (SBA, 8(a), HUBZone, SDVOSB, WOSB...), agency, keywords, notice type, posted date and response deadline. Schedule it daily with "new since last run" to get only fresh notices.
- Official data, no scraping. Reads the daily public Contract Opportunities extract that GSA publishes at sam.gov/data-services. No login, no key.
- Privacy-safe. Contact names, emails and phone numbers are removed, from the contact columns and from description text. Awardee names are never output.
- Clean output. Windows-1252 text is decoded correctly, garbled characters are repaired, set-aside codes are normalised, and deadlines come in UTC alongside the original value.
- Optional live API mode with your own SAM.gov public API key, for fresher data than the daily file. (API mode is tested against recorded responses only; we have not yet run it with a live key.)
Quick start
- Enter your NAICS codes (prefixes like
5415work) and, if you qualify, your set-asides (e.g.SBA,SDVOSBC,8A,WOSB). - Set Posted since (e.g.
7 days) and keep Only open on. - Click Start. The prefilled example returns up to 20 IT-services notices from the last 7 days.
- For daily bid alerts: set Output mode to
new, give the search a Snapshot name, and add a daily schedule. Each run then returns only notices that were not in the previous run of that snapshot.
Pricing (pay per event)
| Event | Price |
|---|---|
| Opportunity returned | $0.002 |
| Actor start (Apify standard, once per run) | $0.0003 |
Scanning, filtering and unchanged notices in "new" mode are free: a daily check that finds nothing new costs only the $0.0003 start. 500 opportunities cost $1.00. Set Max results or a max charge per run to cap spend.
Input examples
{"naicsCodes": ["5415"], "setAsideCodes": ["SBA", "SDVOSBC"], "postedSince": "7 days", "onlyOpen": true}
{"keywords": ["cybersecurity", "zero trust"], "agencies": ["VETERANS AFFAIRS"], "outputMode": "new", "snapshotName": "va-cyber"}
Output (one item per notice)
Full real example: listing/output-example.json.
noticeId, title, solicitationNumber, noticeType, baseType, department, subTier, office, cgac, fpdsCode, aacCode, officeLocation, postedDate (US Eastern), postedAtUtc, responseDeadline, responseDeadlineUtc, archiveDate, setAsideCode, setAside, naicsCode, classificationCode, placeOfPerformance, samUrl, additionalInfoUrl, description, award (only for award notices: number/date/amount), changeType (new/updated in 'new' modes), sourceNotes
- The public extract is rebuilt once a day (about 23:30 US Eastern) and holds active notices only (about 71k).
- "New since last run" keeps a list of notice IDs in your named key-value store
us-contract-opportunities-state. Use onesnapshotNameper saved search. - Default mode needs no key and has no request limit: it reads the public daily extract file (one download per run).
- Optional API mode uses your own SAM.gov public API key (a secret input; never logged or stored in results).
The ~10 requests/day limit reported for non-federal keys applies only to this optional API mode, not to the
default extract mode. Each request returns up to 1,000 notices;
maxApiRequestsdefaults to 3. Descriptions aren't included in API mode. (The 10/day figure comes from SAM.gov's docs/forums and we haven't verified it.) - Award notices are an optional filter, off by default. Turn on Include award notices (or pick "Award Notice" in Notice types) to get them with award number, date and amount. Awardee names are never output.
- Agency point-of-contact fields are excluded. The extract's Primary/Secondary contact name, title, email, phone
and fax columns are never output. Emails and phone numbers are also redacted from titles and descriptions, and
mailto:links are dropped (best effort). Use thesamUrllink to read the full notice on SAM.gov.
Limits
- Our test run scanned the full extract (70,878 rows, 213 MB) in about 3.5 s at 256 MB memory; the extract is streamed, not loaded into memory. 256 MB is the default.
maxResultsdefault 500. Data is as fresh as GSA's daily file (see Notes).
Use it from the API
Run it and get the results in one call (send your Apify token in the header, not in the URL):
curl -X POST "https://api.apify.com/v2/acts/noisy_jubilee~us-federal-contract-opportunities/run-sync-get-dataset-items" \-H "Authorization: Bearer $APIFY_TOKEN" -H 'Content-Type: application/json' \-d '{"naicsCodes":["5415"],"postedSince":"7 days","maxResults":20}'
You can also schedule it in Apify Console, call it from the Apify Python/JavaScript clients, or connect the dataset to Make, Zapier, Slack, email or a webhook.
FAQ
Is this scraping SAM.gov? No. It reads the public daily Contract Opportunities extract that GSA publishes for download at sam.gov/data-services. No login, no key, no page scraping.
Do I need a SAM.gov API key? No. The key is only for the optional API mode.
Why are there no contact names or emails? They are removed on purpose. Open samUrl to see the full notice on SAM.gov.
How fresh is the data? As fresh as GSA's daily file (rebuilt about 23:30 US Eastern). Schedule a daily run after that.
How do I limit cost? Set Max results and a maximum charge per run. A daily run that finds nothing new costs only the $0.0003 start.
Source and disclaimer
Data: SAM.gov Contract Opportunities public data extract, U.S. General Services Administration (https://sam.gov/data-services). This Actor is unofficial and is not affiliated with or endorsed by GSA or SAM.gov. Notice text is reproduced as published, with contact details removed. Always check the official notice before bidding.
No warranty
Provided as is, without warranty of any kind. Results are automated and can be incomplete or wrong; check anything important against the original source before relying on it.