SAM.gov Scraper: Federal Contract Opportunities
Pricing
from $2.70 / 1,000 results
SAM.gov Scraper: Federal Contract Opportunities
Scrape SAM.gov federal contract opportunities: solicitations, sources sought, RFIs and awards with NAICS, PSC, set-aside, deadline, agency, place of performance and contracting officer contacts. Filter by keyword, NAICS, state, date. No API key. $3 per 1,000.
Pricing
from $2.70 / 1,000 results
Rating
0.0
(0)
Developer
Joe Pena
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
3 hours ago
Last modified
Categories
Features
Share
What is SAM.gov Contract Opportunities Scraper?
SAM.gov Contract Opportunities Scraper gets US federal government contract opportunities from SAM.gov (formerly FedBizOpps / FBO) as clean, structured data. It covers solicitations, combined synopsis/solicitations, presolicitations, sources sought / RFIs, special notices and award notices.
Every row includes the agency, NAICS code, PSC code, set-aside (small business, 8(a), HUBZone, SDVOSB, WOSB), response deadline, place of performance, full description and the official contracting officer contacts. No SAM.gov account or API key is needed. Search by keyword, NAICS code, set-aside, notice type, state and posting date, then export to JSON, CSV or Excel, or send new bids to your CRM every day.
What data can you extract from SAM.gov?
| Field | Example |
|---|---|
title | Janitorial Services Needed for the Eleven Point Ranger District |
noticeType | Combined Synopsis/Solicitation |
department / subTier / office | AGRICULTURE, DEPARTMENT OF / FOREST SERVICE / USDA-FS, CSA EAST 6 |
naicsCode / pscCode | 561720 / S201 |
setAsideCode / setAside | SBA / Total Small Business Set-Aside (FAR 19.5) |
postedDate / responseDeadline | 2026-11-05 / 2026-11-13 (UTC ISO 8601) |
placeOfPerformanceCity / placeOfPerformanceState | Doniphan / MO |
contacts | Official points of contact: name, email, phone |
attachments | Solicitation PDFs, amendments and Q&A with direct download links (optional) |
url | Link to the notice on sam.gov |
All fields: noticeId, title, solicitationNumber, noticeType, noticeTypeCode, department, subTier, office, officeAddress, postedDate, modifiedDate, responseDeadline, responseTimeZone, isActive, isCanceled, awardee, awardAmount, awardDate, url, descriptionSnippet, naicsCode, pscCode, setAsideCode, setAside, placeOfPerformanceCity/State/Zip/Country, contacts, description, attachments, scrapedAt.
SAM.gov scraper features
- 🔎 Search filters: keywords, NAICS codes, PSC codes, agencies, notice types, set-asides, place-of-performance states, posted within N days
- 📎 Attachment links: solicitation documents, amendments and Q&A with direct download URLs
- 🔔 Monitor mode: return only notices that are new since the last run, for daily bid alerts
- ⏰ Still open for responses: drop notices whose response deadline has passed
- 📇 Contracting officer contacts from each notice
- 🏛️ Full agency hierarchy (department, sub-tier, office), filled in from SAM.gov's federal hierarchy when a notice omits it
- 🔁 Built for daily monitoring: turn on monitor mode, schedule it, and send results to Google Sheets, Slack, email or your CRM
- 🧹 De-duplicated across keywords, normalized UTC dates, plain-text descriptions
How to find federal contract opportunities on SAM.gov
- Enter keywords (e.g.
cybersecurity,janitorial) and/or NAICS codes (e.g.541512). - Optionally add PSC codes (e.g.
S201) or agencies (e.g.FOREST SERVICE,DEPT OF THE NAVY), pick notice types and set-asides, turn on Still open for responses, or set Posted within last N days. - Click Start, then export from the Output tab or use the API.
Input examples
Daily feed of new small-business IT bids:
{ "naicsCodes": ["541511", "541512", "541519"], "setAsides": ["SBA"], "noticeTypes": ["o", "k", "p", "r"], "postedWithinDays": 1, "maxItems": 500 }
Research a topic, open bids only:
{ "keywords": ["cybersecurity"], "sortBy": "relevance", "openForResponseOnly": true, "maxItems": 100 }
Janitorial bids from the Forest Service with attachment links:
{ "pscCodes": ["S201"], "agencies": ["FOREST SERVICE"], "includeAttachments": true, "openForResponseOnly": true, "maxItems": 50 }
Agencies accept the official name from SAM.gov's federal hierarchy, a common acronym (GSA, DOD) or a numeric org ID. The run log shows which organization each entry matched; entries that can't be matched are skipped with a warning.
Output example
{"noticeId": "4c022b2d855042b19d7da16523a179f7","title": "Janitorial Services Needed for the Eleven Point Ranger District- Mark Twain N.F.","solicitationNumber": "12444527Q0007","noticeType": "Combined Synopsis/Solicitation","department": "AGRICULTURE, DEPARTMENT OF","subTier": "FOREST SERVICE","office": "USDA-FS, CSA EAST 6","naicsCode": "561720","pscCode": "S201","setAsideCode": "SBA","setAside": "Total Small Business Set-Aside (FAR 19.5)","postedDate": "2026-11-05T17:01:00+00:00","responseDeadline": "2026-11-13T15:00:00+00:00","placeOfPerformanceCity": "Doniphan","placeOfPerformanceState": "MO","url": "https://sam.gov/opp/4c022b2d855042b19d7da16523a179f7/view","contacts": [{"type": "primary","name": "(contracting officer name)","email": "(official .gov/.mil email)","phone": "(phone)"}]}
Monitor mode: only new notices since the last run
Turn on Only new notices since last run (onlyNew: true) and the Actor remembers every notice it has returned for that search. The next run returns only notices it hasn't returned before, so you pay only for new results.
- The first run returns everything that currently matches and saves it as the baseline.
- Seen IDs are stored in a named key-value store in your Apify account (
data-factory-samgov-monitor), one record per search. The record name comes from your search filters, so different searches keep separate histories. - Want to keep one history while you adjust filters? Set Monitor name (
monitorKey), e.g."daily-alert". - To start over, delete that record (or the whole store) in Storage → Key-value stores.
Schedule it for daily alerts
- Configure your search, turn on Only new notices since last run, and save it as a task.
- Create an Apify Schedule for that task (daily or hourly).
- Add an integration (Slack, email, Google Sheets, Zapier, Make or a webhook) to push each run's new notices where your team works.
{ "naicsCodes": ["541511", "541512", "541519"], "noticeTypes": ["o", "k", "p", "r"], "openForResponseOnly": true, "onlyNew": true, "maxItems": 500 }
How much does it cost to scrape SAM.gov?
Pay-per-result: $3.00 per 1,000 notices ($0.003 per notice), with full details and contacts included.
- 100 contract opportunities = $0.30
- 1,000 contract opportunities = $3.00
- Apify's free plan includes $5 of monthly usage, which covers roughly 1,600 notices with this Actor.
Use Max notices to cap the cost of any run.
Who uses SAM.gov contract data?
- Government contractors and small businesses looking for bids to win
- GovCon consultants and proposal writers building pipelines for clients
- BD and sales teams that sell to agencies and need the contracting officer's details
- Researchers and journalists tracking federal procurement
SAM.gov API alternative: run it from your code
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("data_factory_nerd/sam-gov-contract-opportunities").call(run_input={"naicsCodes": ["541512"], "setAsides": ["SBA"], "postedWithinDays": 7, "maxItems": 200})for notice in client.dataset(run["defaultDatasetId"]).iterate_items():print(notice["title"], notice["responseDeadline"], notice["url"])
FAQ
Is SAM.gov data public?
Yes. SAM.gov contract opportunities are public US government information. Contacts are the official government points of contact published on each notice.
Do I need a SAM.gov account or API key?
No.
How fresh is the data?
Every run queries SAM.gov live.
What do the notice type codes mean?
o = Solicitation, k = Combined Synopsis/Solicitation, p = Presolicitation, r = Sources Sought, s = Special Notice, a = Award Notice, u = Justification (J&A), i = Intent to Bundle, g = Sale of Surplus Property.
Can I download the solicitation documents?
Yes. Turn on Include attachment links. Each notice gets an attachments list with the file name, size, posted date and a sam.gov download URL that redirects to the file.
Need awards history by vendor?
Open an issue on the Issues tab. Requests decide what we build next.
Related Actors by data_factory_nerd
| Actor | What it does |
|---|---|
| Greenhouse Jobs Scraper | All open jobs from any company's Greenhouse careers page, with salaries |
| Multi-ATS Jobs Scraper | Greenhouse, Lever, Ashby, Workable, Recruitee and SmartRecruiters jobs in one dataset |