Scrapers.lat logo scrapers.lat
Business

SAM.gov Federal Contract Opportunities Scraper

Scrape US federal contract opportunities from SAM.gov across all agencies. Extract title, notice type, NAICS code, set-aside, solicitation number, response deadline, place of performance, award and point of contact. Export JSON, CSV or Excel.

23 fields per record JSON · CSV · Excel · API Pay per use
sam-gov-opportunities-scraper.json 200 OK
{
  "title": "Matsushima JASDF Base Storage Shelter",
  "type": "Sources Sought",
  "baseType": "Sources Sought",
  "uiLink": "https://sam.gov/opp/79fc22889751461898c01b9ced…",
  "noticeId": "79fc22889751461898c01b9ced4787fc",
  "solicitationNumber": "FA502526QA017",
  "fullParentPathName": "DEPT OF DEFENSE.DEPT OF THE AIR FORCE.PACIFIC …",
  "postedDate": "2026-07-25T06:16:50.423+00:00",
  "responseDeadLine": "2026-08-07T11:00:00+09:00"
}
What you get

Every run returns clean, typed records, ready for your CRM, spreadsheet or database.

  • One clean record per result, deduped and normalized
  • Stable schema in JSON, CSV or Excel, or read it via the Apify API
  • Pay per use in the cloud, nothing to install or maintain
Fields it returns
TitleTypeBase TypeUi LinkNotice IdSolicitation NumberFull Parent Path NamePosted DateResponse Dead LineModified DateIs ActiveIs CanceledAwardNaics Code
Sample output

A real example record, exactly the shape you receive.

TitleTypeBase TypeUi Link
Matsushima JASDF Base Storage She…Sources SoughtSources Soughthttps://sam.gov/opp/79fc228897514…
Contractor shall furnish and inst…Combined Synopsis/SolicitationCombined Synopsis/Solicitationhttps://sam.gov/opp/f5355394bf464…
DESIGN-BUILD, P-664 FOREIGN MATER…SolicitationSolicitationhttps://sam.gov/opp/3983fe32fe334…
Construction of Fire Protection S…PresolicitationPresolicitationhttps://sam.gov/opp/20c52bb95eeb4…
Y--Repair and Replace HVAC for NP…Combined Synopsis/SolicitationCombined Synopsis/Solicitationhttps://sam.gov/opp/021257e6559c4…
GET /sam-gov-opportunities-scraper
{
  "title": "Matsushima JASDF Base Storage Shelter",
  "type": "Sources Sought",
  "baseType": "Sources Sought",
  "uiLink": "https://sam.gov/opp/79fc22889751461898c01b9ced…",
  "noticeId": "79fc22889751461898c01b9ced4787fc",
  "solicitationNumber": "FA502526QA017",
  "fullParentPathName": "DEPT OF DEFENSE.DEPT OF THE AIR FORCE.PACIFIC …",
  "postedDate": "2026-07-25T06:16:50.423+00:00",
  "responseDeadLine": "2026-08-07T11:00:00+09:00"
}

Frequently asked questions

What does the SAM.gov opportunities scraper cover?

It covers US federal contract opportunities posted on SAM.gov, the official system that replaced FedBizOpps. That includes solicitations, combined synopsis/solicitations, presolicitations, sources sought, special notices and award notices from every federal department and agency, with more than 47,000 active notices at any time.

Do I need a SAM.gov API key?

No. The scraper reads the same public data service that powers the SAM.gov search interface, so no API key, account or registration is required.

How many opportunities can I scrape in one run?

Set the Max Items input to whatever you need. You can pull a handful of recent notices or thousands across a date range. Use the search term, NAICS, set-aside, notice type and posted date filters to target exactly the opportunities you want.

Can I filter by NAICS code, set-aside or agency?

Yes. You can filter by free-text keyword, six-digit NAICS code, set-aside program, notice type and a posted/updated date window. Leave filters blank to get the most recently updated notices across all agencies.

Why are NAICS, place of performance or description sometimes empty?

Some notice types, especially award notices and simplified repair notices, do not carry a NAICS code, place of performance or full description on SAM.gov. The scraper returns every field the notice actually has and leaves the rest null rather than inventing data. Enable Fetch opportunity details to pull the richest possible record for each notice.

Ready when you are.

Run the scraper live on Apify right now, or have us build one tailored to exactly what you need.