# SAM.gov Bid Fit Scout — Rank Federal Contract Opportunities (`debonaire_roundworm/bid-fit-scout`) Actor

Stop reading irrelevant federal bids. Filter official SAM.gov contract opportunities by service, NAICS, set-aside, state, and deadline; get a ranked shortlist with transparent fit reasons and risk flags.

- **URL**: https://apify.com/debonaire\_roundworm/bid-fit-scout.md
- **Developed by:** [Charles Gbleguede](https://apify.com/debonaire_roundworm) (community)
- **Categories:** Automation, Lead generation, Jobs
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Stop reading the wrong government bids

**Bid Fit Scout turns a noisy SAM.gov search into a ranked shortlist of opportunities worth your attention.** It is built for GovCon consultants, proposal teams, and small federal contractors who already search SAM.gov but lose time opening notices that do not fit.

### What you get

For every qualified notice, the Actor returns:

- a transparent **0–100 fit score**;
- the matching service keywords, NAICS code, set-aside, and location;
- the response deadline and days remaining;
- plain-English reasons the notice fits;
- risk flags that deserve a human review; and
- a direct link to the official SAM.gov notice.

It does not write or submit bids. It helps you decide **which notices deserve a closer look**.

### Try it in 30 seconds

1. Click **Try for free**.
2. Leave the default keyword `janitorial` and run it without a key to see one clearly labeled demo result.
3. For live opportunities, paste your free personal SAM.gov public API key from **SAM.gov → Account Details → Public API Key**.
4. Replace `janitorial` with the products or services you sell. Add NAICS, set-aside, and state filters only when useful.

Your SAM.gov key is marked secret in the input form. Bid Fit Scout calls the official SAM.gov Opportunities API and does not scrape the website.

### Good fits

- **GovCon consultants:** create repeatable shortlists for several client profiles.
- **Proposal and capture teams:** reduce first-pass opportunity triage.
- **Small contractors:** focus on notices matching their capabilities and certifications.
- **Automation builders:** schedule runs and send results to Google Sheets, webhooks, or other Apify integrations.

### Example

A Maryland janitorial vendor enters `janitorial`, NAICS `561720`, set-aside `SBA`, and state `MD`. Instead of reviewing every new SAM.gov notice, the vendor receives only matching opportunities with deadlines, fit reasons, and risk flags.

### Pricing

Runs cost **$0.02 to start plus $4 per 1,000 returned results**. A typical 50-result shortlist costs about **$0.22**. Apify meters usage automatically.

### Important limits

Scores are prioritization aids, not legal, eligibility, or bid/no-bid advice. Always read the complete notice and attachments, confirm representations and certifications, and follow the contracting officer's instructions. The Actor cannot guarantee that you qualify or will win.

### Support

If a live run fails or a field looks wrong, open an issue from the **Issues** tab and include the run ID. Never paste your SAM.gov API key into an issue.

# Actor input Schema

## `samApiKey` (type: `string`):

Leave blank to preview one clearly labeled demo result. For live notices, paste your free personal public API key from SAM.gov Account Details; it is treated as a secret.

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

Use plain words customers would use, such as janitorial, landscaping, bookkeeping, cybersecurity, or HVAC.

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

Add codes from your SAM.gov registration for tighter matches. Leave empty if you do not know them yet.

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

Examples: SBA, 8A, WOSB, HUBZone, SDVOSB. Remove the default to search all notices.

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

Two-letter state codes where your business can perform work.

## `daysBack` (type: `integer`):

How far back to search newly posted opportunities.

## `deadlineBufferDays` (type: `integer`):

Exclude bids whose response deadline is too close.

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

Maximum number of ranked opportunities to return.

## Actor input object example

```json
{
  "keywords": [
    "janitorial"
  ],
  "naicsCodes": [],
  "setAsideCodes": [
    "SBA"
  ],
  "states": [],
  "daysBack": 7,
  "deadlineBufferDays": 10,
  "maxResults": 50
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("debonaire_roundworm/bid-fit-scout").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("debonaire_roundworm/bid-fit-scout").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 '{}' |
apify call debonaire_roundworm/bid-fit-scout --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,debonaire_roundworm/bid-fit-scout"
        }
    }
}

```

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/kVqSelmh9aQlbcYKN/builds/1v8Q5u8RatehND28e/openapi.json
