# 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/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

## 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**;
- a points breakdown showing exactly how that score was calculated;
- 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.

Optional filters are blank by default, so the first live run does not silently exclude notices. Every live run also saves an `OUTPUT` summary showing how many notices were reviewed, how many qualified, and which filters rejected candidates. If the shortlist is empty, start by broadening the keywords or removing optional restrictions.

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.

The scoring rules are deterministic and versioned. The result's score breakdown—not a prediction—shows the points awarded for keyword, NAICS, set-aside, location, and response time.

### 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. Leave empty 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": [],
  "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/xoy4mVRt1EupCgP9T/openapi.json
