SAM.gov Contract Opportunities Scraper avatar

SAM.gov Contract Opportunities Scraper

Pricing

from $2.00 / 1,000 sam.gov opportunity scrapeds

Go to Apify Store
SAM.gov Contract Opportunities Scraper

SAM.gov Contract Opportunities Scraper

Search US federal contract opportunities on SAM.gov by keyword, notice type, set-aside, NAICS code, state and dates. Pay per opportunity.

Pricing

from $2.00 / 1,000 sam.gov opportunity scrapeds

Rating

0.0

(0)

Developer

nanodata

nanodata

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

17 days ago

Last modified

Features

Limited permissions

Share

Search the US federal contract opportunities published on SAM.gov and get one clean row per notice. Use it to find bids, track an agency or an industry code, watch award notices, or build a lead list of government buyers.

All data is public information published by US government agencies.

What you get

For every notice the run returns:

  • Notice id, link to the SAM.gov page, title, solicitation number
  • Notice type (solicitation, presolicitation, sources sought, special notice, award and more) and its code
  • Department, sub-tier agency and contracting office, with office address and the full agency chain
  • Posting date, last change date, response deadline and time zone, active and canceled flags
  • Parent notice id and number of changes
  • The first part of the notice text
  • For award notices: awardee name and unique entity id, award date, amount and contract number

Turn on Include notice details to also get, for each notice:

  • NAICS codes and the product or service code
  • Set-aside code and description
  • Archive date
  • Place of performance
  • The published contact persons (name, title, email, phone) as listed on the notice
  • The full notice text and the CAGE code and address of an awardee

Pricing

Pay per result. You are charged for these events only:

Event nameWhen it is chargedPrice
actor-startOnce per run, together with the first delivered rows$0.001
opportunity-resultFor each opportunity row delivered to the dataset$0.002 ($2.00 per 1,000)

A run with no matches delivers no rows and is not charged. If you set a maximum cost per run, the run stops cleanly when the limit is reached and reports how many rows it delivered.

Input

FieldMeaning
queriesSearch words. Each entry is its own search. Leave empty to list the newest notices that match your filters.
maxResultsTotal number of opportunities for the run (default 100, up to 10,000). It is shared evenly between the search words. A number written as text such as "50" works too.
isActiveOn by default: only active notices. Turn off to search archived and inactive notices.
noticeTypesLetters p, r, o, k, s, i, a, g, u or words such as solicitation, award, sources sought.
setAsideSet-aside codes such as SBA or 8A.
naicsNAICS codes, 2 to 6 digits.
placeOfPerformanceStateTwo letter state codes.
postedFrom, postedToPosting date range, format YYYY-MM-DD (US Eastern days).
modifiedFrom, modifiedToLast change date range.
responseFrom, responseToResponse deadline range.
sort-modifiedDate (most recently changed first, default) or -relevance.
includeDetailsAdds the detail fields listed above. One extra request per notice.

An empty input runs a small demo with the 5 most recently changed active notices.

Example: software and security bids

{
"queries": ["software", "cybersecurity"],
"maxResults": 60
}

Example: open small business solicitations in IT services in Virginia

{
"noticeTypes": ["solicitation", "combined"],
"setAside": ["SBA"],
"naics": ["541511"],
"placeOfPerformanceState": ["VA"],
"maxResults": 50,
"includeDetails": true
}

Example: notices posted in the last week of October

{
"queries": ["road maintenance"],
"postedFrom": "2026-10-25",
"postedTo": "2026-10-31"
}

Output sample

{
"noticeId": "a9e32acc441742bca1877cfd1c541cc9",
"url": "https://sam.gov/opp/a9e32acc441742bca1877cfd1c541cc9/view",
"title": "7H20 - Sole Source Remote Automated Laboratory System Software and Support",
"solicitationNumber": "36C26127P0045",
"noticeType": "Award Notice",
"noticeTypeCode": "a",
"isActive": true,
"postedDate": "2026-11-05T19:10:14+00:00",
"modifiedDate": "2026-11-05T19:10:14+00:00",
"responseDeadline": null,
"department": "VETERANS AFFAIRS, DEPARTMENT OF",
"subTier": "VETERANS AFFAIRS, DEPARTMENT OF",
"office": "261-NETWORK CONTRACT OFFICE 21 (36C261)",
"officeLocation": "10535 HOSPITAL WAY, MATHER, CA, 95655",
"awardeeName": "ABBOTT RAPID DIAGNOSTICS INFORMATICS, INC",
"awardeeUei": "H6ZLTSJFD465",
"description": "The Department of Veterans Affairs awarded a firm-fixed-price contract to ...",
"descriptionTruncated": true,
"detailsIncluded": false,
"searchQuery": "software"
}

Fields that a notice does not have are returned as null.

Limits

  • SAM.gov returns at most 10,000 records per search. Split larger jobs by date range or NAICS code.
  • Notice text in the list answer is the first part only. Turn on includeDetails for the full text.
  • Rows are unique by notice id within a run, also across several search words.

FAQ

Is this data public? Yes. SAM.gov publishes contract opportunities for anyone to read. Contact persons are the government officers named on the notice.

Do I need a SAM.gov account or an API key? No.

Why are NAICS, set-aside and contacts empty? Those fields come from the notice detail. Turn on includeDetails to get them.

How fresh is the data? Each run reads the live search, so rows match what SAM.gov shows at that moment.

What happens if the run is restarted by the platform? The run keeps its progress and continues without repeating rows or charging them twice.

What if SAM.gov changes its format? The run checks the shape of every answer. If it no longer matches, the run stops with a clear message instead of returning an empty result.

Can I filter by agency? Use search words such as the agency name. A dedicated agency filter is not offered.