Menu

Track new SAM.gov contract opportunities with Python (no SAM.gov API key)
πŸ“°

Track new SAM.gov contract opportunities with Python (no SAM.gov API key)

DEV CommunityΒ·Data FactoryΒ·6 days ago
#7DgGz7vO
#dev#notices#agency#open#article
Reading 0:00
15s threshold

If you sell to the US federal government, SAM.gov is where the work is posted: solicitations, sources-sought notices, presolicitations and award notices from every agency. The website is fine for browsing, but most teams want something else: a list of open bids that match what they do, in a spreadsheet or CRM, refreshed every morning, with only the new ones flagged.

This tutorial shows how to get there in about 30 lines of Python, using a hosted scraper on Apify ( SAM.gov Contract Opportunities Scraper ). You don't need a SAM.gov account or API key. You need an Apify account and its API token.

What we're building

A one-off export: open IT-services opportunities (NAICS 541511/541512/541519) into sam_bids.csv , sorted by response deadline, with a direct link to the first attachment (usually the SOW or RFP).

Narrower searches by PSC code and agency (e.g. janitorial work for the Forest Service).

A daily alert that returns only notices you haven't seen yet.

1.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.