# SAM.gov Federal Contracts, Bids, Awards & Contacts Scraper (`bifrost-data/samgov-federal-contracts-leads-scraper`) Actor

Extract active US federal contract opportunities, RFPs, Sources Sought, Small Business/8(a)/SDVOSB set-asides, contract awards, attachment links, and Contracting Officer emails/phones from SAM.gov with no API key required. Ready for Clay, HubSpot, Salesforce, Excel, n8n, Make, and AI agents.

- **URL**: https://apify.com/bifrost-data/samgov-federal-contracts-leads-scraper.md
- **Developed by:** [SEOK HOON HONG](https://apify.com/bifrost-data) (community)
- **Categories:** Lead generation, Jobs, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 verified sam.gov contract leads

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## SAM.gov Federal Contracts, Bids, Awards & Contracting Officer Contacts Scraper

Turn **SAM.gov** into a clean, daily B2B deal-flow and GovCon lead feed—**without a Login.gov account, without 90-day expiring SAM.gov API keys, and without noisy broken rows**. Export open federal RFPs, Sources Sought notices, Small Business / 8(a) / SDVOSB set-asides, newly won prime contract awards, RFP/SOW PDF download links, and **direct Contracting Officer emails and phone numbers** straight to **Excel, Google Sheets, Clay, HubSpot, Salesforce, n8n, Make, or AI agents**.

### Sample Output JSON (1 Row = 1 Qualified Federal Contract Lead)

```json
{
  "notice_id": "f88dcff0842841ae80f852b5151ac325",
  "solicitation_number": "47QTCK26R0042",
  "title": "Zero Trust Cloud Cybersecurity & SOC Modernization Support",
  "notice_type_code": "o",
  "notice_type": "Solicitation",
  "is_active": true,
  "is_canceled": false,
  "department": "GENERAL SERVICES ADMINISTRATION",
  "sub_tier_agency": "FEDERAL ACQUISITION SERVICE",
  "office": "GSA FAS AAS OFFICE OF IT SYSTEMS",
  "primary_naics": "541512",
  "naics_codes": ["541512", "541519"],
  "psc_code": "DA01",
  "set_aside_code": "SBA",
  "set_aside_description": "Total Small Business Set-Aside (FAR 19.5)",
  "publish_date": "2026-11-20T14:15:00+00:00",
  "modified_date": "2026-11-25T18:30:00+00:00",
  "response_deadline": "2026-12-18T22:00:00+00:00",
  "days_until_deadline": 22,
  "place_city": "Reston",
  "place_state": "VA",
  "place_country": "USA",
  "place_of_performance": "Reston, VA, USA",
  "primary_contact_name": "Sarah M. Jenkins",
  "primary_contact_title": "Contracting Officer",
  "primary_contact_email": "sarah.jenkins@gsa.gov",
  "primary_contact_phone": "+1-703-605-5500",
  "secondary_contact_email": "it-procurements@gsa.gov",
  "contacts": [
    {
      "type": "primary",
      "name": "Sarah M. Jenkins",
      "title": "Contracting Officer",
      "email": "sarah.jenkins@gsa.gov",
      "phone": "+1-703-605-5500"
    }
  ],
  "award_number": null,
  "delivery_order_number": null,
  "award_amount_usd": null,
  "award_date": null,
  "awardee_name": null,
  "awardee_uei": null,
  "attachment_count": 2,
  "attachments": [
    {
      "name": "RFP_47QTCK26R0042_Statement_of_Work.pdf",
      "mime_type": "application/pdf",
      "size_bytes": 418920,
      "posted_date": "2026-11-20",
      "download_url": "https://sam.gov/api/prod/opps/v3/opportunities/resources/files/94296fbff67c8764d4306a6c4f27c950/download?api_key=null&token="
    }
  ],
  "description_excerpt": "The General Services Administration (GSA) Office of IT Systems is soliciting proposals from qualified small businesses to provide Zero Trust architecture...",
  "sam_url": "https://sam.gov/opp/f88dcff0842841ae80f852b5151ac325/view",
  "source_api_url": "https://sam.gov/api/prod/opps/v2/opportunities/f88dcff0842841ae80f852b5151ac325",
  "scraped_at": "2026-11-26T06:00:00Z"
}
```

### Who Uses This & High-ROI Workflows

- **GovCon Capture & Business Development Teams**: Catch **Sources Sought (`r`)** and **Presolicitations (`p`)** early—while Contracting Officers are still shaping set-aside decisions—with direct `.gov`/`.mil` contact emails ready for capability-statement outreach.
- **Subcontracting & B2B Vendor Sales Teams (Clay / HubSpot / Apollo)**: Filter **Award Notices (`a`)** to get a daily list of prime contractors (`awardee_name`, `awardee_uei`, `award_amount_usd`) who *just won* million-dollar federal contracts and urgently need staffing, software, logistics, or compliance subcontractors.
- **Small Business, 8(a), SDVOSB, HUBZone & WOSB Contractors**: Filter strictly to your exact **NAICS codes** (e.g., `541512`, `236220`, `561720`), **US states**, and **set-aside categories**—you pay **$0.00** for notices filtered out before saving.
- **RFP Proposal Consultants & AI Triage Agents**: Feed `attachments[].download_url` and `description_excerpt` directly into **n8n, Make, Zapier, or Claude/GPT MCP agents** to score bid/no-bid fit automatically every morning.

### Why Teams Switch From Other SAM.gov Scrapers

1. **Zero SAM.gov API Key Hassle**: Personal SAM.gov API keys require Login.gov 2FA, cap you at tiny daily quotas, and expire every 90 days. This Actor reads SAM.gov's public search and notice detail services directly—no keys, no logins.
2. **Real Post-Enrichment Filtering (Fixes SAM's Ignored Search Filters)**: SAM.gov's public search endpoint ignores several filter flags unless verified on the detail record. Our engine enriches the detail record first and enforces exact NAICS, set-aside, state, deadline, and contact-email filters—charging **only** for verified matches saved to your dataset.
3. **Built-In Silent-Failure Protection & Daily Canary Monitoring**: Automatically detects upstream schema changes or soft blocks instead of silently returning broken empty tables, backed by automated daily canary health checks.

### Transparent Pay-Per-Event Pricing

- **$2.00 per 1,000 verified contract leads** (`$0.002` per saved lead), with automatic **10%–20% volume discounts** on Apify Bronze, Silver, and Gold+ plans.
- **$0.00** for filtered-out notices, expired deadlines, or duplicates. No separate proxy setup needed.

### One-Click Example Tasks & Automation Playbooks (n8n · Make · Clay · MCP)

- [Federal IT & Cybersecurity RFPs With Contracting Officer Emails](https://apify.com/bifrost-data/samgov-federal-contracts-leads-scraper/examples/find-federal-it-cybersecurity-rfps-with-contacts)
- [Small Business, 8(a) & SDVOSB Set-Aside Federal Bids Monitor](https://apify.com/bifrost-data/samgov-federal-contracts-leads-scraper/examples/monitor-small-business-8a-sdvosb-set-aside-bids)
- [Federal Contract Awards, Awardee UEIs & Sole-Source J\&A Leads](https://apify.com/bifrost-data/samgov-federal-contracts-leads-scraper/examples/track-federal-contract-awards-and-sole-source-ja)
- **Copy-Paste n8n & Make Blueprints**: [Open B2B Lead Automation Playbooks (GitHub)](https://github.com/ballostark-wq/b2b-lead-automation-playbooks)

### Related B2B Lead & Compliance Tools by `bifrost-data`

- [Y Combinator Startups, Founders & Hiring Signal Lead Scraper (`$2.80/1k`)](https://apify.com/bifrost-data/ycombinator-startups-founders-hiring-scraper)
- [FMCSA Trucking, Motor Carrier & New Authority Lead Scraper (`$2.60/1k`)](https://apify.com/bifrost-data/fmcsa-trucking-carrier-leads-scraper)
- [Luma (`lu.ma`) Events, Hosts & Organizers B2B Lead Scraper (`$2.00/1k`)](https://apify.com/bifrost-data/luma-events-organizers-leads-scraper)
- [Resy & MICHELIN Restaurant Availability & Hospitality Lead Scraper (`$3.20/1k`)](https://apify.com/bifrost-data/resy-michelin-dining-availability-scraper)
- [Bifrost OFAC/GLEIF Sanctions, Domain MX/DMARC & SEC/KRX Remote MCP](https://github.com/ballostark-wq/bifrost-kfinance-mcp)

# Actor input Schema

## `query` (type: `string`):

Keywords to search across SAM.gov contract titles, solicitation numbers, and descriptions (e.g., 'cybersecurity', 'cloud migration', 'janitorial', 'drone'). Leave blank to browse newest notices.

## `naics_codes` (type: `array`):

Filter to one or more 2-to-6 digit NAICS industry codes (e.g., \['541512', '541519'] for IT/Cyber, \['236220'] for Commercial Construction). Non-matching notices are skipped at $0 charge.

## `notice_types` (type: `array`):

Filter by notice stage: 'o' (Solicitation/RFP), 'k' (Combined Synopsis/Solicitation), 'p' (Presolicitation), 'r' (Sources Sought/RFI), 'a' (Award Notice), 's' (Special Notice), 'j' (Justification & Approval / Sole Source). Leave empty for all types.

## `set_aside_codes` (type: `array`):

Filter by set-aside code or keyword (e.g., 'SBA' / 'Small Business', '8A', 'SDVOSB', 'HZC' / 'HUBZone', 'WOSB'). Leave empty for all competitions.

## `states` (type: `array`):

Two-letter US state/territory codes (e.g., \['VA', 'MD', 'DC', 'TX']). Leave empty for nationwide & international contracts.

## `active_only` (type: `boolean`):

Keep only active, uncanceled notices.

## `min_days_until_deadline` (type: `integer`):

Exclude solicitations whose response deadline has already passed or closes in fewer than N days (e.g., 3). Leave empty or 0 to include awards/notices without a future response deadline.

## `require_contact_email` (type: `boolean`):

When enabled, skips notices that do not publish a direct Contracting Officer email address ($0 charge for skipped rows).

## `enrich_details` (type: `boolean`):

Fetches each notice's SAM.gov detail record to populate Contracting Officer name/email/phone, exact NAICS/PSC codes, set-aside, place of performance, and awardee/dollar value.

## `include_attachments` (type: `boolean`):

Fetches public RFP, Statement of Work (SOW), and J\&A document filenames and direct download URLs.

## `sort_by` (type: `string`):

Sort results by newest modification date ('-modifiedDate') or keyword relevance ('-relevance').

## `max_items` (type: `integer`):

Maximum number of verified SAM.gov contract leads to save to your dataset.

## Actor input object example

```json
{
  "query": "cybersecurity cloud",
  "naics_codes": [],
  "notice_types": [
    "o",
    "k",
    "p",
    "r"
  ],
  "set_aside_codes": [],
  "states": [],
  "active_only": true,
  "require_contact_email": false,
  "enrich_details": true,
  "include_attachments": true,
  "sort_by": "-modifiedDate",
  "max_items": 25
}
```

# Actor output Schema

## `opportunities` (type: `string`):

Structured federal solicitations, awards, NAICS/PSC codes, deadlines, RFP attachment links, and Contracting Officer contact records.

## `runMetrics` (type: `string`):

Execution summary including HTTP requests, $0 filtered skips, error classification counters, and silent-failure checks.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "query": "cybersecurity cloud"
};

// Run the Actor and wait for it to finish
const run = await client.actor("bifrost-data/samgov-federal-contracts-leads-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "query": "cybersecurity cloud" }

# Run the Actor and wait for it to finish
run = client.actor("bifrost-data/samgov-federal-contracts-leads-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "query": "cybersecurity cloud"
}' |
apify call bifrost-data/samgov-federal-contracts-leads-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bifrost-data/samgov-federal-contracts-leads-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/hC3vEuN07JfPcwpDW/builds/mecgdHXJaF7HWsjTq/openapi.json
