# SAM.gov Contract Opportunities – US Federal Contracts (`laxlabs/sam-gov-tender-radar`) Actor

Unofficial tool by LAX Labs. Not affiliated with or endorsed by GSA or SAM.gov. SAM.gov contract opportunities and U.S. federal contracts from the official Opportunities API (your free API key). Filter by keyword, NAICS, PSC, set-aside, state. 0-100 score; optional AI (your LLM key). No contacts.

- **URL**: https://apify.com/laxlabs/sam-gov-tender-radar.md
- **Developed by:** [LAX Labs](https://apify.com/laxlabs) (community)
- **Categories:** Lead generation, Business, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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 Tender Radar – U.S. Federal Contract Opportunities with Relevance Score & AI Summary

Unofficial tool by LAX Labs. Not affiliated with, sponsored or endorsed by the U.S. Government, GSA or SAM.gov.

SAM.gov Tender Radar queries the official SAM.gov Get Opportunities Public API with your own free API key, and returns a scored dataset of U.S. federal contract opportunities (title, buying agency, NAICS, PSC, set-aside, state, dates, official link, 0–100 relevance score, optional AI summary with your own LLM key, and no contact details).

SAM.gov Tender Radar reads U.S. federal contract opportunities (solicitations, combined synopsis/solicitations, pre-solicitations, sources sought and – if you want – award notices) through the **official SAM.gov Get Opportunities Public API**. It filters by keyword, **NAICS**, **PSC**, **set-aside**, place-of-performance **state**, notice type and posted date, gives every opportunity a **0–100 relevance score against your company profile**, and can add an **AI summary** using **your own LLM key**.

Keywords: SAM.gov API, federal contract opportunities, government RFP monitoring, NAICS search, set-aside opportunities, small business federal contracts, bid alerts, GovCon, procurement intelligence, SAM.gov opportunities, US federal contracts, government contracts.

### What does SAM.gov Tender Radar do?

- 🔎 **Searches SAM.gov opportunities** by posted-date range (absolute or relative, e.g. `3 days`), notice type, NAICS, PSC, set-aside and state – using the official API with **your own key**.
- 🧹 **Normalizes** every opportunity into the Tender Radar unified schema: title, agency/office, NAICS, PSC, set-aside, solicitation number, posted date, response deadline, place of performance, award amount and a **public link to the notice on SAM.gov** (`https://sam.gov/opp/{noticeId}/view`).
- 🎯 **Scores relevance (0–100)** with transparent rules – free, fast and reproducible – from your keywords, NAICS codes and a free-text company profile, with human-readable reasons.
- 🤖 **Optional AI analysis (BYOK):** a short summary, an AI relevance score with a reason and up to 5 key requirements, only for opportunities that already passed your filters.
- 🪫 **Quota-friendly:** up to 1,000 opportunities per request (the documented maximum), a **hard cap of 3 SAM.gov requests per run by default** (`maxApiRequests`), no retries on quota errors, and **full-description download OFF by default** (`fetchDescriptions`).
- ⏰ **Only new opportunities mode** for daily schedules.
- 🔒 **Privacy by design:** points of contact (names, e-mails, phones, fax) are never output, also not inside downloaded descriptions; awardee names only for legal entities (Inc, LLC, PLLC, PC, Corp — including when the name contains a person's name; "company", "trust", "association" and "foundation" are not treated as a legal form; DBA / d/b/a names are withheld); no street addresses, UEI or DUNS; records dated before 4 April 2022 (possible D\&B data) are skipped by default.

It belongs to the **Tender Radar** family by LAX Labs (TED for the EU, SAM.gov for the U.S., UK Tender Radar for the UK): every Actor returns the same unified schema, so you can monitor several markets in one format.

### Who is it for?

- Federal sales, capture and proposal teams at small businesses, IT, professional-services, construction and medical companies.
- GovCon consultants screening opportunities for several clients.
- Automations and AI agents (Make, Zapier, n8n, MCP) that need clean federal opportunity data via API.

### Use cases

- Federal capture and proposal teams at small businesses watching SAM.gov solicitations by NAICS, PSC, set-aside or state.
- GovCon consultants screening opportunities for several clients.
- Teams that need a clean opportunity table without points of contact.
- Automations and AI assistants via the Apify MCP server (your SAM.gov API key is still required as Actor input).

### How to use it

1. **Get your own SAM.gov public API key** (free): sign in at sam.gov, open **Account Details** and generate a **Public API Key**. Paste it into **SAM.gov API key** as `{"apiKey": "<your key>"}` – the field is encrypted.
2. Enter **keywords**, **NAICS** and/or **PSC** codes, an optional **set-aside** and **states**.
3. Describe your company in **Your company profile** – this drives the relevance score.
4. Optionally switch on **AI summary** with your own LLM key.
5. Run it, or **schedule** it daily with `Published from = 1 day` and **Only new opportunities** on.

### Input example

```json
{
  "samCredentials": { "apiKey": "<your SAM.gov public API key>" },
  "keywords": ["software", "cybersecurity", "cloud"],
  "naicsCodes": ["5415", "5182"],
  "noticeTypes": ["o", "k", "p", "r"],
  "setAside": "SBA",
  "publishedFrom": "3 days",
  "maxResults": 50,
  "maxApiRequests": 2,
  "buyerProfile": "We are a U.S. small business delivering cloud software, cybersecurity services and IT modernization for federal agencies."
}
```

| Field | Meaning |
|---|---|
| `samCredentials` | **Required.** Your own SAM.gov public API key (encrypted secret). |
| `keywords` | Any of these words/phrases in the title or agency (and in the description when downloaded). |
| `naicsCodes`, `pscCodes` | Industry / product-service codes, prefix match. One full code is filtered by SAM.gov, several after download. |
| `noticeTypes` | `o` solicitation, `k` combined synopsis/solicitation, `p` pre-solicitation, `r` sources sought, `s` special notice, `i` intent to bundle, `u` justification, `a` award notice, `g` surplus sale. |
| `setAside`, `states` | Set-aside code (e.g. `SBA`, `8A`, `SDVOSBC`, `WOSB`) and place-of-performance states. |
| `publishedFrom`, `publishedTo` | Posted-date window, at most 1 year (SAM.gov rule). |
| `onlyOpen`, `onlyNew` | Skip closed/inactive opportunities; return only opportunities not delivered before. |
| `maxResults`, `minRelevanceScore` | Hard cap on delivered opportunities; minimum rule-based score. |
| `maxApiRequests` | Hard cap on SAM.gov requests with your key in this run (**default 3**). |
| `fetchDescriptions` | Download full descriptions – **one extra request per opportunity**, **off by default**, counted in the 3-request cap. Contact names, e-mails and phones in descriptions are redacted. |
| `includePre2022Records` | **Off by default.** Records posted or awarded before 2022-04-04 (possible Dun & Bradstreet data) are skipped. If on: at most 100 such records per run, awardee name only, no address, plus `dnb_attribution`. |
| `enableAi`, `aiProvider`, `aiModel`, `aiCredentials`, `aiLanguage`, `maxAiAnalyses`, `minRelevanceScoreForAi` | Optional AI layer with your own key. AI runs only on opportunities that passed all filters and the minimum score(s). |

### Output example

Source: run `keppQxAAuzB58E69Z`, dataset `8LoqAZeEvZVeQkEl1` (400 items). Public fields only; contact fields were empty on this record; no AI fields were populated. The JSON is shortened to the fields below, not invented.

```json
{
  "schemaVersion": "1.3",
  "id": "sam:ef7479f6ce9745dfaef675ac3071e7c3",
  "source": "SAM",
  "sourceNoticeId": "ef7479f6ce9745dfaef675ac3071e7c3",
  "noticeType": "Solicitation",
  "stage": "competition",
  "title": "163rd OG FY Chase Plane Support Services",
  "originalLanguage": "eng",
  "buyerName": "W7MX USPFO ACTIVITY CAANG 163 (DEPT OF DEFENSE)",
  "buyerCity": "MARCH ARB",
  "buyerCountry": "USA",
  "naicsCodes": [
    "481219"
  ],
  "pscCode": "V121",
  "setAside": "Small Business Set Aside - Total",
  "publicationDate": "2026-11-26",
  "submissionDeadline": "2026-12-01",
  "isOpen": true,
  "noticeUrl": "https://sam.gov/opp/ef7479f6ce9745dfaef675ac3071e7c3/view",
  "relevanceScore": 100,
  "relevanceReasons": [
    "Still open for submissions"
  ]
}
```

Example `award` object on an award notice (legal-entity awardee, award after 4 April 2022):

```json
{
  "date": "2026-11-15",
  "amount": 1250000,
  "currency": "USD",
  "supplierName": "Acme Federal Solutions LLC",
  "supplierType": "legal_entity",
  "supplierCity": "San Francisco",
  "supplierRegion": "CA",
  "supplierCountry": "USA",
  "note": null
}
```

Ready-made dataset views: **Overview**, **AI analysis**, **Scoring details**, **Awards** and **Source & licence**. A run summary (search parameters without the key, requests used, skipped counts, events) is saved in the key-value store as `RUN_SUMMARY`.

#### AI disclosure (AI-generated content)

> AI disclosure: Summaries, translations and match scores in the fields prefixed "ai\_" are generated automatically by a large language model and are not reviewed by a human. They may be incomplete or wrong. Official notice data is kept unchanged in separate fields; the official notice at noticeUrl is the only authoritative version. Match scores are computed from your profile (keywords, CPV/UNSPSC codes, region, value range) and the notice text; they are not a prediction of winning.

Fields starting with `ai` (`ai_summary`, `ai_relevanceScore`, `ai_relevanceReason`, `ai_keyRequirements`) are an **AI-generated summary** produced by the model in `ai_model`. Such records have `ai_generated: true`, `ai_generated_at` and the AI version of `source_attribution`; all others have `ai_generated: false`. The official SAM.gov link is always included – check the notice on SAM.gov before bidding.

### SAM.gov API key, requests and quotas

- The official API requires a key: "User of this public API must provide an API key" ([SAM.gov Get Opportunities Public API](https://open.gsa.gov/api/get-opportunities-public-api/)). This Actor never provides, shares or hard-codes a key – you use **your own personal key**. Do not share it, and **renew it every 90 days** as required by the [SAM.gov Terms of Use](https://sam.gov/about/terms-of-use).
- The same documentation states: "Request per day are limited based on the federal or non-federal or general roles." The limit for your key depends on your SAM.gov account role; this Actor does not publish a number because the Opportunities documentation does not list one. The Actor is built to use as few requests as possible:
  - one search request returns up to **1,000** opportunities (the documented maximum `limit`);
  - `maxApiRequests` (default **3**) caps all requests per run;
  - the full description is a separate link in the API response ("To download the description, user should append the public API Key"), so downloading it costs **one extra request per opportunity** – this is **off by default** (`fetchDescriptions`) and, when on, only done for opportunities that already passed every filter;
  - if SAM.gov answers **HTTP 429** (limit reached), the run stops with a clear message. It is never retried or worked around.
- **Your key, your responsibility:** the key field is a secret input (`isSecret`) with **no default value**. LAX Labs never supplies a key – there is no LAX Labs key, no shared key pool and no fallback to anyone else's key. Your key is used only for the SAM.gov requests of **your own run**, and is never stored in the key-value store, the dataset or the logs; any URL or error message that could contain `api_key` is scrubbed before it is logged. You are responsible for your key, for SAM.gov's terms and rate limits, and for rotating it at least every 90 days.
- The key is stored encrypted by Apify (secret input), used only in requests to `api.sam.gov` during the run, and is never logged, stored or written to the output. API links that need the key (`description`, `links`) are never copied to the dataset; each record links to the public notice page instead.

### Pricing

This Actor is currently **free to use**: there is no per-result or per-run Actor fee. You pay only Apify's standard platform usage for your run. The default 256 MB memory is enough. Your SAM.gov key is free; with AI, your LLM provider bills its tokens separately.

Pay-per-event pricing is **planned** and has not been enabled yet. Do not treat any event prices in older notes or drafts as live charges. If and when it is enabled, the planned Actor start event is **$0.0006 (₪0.0020)** (the planned per-result prices are in the internal pricing draft, not live). Until then you pay only platform usage.

### How the relevance score and ranking work

The `relevanceScore` (0–100) is **rule-based, not AI**, and reproducible:

| Component | Weight | How it is computed |
|---|---:|---|
| Keywords | 40 | Each keyword in the title counts double, in the agency / description once |
| NAICS codes | 30 | Your code is a prefix of the opportunity's NAICS = full points; shared leading digits = partial |
| Company profile | 20 | Word overlap between your profile text and the opportunity |
| Still open | 5 | Response deadline today or later |

Components you leave empty are dropped and the rest rescaled to 0–100. `relevanceReasons`, `matchedKeywords` and `matchedNaics` explain every score; `minRelevanceScore` removes low scores before output. Results are written in the order SAM.gov returns them; sort by `relevanceScore` to rank them. AI fields are a separate AI-generated opinion and never replace the rule-based score.

### Coverage and limitations

- Data comes only from the official SAM.gov Get Opportunities Public API with **your own key**. "This API only provides the latest active version of the opportunity" and "All active notices in SAM.gov are updated daily and all archived notices are updated on a weekly basis" (official docs) – results can be incomplete or delayed.
- Keyword matching uses the title and agency name; the full description is matched only when you turn on `fetchDescriptions` (extra requests).
- Posted-date range at most 1 year per run (SAM.gov rule); maximum 10,000 results per run.
- One NAICS / PSC / state value is filtered by SAM.gov; several values are filtered after download, so a single request may contain many non-matching opportunities.
- Coverage: federal contract opportunities on SAM.gov only (no state or local procurement); the API returns only the latest active version of each notice.
- Award notices: awardee name and location only for legal entities (legal form such as Inc., LLC, PLLC, PC, Corp). A person's name plus one of those suffixes is shown; location is city, state and country only (no street or ZIP), with no enrichment and no search by person name. Names using only "company", "co"/"co.", "trust", "association", "foundation" or "charity", and any DBA / d/b/a / "doing business as" name, are withheld (`supplierType: individual_or_unknown`). Records posted or awarded before 4 April 2022 are skipped by default (possible Dun & Bradstreet data); with `includePre2022Records` at most 100 per run, awardee name only, no address, with `dnb_attribution`. No full-archive export. No UEI, DUNS or street addresses.
- AI output can be wrong. It is clearly marked and is not legal or bidding advice.

### FAQ

**What is SAM.gov Tender Radar?**
An unofficial tool that searches U.S. federal contract opportunities through the official SAM.gov Get Opportunities Public API, with your own free API key, and scores each notice 0–100. It is not affiliated with or endorsed by GSA or SAM.gov.

**Do I need a SAM.gov API key?**
Yes. A free public API key from SAM.gov, entered as a secret input. The Actor does not share or store your key beyond the run.

**What does it cost?**
The Actor itself is currently free. You pay only Apify platform usage for the run. See Pricing.

**Are contacts included?**
No. Points of contact are never output. SAM.gov contact information must not be used for marketing or lead generation.

**Can I use it from Claude or Cursor?**
Yes, via the Apify MCP server (section below). You still have to pass your SAM.gov API key in the Actor input. Running the Actor requires MCP authorization and incurs platform usage.

**What if I hit the SAM.gov request limit?**
The run stops with a clear "request limit reached" message and does not retry a 429. Wait for the daily reset, lower `maxApiRequests`, or keep `fetchDescriptions` off.

**Do I need an AI key?**
No. The rule-based score works without one.

**Is it affiliated with the U.S. government?**
No. See the Not-affiliated line and the source attribution. No government logos or seals are used.

### Use from AI assistants via Apify MCP server

You can call this Actor from Claude, Cursor, and other MCP clients through the official [Apify MCP server](https://docs.apify.com/mcp) at `https://mcp.apify.com`.

**Discover without an Apify account.** The server accepts unauthenticated connections when the `tools` query parameter lists only discovery and docs tools, for example:

`https://mcp.apify.com?tools=search-actors,fetch-actor-details,search-apify-docs,fetch-apify-docs`

`search-actors` searches the Store. `fetch-actor-details` returns this Actor's description, input schema and README summary when you pass `actor: "laxlabs/sam-gov-tender-radar"`.

**Run the Actor (requires authorization).** Running an Actor always needs authentication: either OAuth (sign in to Apify in the browser) or an API token in the `Authorization: Bearer …` header. Agents can also use a prepaid, spend-capped token (Apify agentic payments) instead of a full account. A run is billed as a normal Apify Actor run (platform usage, and — where pay-per-event is live — the Actor's start and per-result events). It is not a free extra channel.

To expose only this Actor as a tool (current documented parameter is `tools`, not `actors`; the older `?actors=` form is still accepted and merged into `tools`):

`https://mcp.apify.com?tools=laxlabs/sam-gov-tender-radar`

The server then exposes a dedicated tool named `laxlabs--sam-gov-tender-radar`, plus the helper tools needed to read the run (`get-actor-run`, `get-dataset-items`, and related storage tools). You can also load the `actors` category (`?tools=actors`) and let the assistant call `call-actor` with `laxlabs/sam-gov-tender-radar`. Pin `tools` explicitly if you need a stable interface; the default tool set can change.

**Cursor or Claude (typical setup):**

1. In Cursor: add an MCP server with URL `https://mcp.apify.com?tools=laxlabs/sam-gov-tender-radar` (or use `apify mcp install cursor` / the [MCP configurator](https://mcp.apify.com) and copy the generated config). For coding agents, Apify also documents installing the Apify plugin, which sets up this server in one step.
2. In Claude Desktop / Claude.ai: add the same URL as an MCP server. On first connection, approve access with OAuth, or set a Bearer token in the client config.
3. Ask the assistant to run **SAM.gov Tender Radar** (`laxlabs/sam-gov-tender-radar`) with a small input (for example a short date window and a low `maxResults`). `call-actor` returns the run status and dataset id, not the rows; the assistant should then call `get-dataset-items`.

This Actor uses limited permissions, so the MCP server does not exclude it from search or execution (full-permission Actors are excluded for security).

### Source attribution and disclaimer

Opportunity data in this Actor is retrieved from the SAM.gov Get Opportunities Public API
(https://open.gsa.gov/api/get-opportunities-public-api/), a service of the System for Award
Management (SAM.gov, https://sam.gov), which is operated by the U.S. General Services
Administration (GSA).

This Actor is an independent product of LAX Labs. It is not affiliated with, sponsored by,
or endorsed by the United States Government, GSA, or SAM.gov. Do not use the GSA Star Mark
or Seal, the SAM.gov logo, or any other U.S. Government trademark, logo, or seal with this
Actor or its output.

Most SAM.gov material that is a work of the United States Government — a work prepared by a
U.S. Government officer or employee as part of that person's official duties — is not
protected by U.S. copyright and is in the public domain in the United States. See
17 U.S.C. §§ 101 and 105, and the SAM.gov Terms of Use
(https://sam.gov/about/terms-of-use). This does not apply to all site content. Third-party
data, including data supplied by Dun & Bradstreet (D\&B), licensed photos or graphics, and
other non-government works, may be restricted. U.S. Government works may also be treated
differently outside the United States. Citation of SAM.gov and a link back to the original
notice are requested in the Terms of Use and are included in each record.

SAM.gov is the authoritative source. The public API returns only the latest active version
of an opportunity. Active notices are updated daily and archived notices weekly, so data in
this Actor may be incomplete, delayed, or outdated. Always confirm the current notice on
SAM.gov before relying on it. Match scores and AI-generated summaries are produced by
LAX Labs; they are not official government content and may contain errors.

You must supply your own SAM.gov individual (public) API key and comply with the SAM.gov
Terms of Use and the Get Opportunities Public API rules. An individual account API key is
personal and must not be shared. This Actor does not provide a key, does not hard-code a
key, and must not log, store, or write a key into output. You are responsible for daily
rate limits, which vary by account role, and for rotating your key at least every 90 days.
Do not scrape SAM.gov. Use only official public APIs, and do not request FOUO or sensitive
data through this Actor.

This Actor does not output point-of-contact names, email addresses, phone numbers, or fax
numbers. Do not use SAM.gov contact information for marketing or lead generation. If a
record includes entity name or address fields that originate in a D\&B-validated source
(typically entity or award records dated before April 4, 2022), those fields are D\&B Open
Data: attribute D\&B in writing and do not disseminate them in bulk.

#### `source_attribution` field

Every record carries `source_attribution` and a boolean `ai_generated`. Two wordings, chosen **per record**:

**Records without AI content** (`ai_generated: false` – the default, and any record whose AI call was skipped or failed). The relevance score is rule-based, which the wording states:

> Source: SAM.gov (System for Award Management), operated by the U.S. General Services Administration (GSA), https://sam.gov. Data was filtered and reformatted by LAX Labs; match scores are computed by LAX Labs using rule-based logic; no AI processing was applied. Not affiliated with, sponsored or endorsed by the U.S. Government, GSA or SAM.gov. SAM.gov is the authoritative source.

**Records with AI content** (`ai_generated: true`):

> Source: SAM.gov (System for Award Management), operated by the U.S. General Services Administration (GSA), https://sam.gov. Data was filtered by LAX Labs; summaries and match scores are AI-generated by LAX Labs. Not affiliated with, sponsored or endorsed by the U.S. Government, GSA or SAM.gov. SAM.gov is the authoritative source.

**D\&B attribution** (`dnb_attribution`, only on pre-2022 records you opted into):

> Awardee name: Dun & Bradstreet Open Data, as published in SAM.gov (https://sam.gov). Provided "as is". D\&B is not affiliated with and does not endorse LAX Labs.

### Privacy note

- **Controller:** LAX Labs. For privacy requests, use the Actor's **Issues** tab on the Apify Store (non-personal topics only; do not post personal data there), or contact LAX Labs via Apify. No e-mail is published here.
- **EU representative: not appointed.**

**Privacy.** Points of contact (names, e-mail addresses, phone and fax numbers) are never read or output. Awardee names are shown only for legal entities (Inc, LLC, PLLC, PC, Corp — including when the name contains a person's name; "company", "co"/"co.", "trust", "association", "foundation" and "charity" are not treated as a legal form; DBA / d/b/a names are withheld). Location is city, state and country only, with no street or ZIP, no enrichment and no search by person name. E-mail addresses, phone numbers and named contact persons inside titles and downloaded descriptions are replaced with `[redacted]` before output and before any AI call. Automatic redaction is best-effort and can miss rare cases. This tool must not be used to build contact or lead lists of individuals. To request removal or correction, write to the contact under "Removal / correction" below. The Issues tab is for non-personal topics only.

- Fields used: notice ID and type, title, solicitation number, agency hierarchy, office city/state, NAICS, PSC, set-aside, posted date, response deadline, active flag, place-of-performance state/country, award date/amount and – for legal entities, records from 4 April 2022 (earlier only if you opt in: name only) – awardee name, city, state and country.
- Never output: points of contact, e-mails, phone or fax numbers, street addresses, ZIP codes, UEI, DUNS, names of awardees who may be individuals or sole proprietors (including DBA / d/b/a trade names, and names that only say "company", "co"/"co.", "trust", "association", "foundation" or "charity"), API links that need a key. A legal-entity suffix (Inc, LLC, PLLC, PC, Corp) may be shown even when the name includes a person's or surname-only name; that is documented as residual risk in the LIA, with no address beyond city/state/country and no enrichment.
- Purpose and lawful basis: helping businesses find federal opportunities (legitimate interests); notices are published by U.S. agencies for public transparency. The only thing kept between runs is the optional "Only new notices" list of notice IDs in your own account. That store holds notice IDs only, not personal data.
- **Removal / correction:** To request removal or correction of personal data, open an issue on the Actor's **Issues** tab (non-personal topics only; do not post personal data there), or contact LAX Labs via Apify. The Actor's Issues tab is for non-personal topics only (bugs, features, source and licence questions); do not post personal data there. We will remove or correct it within 30 days and improve the filter. Confirmed removals go on a removal list that is part of the Actor's code: a listed name (kept in the list only as a SHA-256 hash, never in clear text) is replaced with `[redacted]` in every output field (a listed supplier is withheld with its location), and a listed notice is no longer output at all. The list is private: it is not written to the dataset, the logs or a public key-value store. It applies from the next version (build) of the Actor; data already delivered by earlier runs is not changed by it. Your rights under the GDPR are not affected.
- **Your copies:** if you run this Actor in your own Apify account, you decide what you do with the results and you are the controller of your copies (datasets, exports, integrations) under the GDPR. The controller for the Actor itself is LAX Labs; contact LAX Labs via the Actor's Issues tab or via Apify (do not post personal data on the Issues tab).
- **Transfers:** The source (SAM.gov) is in the United States. The controller, LAX Labs, is in Israel. The Actor runs on Apify's infrastructure (the region follows Apify's terms). Transfers to Israel may be covered by the EU's adequacy decision for Israel. Transfers involving the United States rely on the Standard Contractual Clauses (SCCs) and, where applicable, the EU-US Data Privacy Framework (DPF), as set out in Apify's terms.
- **Your rights:** You have the right of access, rectification, erasure and restriction of processing, and the right to object (Art. 21 GDPR). You also have the right to lodge a complaint with a supervisory authority. To exercise these rights, open an issue on the Actor's **Issues** tab (non-personal topics only; do not post personal data there), or contact LAX Labs via Apify. The Actor's Issues tab is for non-personal topics only; do not post personal data there. The right to data portability (Art. 20) is not listed here because it does not apply to this processing. Your rights under the GDPR are not affected.
- **No automated decision-making** about individuals takes place.

### Support

Questions or feature requests: open an issue on the Actor page (the Issues tab is for non-personal topics only; do not post personal data there). Built by LAX Labs as part of the Tender Radar family.

# Actor input Schema

## `samCredentials` (type: `object`):

Encrypted secret. Your OWN SAM.gov public API key as {"apiKey": "<your key>"}. Get it free: sign in at sam.gov → Account Details → Public API Key. The key is personal – do not share it, and renew it every 90 days. It is used only for requests to the official SAM.gov API during this run and is never logged, stored or written to the output. Without it the run stops with an explanation; no results are charged (only the Actor start event that Apify charges for every run).

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

Words or phrases matched against the opportunity title and agency (and the full description if you turn on 'Download full descriptions'). An opportunity matches if it contains ANY of them. Example: "cybersecurity", "cloud".

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

NAICS industry codes, 2-6 digits; shorter codes match every code that starts with them (5415 = computer systems design). One full 6-digit code is sent to SAM.gov as a server-side filter; several codes are filtered after download.

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

Product Service Codes (classification codes), 1-4 letters/digits; prefix match (D = IT and telecom services, DA01 = specific code). One full 4-character code is sent to SAM.gov; otherwise filtered after download.

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

SAM.gov procurement types. Default: opportunities you can still respond to (solicitation, combined synopsis/solicitation, pre-solicitation, sources sought). Award notices are opt-in; awardee names are shown only for organisations and never for awards before 4 April 2022.

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

Two-letter U.S. state or territory codes (VA, DC, CA, PR...). One state is filtered by SAM.gov; several are filtered after download. Leave empty for all.

## `setAside` (type: `string`):

Only opportunities with this set-aside type (filtered by SAM.gov). Leave empty for all.

## `publishedFrom` (type: `string`):

Earliest posted date: YYYY-MM-DD, or a relative value such as "3 days", "2 weeks", "1 month", "yesterday". SAM.gov allows at most 1 year between from and to. For a daily schedule use "1 day" together with "Only new opportunities".

## `publishedTo` (type: `string`):

Latest posted date: YYYY-MM-DD, "today" or a relative value like "1 day".

## `onlyOpen` (type: `boolean`):

Skip opportunities whose response deadline has passed or that SAM.gov marks inactive. Notices without a deadline (e.g. sources sought, awards) are kept.

## `onlyNew` (type: `boolean`):

Remember which notices this exact search already delivered (notice IDs only, in a named key-value store in your account) and return only new ones next time.

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

Hard cap on opportunities delivered (and charged) in this run. The run also stops when your spending limit is reached.

## `maxApiRequests` (type: `integer`):

Hard cap on requests sent to SAM.gov with your key in this run (search pages of up to 1,000 opportunities each, plus one request per downloaded description). SAM.gov limits requests per day by account role, so the default is low (3). The run stops cleanly when the cap is reached; a quota error (HTTP 429) is reported, never retried.

## `fetchDescriptions` (type: `boolean`):

Off by default. The search API returns only a link to each description; downloading it costs ONE EXTRA SAM.gov request per opportunity (counted in 'Maximum SAM.gov API requests'). Only done for opportunities that already passed all filters. Turn on if your key's daily limit allows it and you want keyword matching / AI on the full text.

## `includePre2022Records` (type: `boolean`):

Off by default. Records whose posted or award date is before 2022-04-04 may contain Dun & Bradstreet Open Data (awardee name/address) and are skipped. If you turn this on: at most 100 such records per run, awardee NAME only (legal entities only), never an address, and every such record carries a written D\&B attribution in dnb_attribution. No bulk / archive export.

## `minRelevanceScore` (type: `integer`):

Only deliver opportunities whose rule-based relevance score (0-100) is at least this value. Opportunities below it are not charged.

## `buyerProfile` (type: `string`):

Describe what your company sells and which contracts you want to win. Used by the free rule-based relevance score and, if enabled, by the AI analysis. Do not include personal data.

## `enableAi` (type: `boolean`):

Add an AI summary, AI relevance score with reason and key requirements to opportunities that already passed your filters and minimum score, using YOUR OWN LLM provider key (BYOK). Your provider bills you for tokens. An opportunity delivered with a successful AI analysis is charged as 'Opportunity analyzed by AI' INSTEAD of 'Opportunity found' (never both).

## `aiProvider` (type: `string`):

Any OpenAI-compatible provider. OpenRouter gives access to many low-cost models (and rate-limited free variants ending in :free) with one key; Google Gemini offers a free tier.

## `aiModel` (type: `string`):

Model ID at your provider. Leave empty for the low-cost default: google/gemini-2.5-flash-lite (OpenRouter), gpt-5-nano (OpenAI), gemini-2.5-flash-lite (Gemini), openai/gpt-oss-20b (Groq).

## `aiBaseUrl` (type: `string`):

Only for provider "custom": https base URL of an OpenAI-compatible API (the Actor calls {base}/chat/completions).

## `aiCredentials` (type: `object`):

Encrypted secret. Enter a JSON object with your own key, for example {"apiKey": "<your provider key>"}. It is used only for calls to your AI provider during this run and is never logged, stored or written to the output.

## `aiLanguage` (type: `string`):

Language of the AI summary, reason and requirements. SAM.gov notices (English) are summarized in this language.

## `maxAiAnalyses` (type: `integer`):

Cap on AI analyses in this run. Each opportunity delivered WITH an AI analysis is charged as 'Opportunity analyzed by AI' instead of 'Opportunity found' and uses your own provider tokens. Remaining opportunities are delivered without an AI summary.

## `minRelevanceScoreForAi` (type: `integer`):

AI runs only on opportunities that already passed all your filters AND have at least this deterministic relevance score (0-100). Use it to spend AI only on strong matches; lower-scored opportunities are still delivered, without AI.

## Actor input object example

```json
{
  "keywords": [
    "software",
    "cybersecurity",
    "cloud"
  ],
  "naicsCodes": [
    "5415",
    "5182"
  ],
  "pscCodes": [],
  "noticeTypes": [
    "o",
    "k",
    "p",
    "r"
  ],
  "states": [],
  "setAside": "",
  "publishedFrom": "3 days",
  "publishedTo": "today",
  "onlyOpen": true,
  "onlyNew": false,
  "maxResults": 20,
  "maxApiRequests": 2,
  "fetchDescriptions": false,
  "includePre2022Records": false,
  "minRelevanceScore": 0,
  "buyerProfile": "We are a U.S. small business delivering cloud software, cybersecurity services and IT modernization for federal civilian and defense agencies.",
  "enableAi": false,
  "aiProvider": "openrouter",
  "aiModel": "",
  "aiBaseUrl": "",
  "aiLanguage": "en",
  "maxAiAnalyses": 50,
  "minRelevanceScoreForAi": 0
}
```

# Actor output Schema

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

No description

## `overview` (type: `string`):

No description

## `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",
        "cloud"
    ],
    "naicsCodes": [
        "5415",
        "5182"
    ],
    "publishedFrom": "3 days",
    "maxResults": 20,
    "maxApiRequests": 2,
    "buyerProfile": "We are a U.S. small business delivering cloud software, cybersecurity services and IT modernization for federal civilian and defense agencies.",
    "minRelevanceScoreForAi": 0
};

// Run the Actor and wait for it to finish
const run = await client.actor("laxlabs/sam-gov-tender-radar").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",
        "cloud",
    ],
    "naicsCodes": [
        "5415",
        "5182",
    ],
    "publishedFrom": "3 days",
    "maxResults": 20,
    "maxApiRequests": 2,
    "buyerProfile": "We are a U.S. small business delivering cloud software, cybersecurity services and IT modernization for federal civilian and defense agencies.",
    "minRelevanceScoreForAi": 0,
}

# Run the Actor and wait for it to finish
run = client.actor("laxlabs/sam-gov-tender-radar").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",
    "cloud"
  ],
  "naicsCodes": [
    "5415",
    "5182"
  ],
  "publishedFrom": "3 days",
  "maxResults": 20,
  "maxApiRequests": 2,
  "buyerProfile": "We are a U.S. small business delivering cloud software, cybersecurity services and IT modernization for federal civilian and defense agencies.",
  "minRelevanceScoreForAi": 0
}' |
apify call laxlabs/sam-gov-tender-radar --silent --output-dataset

```

## MCP server setup

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

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/lcTT7uqgPArTL6Y5m/builds/fMKei1EkstErNCkZw/openapi.json
