SAM.gov Scraper - Federal Contracts, RFPs & Officer Emails avatar

SAM.gov Scraper - Federal Contracts, RFPs & Officer Emails

Pricing

from $1.96 / 1,000 dataset items

Go to Apify Store
SAM.gov Scraper - Federal Contracts, RFPs & Officer Emails

SAM.gov Scraper - Federal Contracts, RFPs & Officer Emails

Extract active SAM.gov federal contract opportunities, RFPs, Sources Sought, NAICS codes, Small Business Set-Asides, and Contracting Officer (.gov/.mil) emails & phones without SAM API keys.

Pricing

from $1.96 / 1,000 dataset items

Rating

0.0

(0)

Developer

Hoan Le

Hoan Le

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Features

Limited permissions

Share

SAM.gov Scraper - US Federal Contracts, RFPs & Contracting Officer Emails

Extract active US Federal Government contract opportunities (RFPs, Sources Sought, Presolicitations, Combined Synopsis/Solicitations, Award Notices) from SAM.gov - complete with Contracting Officer (POC) .gov / .mil email addresses, phone numbers, NAICS & PSC codes, Small Business Set-Asides (SBA, 8A, SDVOSBC, WOSB), response deadlines, and agency hierarchies - with zero SAM.gov API key required.

Runs on pure lightweight HTTP HAL+JSON (256 MB RAM, zero browser overhead, zero residential proxy cost).


Key Capabilities

  • No SAM.gov API Key Required: Queries SAM.gov's public HAL+JSON search and opps/v2 detail endpoints directly without daily 10-request unverified API key bottlenecks.
  • Direct Contracting Officer (POC) Lead Extraction: Captures primaryContactName, primaryContactEmail (e.g. *.civ@mail.mil, *@va.gov), primaryContactPhone, and allContactEmails.
  • GovCon Qualification Metadata: Extracts solicitationNumber, naicsCode, pscCode, setAside (SBA, 8A, SDVOSBC, WOSB), department, agency, office, placeOfPerformance, and responseDeadline.

Input Parameters

FieldTypeDefaultDescription
keywordsstring[]["cybersecurity", "artificial intelligence"]Search keywords, NAICS codes (541512), solicitation numbers, or sam.gov/opp/... URLs.
activeOnlybooleantrueKeep only active, non-archived solicitations.
setAsideFilterstring""Optional set-aside code filter (SBA, 8A, SDVOSBC, WOSB).
requireContactEmailbooleanfalseOnly output opportunities containing at least one Contracting Officer email.
enrichOfficerContactsbooleantrueFetch opps/v2 detail JSON for POC emails, phones, NAICS, and set-asides.
maxItemsPerKeywordinteger15Max opportunities per keyword (0 = unlimited).

Sample Output Record

{
"opportunityId": "009941e4ea9e4b1588976bedeb1323ee",
"solicitationNumber": "N00019-27-RFPREQ-APM299-0678",
"title": "MH-60 Airborne Mine Countermeasure Obsolescence Support",
"noticeType": "Sources Sought",
"isActive": true,
"department": "DEPT OF DEFENSE",
"agency": "DEPT OF THE NAVY",
"office": "NAVAL AIR SYSTEMS COMMAND",
"naicsCode": "334511",
"pscCode": "K016",
"setAside": "SBA",
"responseDeadline": "2026-12-04T15:00:00-05:00",
"placeOfPerformance": "Patuxent River, MD, USA",
"primaryContactName": "Lauren R Martz",
"primaryContactEmail": "lauren.r.martz.civ@us.navy.mil",
"allContactEmails": [
"lauren.r.martz.civ@us.navy.mil",
"eric.j.richey.mil@us.navy.mil"
],
"samUrl": "https://sam.gov/opp/009941e4ea9e4b1588976bedeb1323ee/view"
}

How Much Does It Cost to Scrape SAM.gov Federal Contracts & Officer Emails?

This Actor uses transparent Pay-Per-Event (PPE) pricing - you only pay for actual dataset records returned, with zero Actor start fees and ultra-lightweight 256 MB HTTP execution (< $0.0001 platform compute per run).

  • Try for Free ($5.00 Monthly Credit Included): Every Apify Free plan includes $5.00 in monthly usage credits, letting you extract approximately 1,785 records every month completely free.
  • Automatic Store Tier Discounts (Up to 30% Off):
    • Free Tier: $2.80 per 1,000 records ($0.0028 / record)
    • Bronze Tier: $2.52 per 1,000 records
    • Silver Tier: $2.24 per 1,000 records
    • Gold / Platinum / Diamond Tiers: $1.96 per 1,000 records

AI Agents (MCP), Automation & API Quickstart

  • Apify MCP Server (Claude, Cursor, Windsurf, OpenAI Agents): Connect https://mcp.apify.com and reference hoanle0126/sam-gov-contracts-leads-scraper - full input and output schemas are exposed automatically for autonomous tool calling.
  • No-Code Workflows: Plug directly into n8n, Make, Clay, Zapier, Google Sheets, or webhooks for scheduled pipelines.

Node.js (apify-client)

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('hoanle0126/sam-gov-contracts-leads-scraper').call({
"keywords": [
"cybersecurity",
"artificial intelligence"
],
"activeOnly": true,
"setAsideFilter": "",
"requireContactEmail": false,
"enrichOfficerContacts": true,
"maxItemsPerKeyword": 15
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

cURL REST API

curl -X POST "https://api.apify.com/v2/acts/hoanle0126~sam-gov-contracts-leads-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"keywords":["cybersecurity","artificial intelligence"],"activeOnly":true,"setAsideFilter":"","requireContactEmail":false,"enrichOfficerContacts":true,"maxItemsPerKeyword":15}'

Frequently Asked Questions (FAQ)

Do I need to register for a SAM.gov API key?

No. Unlike tools gated by SAM.gov public API key rate limits (10 requests/day for unverified accounts), this Actor queries public SAM.gov HAL+JSON and opps/v2 notice endpoints directly with zero API keys.

Does it extract direct .gov and .mil Contracting Officer emails and phone numbers?

Yes. With enrichOfficerContacts: true (default), Point-of-Contact (POC) blocks are parsed into primaryContactName, primaryContactEmail, primaryContactPhone, and allContactEmails.

Can GovCon BD teams filter by Small Business Set-Asides or NAICS codes?

Yes. Pass NAICS codes ("541512") or solicitation numbers in keywords, filter setAsideFilter ("SBA", "8A", "SDVOSBC", "WOSB"), and optionally set requireContactEmail: true.

Is all extracted procurement data compliant public government data?

Yes. Every record comes strictly from public US federal solicitation notices published on sam.gov.