Scraping SAM.gov + USASpending for Federal Contracts (No API Key, in Python)

TL;DR AI
2 min readKey summary
A Python scraper on Apify combines SAM.gov solicitations with USASpending.gov award data in one workflow.
It can start without a USASpending API key and treats a SAM.gov key as optional.
The scraper also collects SAM.gov attachment URLs for easier follow-up.
Opportunities are ranked with TF-IDF and synonym expansion instead of an LLM.
The workflow helps teams spot relevant federal contracts and compare them with past awards faster.

