SAM.gov Federal Opportunities Finder (Official API + Awards)
Pricing
from $3.00 / 1,000 opportunities
SAM.gov Federal Opportunities Finder (Official API + Awards)
Search official SAM.gov contract opportunities by NAICS, PSC, set-aside, agency and dates. Export a clean dataset with public notice links, add optional USAspending award history, and schedule "what's new" monitoring. Official SAM.gov API with your own free key, no scraping.
Pricing
from $3.00 / 1,000 opportunities
Rating
0.0
(0)
Developer
Lee Crowe
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
7 days ago
Last modified
Categories
Features
Share
Search current SAM.gov contract opportunities by NAICS code, PSC code, set-aside, notice type, agency, place of performance and dates, and export a clean, deduplicated dataset with public notice links. Optionally add USAspending.gov award history to each notice, and run it on a schedule to get only what's new since the last run.
It uses the official SAM.gov Get Opportunities Public API with your own free API key. It does not scrape sam.gov, and it is not affiliated with or endorsed by GSA, SAM.gov or USAspending.gov.
What it does, and what it doesn't
Does: searches the official API; maps the filters SAM.gov supports; removes duplicates; gives a notice link that opens without a SAM.gov login; optionally adds award history; supports scheduled "new or changed only" runs.
Doesn't: scrape sam.gov or any login-only portal; download attachment files (you get the links); use a shared API key; work as a bulk download of USAspending.
Who it's for
- Small and mid-size federal contractors and GovCon business-development teams.
- Consultants and MSPs selling into federal IT, who filter by NAICS and PSC.
- Researchers and lead-generation teams who want structured federal procurement data.
Get your free SAM.gov API key
- Create a free account at SAM.gov and sign in.
- Open Account Details and request a Public API Key.
- Paste the key into the SAM.gov API key field. It is stored as a secret input and is never written to logs or results.
Daily limits matter. SAM.gov sets how many requests a key may make per day. A non-federal key with no entity role is usually limited to 10 requests a day; a key with an entity role, or a system account, usually gets 1,000. Each request returns up to 1,000 notices, but each extra NAICS code, PSC code, set-aside, notice type or state you pick is another request, and "Include description text" costs one extra request per notice. If you hit the limit, the run keeps what it already collected and tells you. SAM.gov terms forbid sharing a personal key, so each user needs their own.
Input
Every filter is optional except the API key. Dates are YYYY-MM-DD.
| Field | What it does | Example |
|---|---|---|
| SAM.gov API key | Your own key (required). Stored as a secret. | |
| Title keywords | Words to match in the notice title. SAM.gov searches titles, not full text. | cybersecurity |
| NAICS codes | 2 to 6 digit industry codes. | 541511 |
| PSC codes | Product Service Codes. | D302 |
| Set-asides | Small-business program set-asides. | SBA, 8A, SDVOSBC |
| Notice types | Solicitation, Sources Sought, Award Notice and so on. Empty means all. | Solicitation |
| Agency or office name / code | Department, sub-tier or office. | Department of the Navy |
| Place of performance states / ZIP | 2-letter state codes and a 5-digit ZIP. | VA, 22201 |
| Solicitation number / Notice ID | Look up specific notices. | |
| Posted from / to | Posted date range. Defaults to the last 7 days. At most one year. | 2026-11-01 |
| Response deadline from / to | Response due date range. At most one year. | |
| Maximum results | Stop after this many unique notices (default 100, up to 10,000). | 500 |
| Include description text | Fetch each notice's full description. One extra request per notice. | off |
| Only new or changed notices / Monitor key | Scheduled monitoring; see below. | it-software-daily |
| Add USAspending award history | Past contract awards for each notice; see below. | off |
| Award history years / Awards per notice / Match awards by | Award history settings. For solicitations, match by agency and NAICS. | 3, 10, recipient |
How filters turn into requests. SAM.gov accepts one NAICS code, PSC code, set-aside, state and notice type per search, so picking several runs one search per combination and merges the results, removing duplicates. Two NAICS codes × two set-asides is four searches. A run may need at most 20 searches; beyond that the Actor stops before using any requests and asks you to narrow the filters. Each search returns up to 1,000 notices per request.
Scheduled monitoring
To get only what's new each day:
- Set up your search as usual, and leave Posted from empty.
- Turn on Only new or changed notices and give it a Monitor key, a short name for this
search such as
it-software-daily. - In Apify, add a Schedule for the task (for example every weekday at 7:00).
The first run outputs every matching notice from the last 7 days. After that, each run searches from the day of the last complete run and outputs only:
- new notices (
isNew: true), and - notices that changed since you last got them (
isNew: false), withchangeSummarylisting what changed, such asresponseDeadline, title.
Unchanged notices are skipped and not charged. If a run stops early (maximum results, the daily SAM.gov limit or your maximum cost per run), the next run searches the same days again and picks up where it left off, without resending notices you already have. Progress is saved after each page, so a run that crashes or times out doesn't resend them either.
Good to know:
- Each monitor key keeps its own history. Use a different key for each separate search.
- If you change a search's filters but keep the key, the next run searches the normal 7-day window again; notices you already got are still skipped unless they changed.
- The history is stored in a key-value store named
sam-gov-opportunities-monitorsin your Apify account. Delete themonitor-<your key>record there to start a monitor from scratch. - Changes are spotted on notices the search returns. SAM.gov returns notices by posted date, so an edit that SAM.gov makes without re-posting the notice may not be picked up.
Get new notices by email, Slack or Google Sheets
The usual setup is a daily monitor that delivers what's new to where your team already works. It takes about ten minutes, and you only do it once.
1. Save your search as a task. Set up the input as in Scheduled monitoring (your key, your filters, Only new or changed notices on, and a Monitor key), then click Save as a new task at the top right of the Actor page. The task keeps your input, so the schedule and integrations below always run the same search.
2. Run it every day. Go to Schedules → Create new. Set the time with a cron expression,
for example 0 7 * * 1-5 for 7:00 every weekday. Click Add, choose your task, then click
Enable: new schedules start disabled.
3. Send the results somewhere. Open your task's Integrations tab and add one of these.
Email (Gmail)
Choose Send results email via Gmail, click Connect with Google, and pick the account to send from. Write a subject and body, attach the results, then Save and enable it. By default an email goes out after each successful run.
Slack
Choose Slack, click Configure and connect your workspace, then pick the run-succeeded event and a channel. Paste this into Message to get the run's summary and a link to the results:
*New SAM.gov opportunities*{{resource.statusMessage}}<https://console.apify.com/storage/datasets/{{resource.defaultDatasetId}}|Open the results>
Click Save, then Start to send a test message.
Google Sheets (with Zapier)
Build a Zap that uses the Apify app:
- Trigger: Finished task run, with your task.
- Search: Fetch dataset items, using the dataset from the trigger.
- Action: Google Sheets Create Spreadsheet Row, mapping the columns you want, such as
title,department,responseDeadline,setAsideDescriptionandsamUrl.
Make and n8n have Apify modules that work the same way.
Good to know
- A day with nothing new still finishes successfully, so email and Slack still send. The summary then says "No new or changed notices", and you pay only the start fee for that run.
- Use one task, with its own monitor key, for each separate search, for example one per NAICS family or per customer.
USAspending award history
Turn on Add USAspending award history to attach past federal contract awards to each notice saved. It uses the public USAspending.gov API, needs no key, and uses none of your SAM.gov requests.
Match awards by decides which awards count as related. Pick one or more; they are combined:
| Choice | Matches awards… | Good for |
|---|---|---|
| Recipient | to the company named as awardee | Award notices: the winner's track record |
| Awarding agency | made by the notice's sub-agency (for example Department of the Army) | Solicitations: who this buyer pays |
| NAICS code | in the notice's NAICS code | Solicitations: who wins this kind of work |
Recipient is the default, but only award notices name an awardee. For solicitations and sources sought notices, choose agency and NAICS together to see who has won similar work from the same buyer.
Nothing is guessed. A detail the notice doesn't have is left out of the match, and
matchedOn lists what was actually used. A notice with nothing to match on gets no award history
and isn't charged for it.
- Agency is matched by the official sub-agency code, not by name, so two agencies with similar names (both Interior and Treasury have "Departmental Offices") are never mixed up.
- Recipient is matched by the company's UEI. SAM.gov rarely publishes the awardee's UEI, so the
Actor finds it on USAspending: first from the notice's own award number, then from past awards
to a company whose name is exactly the awardee's (ignoring case and punctuation). If two
companies share that name, there is no match.
recipientMatchedBysays which way was used. USAspending receives contract data days to weeks after the award (DoD awards up to 90 days later), so for a brand-new award the award itself usually isn't listed yet.
Each enriched notice gets a usaspending object:
{"matchedOn": ["agency", "naics"],"recipientMatchedBy": null,"recipientUei": null,"recipientName": null,"agency": "Example Sub-Agency","naicsCode": "541511","windowStart": "2023-11-14","windowEnd": "2026-11-14","awardCountInWindow": 235,"obligatedAmountInWindow": 54356713.02,"awards": [{"awardId": "CONT_AWD_EXAMPLE0001_0000_-NONE-_-NONE-","piidOrFain": "EXAMPLE0001","awardType": "DELIVERY ORDER","recipientName": "EXAMPLE SOLUTIONS LLC","recipientUei": "EXAMPLEUEI12","awardingAgency": "Example Sub-Agency","naicsCode": "541511","obligation": 1137898.8,"startDate": "2026-09-29","endDate": "2027-09-28","usaspendingUrl": "https://www.usaspending.gov/award/CONT_AWD_EXAMPLE0001_0000_-NONE-_-NONE-"}]}
awardCountInWindowcounts every contract award with activity in the window, andobligatedAmountInWindowadds up the dollars obligated in it.awardslists only the most recent (by start date), up to Awards per notice; eachobligationis that award's total.- Only contracts are searched (definitive contracts, purchase orders, delivery and task orders), not grants or loans.
- If USAspending is unavailable, notices are still saved with
usaspendingempty, the status message says so, and those notices aren't charged for award history. The run itself doesn't fail. - Notices that share a match (same agency and NAICS, say) reuse one lookup, so large runs stay quick.
Output
One row per unique notice. Main fields:
| Field | Meaning |
|---|---|
noticeId, solicitationNumber, title | Identifiers and title. |
noticeType | Label plus code, such as Solicitation (o). |
postedDate, responseDeadline, archiveDate | ISO 8601 dates. |
naicsCode, pscCode | Industry and product codes. |
setAsideCode, setAsideDescription | Empty when the notice has no set-aside. |
department, subtier, office, organizationName | The issuing organization. |
placeOfPerformance | City, state, ZIP and country where available. |
pointOfContact | Contracting contacts as published on the notice. |
award | Award number, amount, date and awardee, on award notices. |
resourceLinks | Attachment links. Files are not downloaded. |
samUrl | Public SAM.gov page for the notice. Opens without a SAM.gov login. |
descriptionText | Full description, only when "Include description text" is on. |
isNew, changeSummary | In scheduled monitoring: whether the notice is new, and which fields changed if not. |
usaspending | Award history, when turned on; see above. Not compared between scheduled runs. |
Sample record (fictional):
{"noticeId": "0a1b2c3d4e5f60718293a4b5c6d7e8f9","solicitationNumber": "EXAMPLE-26-R-0001","title": "Cloud Help Desk Support Services","noticeType": "Combined Synopsis/Solicitation (k)","postedDate": "2026-11-10","responseDeadline": "2026-12-05T19:00:00.000Z","naicsCode": "541511","pscCode": "DA01","setAsideCode": "SBA","setAsideDescription": "Total Small Business Set-Aside (FAR 19.5)","department": "EXAMPLE DEPARTMENT","subtier": "EXAMPLE SUB-AGENCY","office": "EXAMPLE CONTRACTING OFFICE","placeOfPerformance": { "city": "Richmond", "state": "VA", "zip": "23219", "country": "USA" },"pointOfContact": [{ "type": "primary", "title": "Contracting Officer", "fullName": "Jane Example", "email": "jane.example@example.gov", "phone": "555-0100" }],"award": null,"resourceLinks": [],"samUrl": "https://sam.gov/opp/0a1b2c3d4e5f60718293a4b5c6d7e8f9/view","source": "sam.gov","isNew": true,"retrievedAt": "2026-11-14T15:00:00.000Z"}
At the end of each run the status message says how many notices were saved, how many SAM.gov requests were used, how many notices got award history, and why the run stopped (end of results, maximum reached, or daily limit).
Pricing
| Event | Price (Bronze) |
|---|---|
| Run start | $0.01 |
| Each opportunity in the results | $0.003 ($3 per 1,000) |
| Each notice whose award history finds at least one award | $0.005 |
Not charged: duplicates, unchanged notices in scheduled runs, notices with nothing to match awards on, award lookups that find no awards, failed award lookups, and description fetches. A run whose SAM.gov key is rejected saves nothing and is charged only the start fee.
Example: a daily monitor that finds 20 new notices, without award history, costs about $0.01 + 20 × $0.003 = $0.07 a run.
Maximum cost per run. If you set a maximum cost per run in the run options, the Actor never goes over it. It checks the budget before doing the work: a notice is saved only if the budget covers it, and it stops before asking SAM.gov for a page it couldn't afford to save, so your daily SAM.gov requests aren't wasted. Notices come first. When the budget runs short, the remaining notices are saved without award history, and the status message says so. In scheduled monitoring, notices left out this way are picked up by the next run.
Legal
Data comes from the official SAM.gov and USAspending.gov public APIs, called with your own SAM.gov key under the SAM.gov Terms of Use. Published by Lee Crowe Software Solutions LLC. Not affiliated with GSA, SAM.gov or USAspending.gov.
FAQ
Why do I need my own SAM.gov key? SAM.gov's terms forbid sharing a personal API key, so each user needs their own. The key is free; see above.
Why did my run stop early? The status message always says why: the maximum results you set, your key's daily SAM.gov limit (the results collected before it are kept), or your maximum cost per run.
Why did a notice get no award history? It had nothing to match on: recipient matching only works on award notices, which name an awardee. Use agency and NAICS for solicitations. Notices without award history aren't charged for it, and neither are lookups that find no past awards.
Are attachments downloaded? No. resourceLinks lists the attachment links SAM.gov publishes.
Is the data official? Yes: everything comes straight from the SAM.gov and USAspending.gov
public APIs. The Actor reshapes it and adds a few labels of its own (such as isNew and
matchedOn), but doesn't change what the agency published, so a notice is only as accurate as its
SAM.gov posting.
Changelog and issues
See the Changelog tab for what changed in each version. To report a problem or ask for a feature, open an issue on the Issues tab of this Actor's page; include the run ID, never your API key.