# SAM.gov Contract Opportunities – Federal RFPs & Bids (`coveandcolumn/sam-gov-opportunities`) Actor

Find open U.S. federal contract opportunities from SAM.gov: solicitations, RFQs/RFPs, presolicitations, sources sought and award notices. Filter by keyword, NAICS, PSC, set-aside, agency, state and date. Contacts, deadlines and full descriptions.

- **URL**: https://apify.com/coveandcolumn/sam-gov-opportunities.md
- **Developed by:** [Cove & Column](https://apify.com/coveandcolumn) (community)
- **Categories:** Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 opportunities

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/running/actors-in-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

## How to use SAM.gov Contract Opportunities – Federal RFPs & Bids

Find **open U.S. federal government contract opportunities** from **SAM.gov** (System for Award Management, formerly FedBizOpps/FBO) in seconds. Get solicitations, RFPs, RFQs, combined synopses, presolicitations, sources sought, special notices and award notices as clean JSON, CSV or Excel. Each row includes the agency, NAICS and PSC codes, set-aside, response deadline, place of performance, contracting officer contacts, the description and a direct SAM.gov link.

Built by **Cove & Column**. No SAM.gov account or API key is needed on your side.

Public page: <https://apify.com/coveandcolumn/sam-gov-opportunities>

### What it does

- **Keyword search** in titles (or full descriptions), e.g. `software`, `janitorial`, `cybersecurity`, `HVAC`.
- **Filter by NAICS** (`541512`, prefixes like `5415` or `23`), **PSC** (`DA01`, `R4`), **set-aside** (`SBA`, `8A`, `HZC`, `SDVOSBC`, `WOSB`…), **notice type**, **agency / office** and **place-of-performance state**.
- **Open only:** skip notices whose response deadline has passed. Sort by newest or by soonest deadline.
- **Contacts:** primary and secondary contracting contacts (name, email, phone).
- **Full descriptions** (optionally truncated) and award details (awardee, amount, date) on award notices.
- Fast: scans every active notice (on the order of tens of thousands) in seconds when the public extract is available.

### Who it's for

Government contractors and small businesses watching set-asides, business-development teams tracking RFPs and sources sought, consultants who monitor a NAICS or agency, and AI agents that need a structured SAM.gov feed.

### How to run it (step by step)

1. Open the Actor: <https://apify.com/coveandcolumn/sam-gov-opportunities>.
2. Click **Try for free** (or **Start** if you already have an Apify account).
3. Enter **keywords** and/or codes:
   - **Keywords** – matched in the title and solicitation number, or also in the description if you set `keywordScope` to `"all"`.
   - **NAICS** and **PSC** – full codes or prefixes.
   - **Set-aside codes** – e.g. `SBA`, `SBP`, `8A`, `8AN`, `HZC`, `SDVOSBC`, `WOSB`, `EDWOSB`, `VSA`, `IEE`, `ISBEE`.
   - **Notice types** – `solicitation`, `combined`, `presolicitation`, `sources_sought`, `special_notice`, `award`, `justification`, `sale_of_surplus`, `intent_to_bundle`.
   - **Agencies** – text matched against department, sub-tier, and office names.
   - **States** – place-of-performance state codes.
4. Set **Posted within last N days** (0 = any), and use **Open only** / **Active only** if you want current bids.
5. Optional: include or truncate descriptions, and sort by `newest` or `deadline`.
6. Set **Max results** so a first test stays small. Each returned opportunity is billed.
7. Click **Start**. Results appear in the dataset and can be downloaded as JSON, CSV, Excel, or HTML, or read via the API.
8. Optional: save the input as a **Task** and **Schedule** it daily, then push new bids to Slack, Google Sheets, or a CRM with Apify integrations.

A `RUN_SUMMARY` record in the key-value store shows how many notices were scanned and matched.

#### Example input

```json
{
  "keywords": ["software", "cybersecurity", "IT services"],
  "naicsCodes": ["5415"],
  "setAsideCodes": ["SBA"],
  "postedWithinDays": 14,
  "openOnly": true,
  "maxResults": 100
}
```

#### Example output (real notice, shortened)

```json
{
  "noticeId": "ecb449684b66456a91735d53b1f5d2ea",
  "title": "Enterprise Wide IT Services",
  "noticeType": "Sources Sought",
  "department": "DEPT OF DEFENSE",
  "subTier": "DEPT OF THE NAVY",
  "postedDate": "2026-11-12 20:05:49",
  "responseDeadline": "2026-11-20T09:30:00-05:00",
  "setAsideCode": "SBA",
  "setAside": "Total Small Business Set-Aside (FAR 19.5)",
  "naicsCode": "541519",
  "primaryContact": { "name": "John Lowney", "email": "john.lowney@navy.mil" },
  "description": "…",
  "samUrl": "https://sam.gov/workspace/contract/opp/ecb449684b66456a91735d53b1f5d2ea/view"
}
```

### Tips and limits

- The Actor reads the **official SAM.gov Contract Opportunities public data extract** published daily by GSA on data.gov, covering all active notices. If that extract is ever unavailable, it falls back to the official SAM.gov Opportunities API, which returns a smaller result set without descriptions.
- Data is U.S. government public information and is refreshed daily, so notices posted in the last few hours may not appear yet.
- Attachments and amendments are not included in the dataset; use the `samUrl` and confirm details on SAM.gov before you bid.
- Some notices (often DLA parts buys) leave NAICS empty. Try PSC codes or keywords instead.
- This is not an official SAM.gov product. Always confirm details and amendments on the notice page before bidding.

### How much does it cost?

Pay per result: you pay only for the opportunities returned, from **$0.003 per opportunity** with lower prices on higher Apify plans, plus a tiny per-run start fee. 1,000 opportunities cost about $3 or less. The Actor stops when it reaches your maximum cost per run.

### Use with AI agents (MCP)

This Actor works with the [Apify MCP server](https://mcp.apify.com), so Claude, ChatGPT, Cursor and other AI agents can call it as a tool. For example: *"Find open small-business set-aside cybersecurity solicitations in Virginia posted this week."*

### FAQ

**Is this an official SAM.gov product?** No. It is an independent tool that reads public GSA data. Always confirm details and amendments on the SAM.gov notice page before you bid.

**Does it include attachments?** It returns the notice link. Attachments and amendments are available on SAM.gov.

**Why did a notice not match my NAICS?** Some notices leave NAICS empty. Try PSC codes or keywords instead.

**Do I need a SAM.gov API key?** No. No SAM.gov account or API key is needed on your side.

**Questions or feature requests?** Open an issue on the Actor's Issues tab.

# Actor input Schema

## `keywords` (type: `array`):

Match any of these words/phrases (case-insensitive) in the notice title (or also the description, see below), e.g. cybersecurity, janitorial, software. Leave empty for everything that matches the other filters.

## `keywordScope` (type: `string`):

'Title' gives precise results; 'Title and description' also searches the full notice text (broader, but boilerplate text can cause loose matches).

## `naicsCodes` (type: `array`):

Full or prefix codes, e.g. 541512, 5415 or 23 (construction).

## `pscCodes` (type: `array`):

Product Service Codes or prefixes, e.g. DA01, R4, S2.

## `setAsideCodes` (type: `array`):

e.g. SBA (total small business), SBP (partial), 8A, 8AN, HZC (HUBZone), SDVOSBC, WOSB, EDWOSB, VSA, IEE, ISBEE.

## `noticeTypes` (type: `array`):

Which notice types to include.

## `agencies` (type: `array`):

Match department, sub-tier or office names, e.g. 'VETERANS AFFAIRS', 'ARMY', 'NASA', 'GENERAL SERVICES'.

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

2-letter state codes, e.g. VA, TX, NC.

## `postedWithinDays` (type: `integer`):

Only notices posted in the last N days (0 = any date).

## `openOnly` (type: `boolean`):

Skip notices whose response deadline has already passed.

## `activeOnly` (type: `boolean`):

Skip inactive / archived notices.

## `includeDescription` (type: `boolean`):

Include the notice description text.

## `descriptionChars` (type: `integer`):

Truncate descriptions to this many characters (0 = full text).

## `sortBy` (type: `string`):

Result order.

## `maxResults` (type: `integer`):

Maximum notices to return. Each is one billable result.

## Actor input object example

```json
{
  "keywords": [
    "software",
    "cybersecurity",
    "information technology",
    "IT services",
    "cloud"
  ],
  "keywordScope": "title",
  "noticeTypes": [
    "solicitation",
    "combined",
    "presolicitation",
    "sources_sought"
  ],
  "postedWithinDays": 14,
  "openOnly": true,
  "activeOnly": true,
  "includeDescription": true,
  "descriptionChars": 4000,
  "sortBy": "newest",
  "maxResults": 50
}
```

# Actor output Schema

## `results` (type: `string`):

One row per SAM.gov notice with agency, codes, set-aside, deadline, contacts, description and link.

## `summary` (type: `string`):

No description

# 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 = {
    "keywords": [
        "software",
        "cybersecurity",
        "information technology",
        "IT services",
        "cloud"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("coveandcolumn/sam-gov-opportunities").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 = { "keywords": [
        "software",
        "cybersecurity",
        "information technology",
        "IT services",
        "cloud",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("coveandcolumn/sam-gov-opportunities").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 '{
  "keywords": [
    "software",
    "cybersecurity",
    "information technology",
    "IT services",
    "cloud"
  ]
}' |
apify call coveandcolumn/sam-gov-opportunities --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,coveandcolumn/sam-gov-opportunities"
        }
    }
}
```

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/G2OujAxYKpksp64eo/builds/mGNJlMjTcIwBa0Vxk/openapi.json
