SAM.gov Contract Opportunities Scraper
Pricing
from $0.80 / 1,000 opportunities
SAM.gov Contract Opportunities Scraper
Search US federal contract opportunities on SAM.gov by keyword, NAICS, PSC, set-aside, agency, state and dates. Each notice comes with the full description, contacts, deadlines, award details and attachment download links. No API key needed.
Pricing
from $0.80 / 1,000 opportunities
Rating
0.0
(0)
Developer
Nicolas van Arkens
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Pull US federal contract opportunities from SAM.gov into a spreadsheet or your own system. Search by keyword, or leave the keywords empty and filter by notice type, NAICS code, product and service code (PSC), set-aside, department, place of performance and dates. Every notice comes back with its full description, contacts, deadlines, set-aside, codes, award details and download links for the attached files.
It reads the same public data the sam.gov website shows, so you don't need a SAM.gov account or an API key.
What you get for each notice
- Title, notice type, solicitation number and a link to the notice on SAM.gov
- Posted date, last update, response deadline (in UTC and in the agency's own time zone) and archive date
- Department, agency, office and the office's mailing address
- NAICS codes, PSC code and set-aside
- Place of performance
- Contacts with name, email and phone
- Full description as plain text (and the original HTML when there is formatting)
- Attachments: file names, sizes and direct download links, plus any external links
- For award notices: award date, contract number, amount, and the awardee's name, UEI, CAGE code and location
Examples
Open small business solicitations for IT services
{"noticeTypes": ["o", "k"],"pscCodes": ["D"],"setAsides": ["SBA"],"responseFrom": "2026-11-20","maxItems": 500}
Everything posted in the last day for your NAICS codes (run it on a daily schedule)
{"naicsCodes": ["541511", "541512", "541519"],"postedWithinDays": 1,"maxItems": 1000}
Awards in Texas and Virginia this month, to see who wins what
{"noticeTypes": ["a"],"placeOfPerformanceStates": ["TX", "VA"],"postedFrom": "2026-11-01"}
Keyword search across all active notices
{"searchTerms": ["cybersecurity", "janitorial services"],"maxItems": 200}
Monitoring new opportunities
Save your filters as a task, set "Posted in the last N days" to 1 and schedule it daily. Each run returns only what was posted since yesterday, and you can send the results to Google Sheets, Slack or email with an Apify integration.
Big searches
SAM.gov only pages through the first 10,000 results of a search. When you ask for more than that, the actor splits the search by notice type and then by date and runs each part, so you still get everything. Notices that appear in more than one part are returned and charged once.
Pricing
$0.80 per 1,000 notices, full details and attachment links included. You pay only for notices returned. Set "Maximum notices" or a maximum charge per run and the actor stops there. If a notice's details can't be loaded, it is still returned with the basic fields and you are not charged for it.
Good to know
- Only active notices are returned by default, the same as the sam.gov search page. Turn on "Include inactive and archived notices" to search the archive too.
- Keyword search uses SAM.gov's own search, which also matches words in the description, so a broad word can bring in notices you don't expect. Add a NAICS, PSC or notice type filter to tighten it.
- Contact details are what the contracting office entered, so the format varies from office to office.
- Attachment links go through SAM.gov's own download address and work without logging in. Controlled (CUI) files that need a SAM.gov login are left out.
- Turn off "Get full details" for a faster list with title, agency, dates and the start of the description.
Output example
{"noticeId": "bb6665852cce4b6d9dac1a2f15ebe06c","url": "https://sam.gov/opp/bb6665852cce4b6d9dac1a2f15ebe06c/view","title": "V--USWFS Exclusive Use Smokejumper Aircraft Dash 8","solicitationNumber": "140D0427R0118","noticeType": "Combined Synopsis/Solicitation","postedDate": "2026-11-20T21:41:50+00:00","responseDeadline": "2026-12-02T20:00:00+00:00","responseTimeZone": "America/Chicago","department": "INTERIOR, DEPARTMENT OF THE","subTier": "DEPARTMENTAL OFFICES","office": "IBC ACQ SVCS DIRECTORATE (00004)","naicsCode": "481211","pscCode": "V221","setAsideCode": "SBA","setAside": "Total Small Business Set-Aside (FAR 19.5)","primaryContactName": "Herrman, Lynn","primaryContactEmail": "lynn_herrman@ibc.doi.gov","attachmentCount": 6,"attachments": [{"name": "Sol_140D0427R0118_Amd_0002.pdf","type": "file","url": "https://sam.gov/api/prod/opps/v3/opportunities/resources/files/d8f0132904174579a929a5029f75d220/download","sizeBytes": 212832}]}
Rows have more fields than shown here. Download the results as JSON, CSV or Excel, or pull them over the Apify API.
Questions or problems
Open an issue on the Issues tab and I'll take a look.