SAM.gov Contract Opportunities Scraper - Federal Bids
Pricing
from $2.40 / 1,000 opportunities
SAM.gov Contract Opportunities Scraper - Federal Bids
SAM.gov API alternative: federal contract opportunities by NAICS, PSC, set-aside, agency, state and deadline, with contacts and bid documents. No API key, no 10 requests/day limit, ~$3 per 1,000. Monitor mode returns only new or changed notices.
Pricing
from $2.40 / 1,000 opportunities
Rating
0.0
(0)
Developer
Clean Data Labs
Maintained by CommunityActor stats
0
Bookmarked
3
Total users
2
Monthly active users
15 days ago
Last modified
Categories
Features
Share
SAM.gov Contract Opportunities Scraper and Monitor: Federal Bids, Amendments and Deadline Alerts
HigherGov-lite for $3 per 1,000 notices. Now with built-in webhooks, award winners (UEI, CAGE, amount), award-amount shift alerts, plain-English amendment diffs, optional attachment archive and lookup by notice ID or solicitation number. Search live US federal contract opportunities on SAM.gov, or put the actor on a schedule in monitor mode and get only what is new or changed since the last check: new bids, amendments, deadline changes, cancellations and awards, each labeled with a change_type. Every row comes with NAICS, PSC, set-aside, place of performance, a days_until_deadline countdown, flat contracting-officer contact columns and direct links to the bid documents.
No SAM.gov account, no API key, no start fee, no subscription. Failed rows are never charged.
Built and maintained by Clean Data Labs.
Not a developer? If you'd rather have a person watch one SAM.gov search for you and send only the notices that fit, Clean Data Labs offers a free hand-checked sample: one search, the last 7 days, up to 10 notices.
Why teams use it
- Daily bid alerts without a $500 to $2,500 a year seat. Schedule a monitor for your NAICS codes, PSCs, agencies and set-asides. Unchanged notices are skipped and never billed, so a quiet day costs almost nothing.
- Never miss an amendment. SAM.gov posts each amendment as a new notice. The monitor ties every version back to the original solicitation and tells you what changed:
amended,deadline_changed,canceled,awarded,notice_type_changedorupdated, with the previous deadline and previous notice ID. - Alerts pushed to you. Set
webhookUrland each monitor run POSTs the new and changed notices as JSON to your endpoint (Slack bridge, n8n, Zapier catch hook, your own API). Quiet runs send nothing unless you ask for a heartbeat. - Who won. Award notices now include
award_number,award_amount_usd,awardee_name,awardee_uei,awardee_cage_codeand the awardee's city, state, ZIP and country. - Award amount shifts. When an award's dollar amount is revised, monitor mode reports
amount_changedwithprevious_award_amount_usd, so you see modifications and de-obligations, not just the first award. - Plain-English amendment diffs. Monitor rows include
change_summaryand structuredtext_diff(title, description passages added/removed, attachments added/removed, plus deadline/amount/awardee shifts).changed_fieldscan includedescription. - Optional attachment archive. Set
downloadAttachments: trueto keep a durable copy of each bid file in your Apify key-value store. Off by default, so Store runs stay at the same per-notice price. - Bid-ready rows.
days_until_deadline,primary_contact_name/email/phone,attachment_links,set_aside_description: drop them straight into a sheet, CRM or Slack message. - Filters SAM.gov's own search makes hard: NAICS and PSC prefixes, agency by plain name (
Department of Veterans Affairs,DHS,NAVFAC), a response-deadline window, place-of-performance state, set-asides including "no set-aside", and strict keyword matching. - Fair billing. One flat price per saved notice, including details, contacts and attachment links. Rows whose details SAM.gov failed to return are saved with an
errorfield and free; empty rows are never saved.
Who it's for
- Small businesses and GovCon firms watching for solicitations they can bid on.
- Capture and business development teams that need a daily change feed in their NAICS codes.
- Proposal consultants building lead lists and deadline calendars for clients.
- Analysts tracking federal demand by agency, NAICS, PSC or region.
- AI agents and automations that need clean, typed federal-opportunity data (see For AI agents).
Quick start
1. Search (one-off): open small-business construction work in the Southwest.
{"naicsCodes": ["236220", "238210"],"setAsides": ["SBA", "SDVOSB", "8(a)", "HUBZone"],"states": ["CO", "UT", "AZ", "NM", "TX"],"updatedWithinDays": 30,"openForResponseOnly": true,"maxResults": 20}
2. Monitor (scheduled): new or changed IT notices from the VA and DHS that are due in the next 60 days.
{"monitorMode": true,"monitorId": "it-va-dhs","naicsCodes": ["5415"],"pscCodes": ["DA", "R4"],"agencies": ["Department of Veterans Affairs", "DHS"],"deadlineWithinDays": 60,"updatedWithinDays": 7,"maxResults": 1000}
The first monitor run returns current matches from the lookback window (or nothing, if you set "monitorFirstRun": "baseline"). Every later run returns only notices that are new or changed since the previous run.
Monitor mode: alerts, scheduling and webhooks
How it works
- Each monitor keeps its memory in a named key-value store,
samgov-monitor-state, in your own Apify account: one record permonitorId(STATE-<monitorId>). Named stores do not expire. - Each run asks SAM.gov for everything modified since the previous run (with a 2-hour overlap, so nothing slips through), oldest first.
- Notices whose version, modified date, deadline, type and status are unchanged are skipped before any detail request and are never saved or charged.
- Everything else is compared field by field with what the monitor last saw and labeled:
change_type | Meaning |
|---|---|
new | First time this solicitation family is seen |
amended | A new version (amendment) of a notice you already saw |
deadline_changed | The response deadline moved (previous_response_deadline shows the old one) |
canceled | The notice was canceled |
awarded | The notice became an award notice |
notice_type_changed | e.g. Sources Sought became a Solicitation |
amount_changed | The published award amount changed (previous_award_amount_usd shows the old value) |
updated | Same version, but title, set-aside, attachments or awardee changed |
changed_fields lists exactly what differs (notice_version, response_deadline, set_aside, attachments, description, ...). Changed rows also carry change_summary (plain English) and text_diff (structured before/after for title, description passages and attachments). previous_notice_id, previous_notice_type_code and first_seen_at give you the history. Description diffs need one prior 0.3.5+ run so the monitor has saved text to compare.
If a run is cut short (by maxResults, a cost limit or a SAM.gov outage), the next run continues where it stopped, and notices whose details failed are re-checked. RUN_SUMMARY.caught_up tells you whether the monitor is up to date.
Leave monitorId empty and an ID is derived from your filters, so changing a filter starts a fresh monitor. Set resetMonitor: true to start over.
Schedule it
- In Apify Console open Schedules → Create new, pick a cron such as
0 13 * * 1-5(weekdays 13:00 UTC) or0 */4 * * *(every 4 hours). - Add this actor with your monitor input. Keep the same
monitorIdin every scheduled run.
Get notified: built-in webhook (new in v0.3)
Add webhookUrl to your monitor input:
{"naicsCodes": ["5415"],"monitorMode": true,"monitorId": "it-daily","webhookUrl": "https://hooks.example.com/samgov","webhookSecret": "choose-a-long-random-string"}
After the run the actor sends one POST with Content-Type: application/json:
{"event": "samgov.monitor.completed","mode": "monitor","monitor_id": "it-daily","actor_run_id": "AbC123...","dataset_id": "XyZ789...","dataset_items_url": "https://api.apify.com/v2/datasets/XyZ789.../items?format=json","status_message": "Monitor: 1 deadline_changed, 1 new (13 scanned, 7 unchanged)","has_changes": true,"summary": { "pushed": 2, "changes": {"deadline_changed": 1, "new": 1}, "caught_up": true, "...": "..." },"item_count": 2,"items_included": 2,"items_truncated": false,"payload_format": "compact","items": [{"notice_id": "c36ebbda60b34d2ea282b81883206f11","title": "INDUSTRY DAY: FORT HUNTER LIGGETT BARRACKS PDB-OTA","change_type": "deadline_changed","changed_fields": ["response_deadline"],"response_deadline": "2026-11-17T09:00:00-08:00","previous_response_deadline": "2026-11-05T17:00:00-05:00","url": "https://sam.gov/opp/c36ebbda60b34d2ea282b81883206f11/view","...": "..."}]}
| Input | Default | What it does |
|---|---|---|
webhookUrl | empty (off) | http:// or https:// URL that receives the POST |
webhookOnlyOnChanges | true | Skip the call when the run saved nothing. Set false for a heartbeat after every run (has_changes: false, items: []) |
webhookPayload | compact | compact: about 35 key fields per notice, up to 1,000 notices. full: every field (description, contacts, attachments), up to 100 notices. Beyond the limit items_truncated is true; fetch the rest from dataset_items_url |
webhookSecret | empty | If set, every call carries X-Samgov-Signature: sha256=<HMAC-SHA256 of the raw body> so you can verify it came from your run |
Headers: X-Samgov-Event (samgov.monitor.completed, samgov.search.completed or samgov.lookup.completed) and User-Agent: cleandatalabs-samgov-opportunities-webhook/0.3.
Delivery is fail-safe. The actor makes up to 3 attempts with a 20-second timeout each and retries network errors, 5xx, 408, 425 and 429. A 4xx response is not retried. If delivery fails, the run still succeeds and keeps its data and charges. The result goes into RUN_SUMMARY.webhook (delivered, attempts, status_code, error) and the status message ends with webhook delivery failed (see log). The webhook is not billed.
Verify the signature (Python):
import hmac, hashlibok = hmac.compare_digest(request.headers["X-Samgov-Signature"],"sha256=" + hmac.new(SECRET.encode(), request.body, hashlib.sha256).hexdigest())
The webhook also works outside monitor mode. A search run or lookup run sends its saved rows the same way.
Or use Apify integrations
On the actor's Integrations tab you can connect Slack, email, Google Sheets, Zapier, Make or n8n, or add an HTTP webhook for the event Run succeeded. A useful payload template:
{"runId": {{resource.id}},"status": {{resource.status}},"datasetId": {{resource.defaultDatasetId}},"keyValueStoreId": {{resource.defaultKeyValueStoreId}},"chargedEventCounts": {{resource.chargedEventCounts}}}
chargedEventCounts.opportunityis the number of new or changed notices saved (0 means nothing changed).- Fetch the rows with
GET https://api.apify.com/v2/datasets/<datasetId>/items?view=monitor(or withoutviewfor every field). - Fetch
GET https://api.apify.com/v2/key-value-stores/<keyValueStoreId>/records/RUN_SUMMARYfor counts perchange_type,has_changes,caught_upandnext_check_from. - The run's status message also reads like an alert, e.g.
Monitor: 2 amended, 1 deadline_changed, 5 new (230 scanned, 222 unchanged).
Lookup mode: fetch specific notices
Already have a list of notices? Put SAM.gov notice IDs, notice URLs or solicitation numbers in lookupIds:
{ "lookupIds": ["FA813226Q0061", "https://sam.gov/opp/51957789348d4e39a5553643f4b4691b/view", "b43c64917601436da73a48b1e06ff6cd"] }
- Notice ID or URL (32-character ID): returns that exact notice, including archived and inactive ones.
- Solicitation number: returns every notice that carries it, such as the presolicitation, the solicitation, its amendments and the award notice, oldest first. Matching ignores case, spaces and dashes.
- Each input is checked once, and duplicates are removed. Up to 500 IDs per run.
- IDs SAM.gov does not know are listed in
RUN_SUMMARY.lookup.not_foundand are not charged. Each notice found is charged like any other saved notice. - Search filters (
keywords,naicsCodes,agencies, dates,activeOnly, ...) andmonitorModeare ignored in lookup mode, and the log says so.includeDetails,includeContacts,includeAttachments,maxResultsand the webhook still apply. - Good for refreshing a pipeline: "what is the current deadline and status of these 30 bids?"
Input
| Input | What it does |
|---|---|
keywords | Free text, same as the SAM.gov search box |
keywordMatch | sam (default, SAM.gov's broad relevance search) or all: every word and every "quoted phrase" must appear in the title, description or solicitation number |
naicsCodes | Exact or prefix: 541512, 5415 (all 5415xx), 23 (all construction) |
pscCodes | Product Service Codes, exact or prefix: DA01, R4, Z2 |
agencies | Department or agency names, acronyms or SAM.gov organization IDs: Department of Veterans Affairs, DHS, Air Force, GSA, 100006688. Sub-commands like NAVFAC are matched against the office hierarchy |
noticeTypes | Solicitation, Combined Synopsis/Solicitation, Presolicitation, Sources Sought, Special Notice, Award Notice and more |
setAsides | SBA, SBP, 8A, 8AN, HZC, SDVOSBC, WOSB, EDWOSB, VSA, ISBEE, IEE, LAS, NONE; friendly names like SDVOSB, HUBZone, 8(a) also work |
states | Place-of-performance states, e.g. CO, TX |
updatedWithinDays | Lookback: posted or modified in the last N days (default 7; 0 = no limit). In monitor mode, the first run's lookback |
deadlineWithinDays | Response due between now and N days from now |
deadlineFrom / deadlineTo | Response deadline window, YYYY-MM-DD |
openForResponseOnly | Skip notices whose response deadline has passed |
activeOnly | Skip archived or inactive notices (default true) |
monitorMode | Return only new or changed notices since the previous run (default false) |
monitorId | Name of the monitor's memory, e.g. cyber-va-daily |
monitorFirstRun | emit (default) returns current matches on the first run; baseline only remembers them, free |
resetMonitor | Forget this monitor's memory and start over |
includeDetails / includeContacts / includeAttachments | Full record, points of contact and bid-document links (default on) |
lookupIds | Notice IDs, SAM.gov notice URLs or solicitation numbers to fetch directly (lookup mode; filters are ignored) |
webhookUrl / webhookOnlyOnChanges / webhookPayload / webhookSecret | Built-in webhook after each run (see above) |
excludeExpired | Drop notices whose deadline has passed (default true; awards and cancellations kept) |
dedupe | Skip duplicate SAM.gov postings in monitor mode, flag them with duplicate_of elsewhere (default true) |
downloadAttachments | Opt-in archive of each file attachment into named KV store samgov-attachment-archive (default false; needs details + attachment links on) |
maxAttachmentSizeMB | Skip files larger than this many MB when archiving (default 25) |
maxAttachmentsPerRun | Cap how many files one run will newly archive (default 50) |
maxResults | Maximum notices to save; you are charged per saved notice (default 100) |
Every input from earlier versions works unchanged and returns the same fields; the new fields are additions.
Output fields
| Field | Description |
|---|---|
notice_id / solicitation_number | SAM.gov notice ID and solicitation number |
original_notice_id | ID of the first version of this solicitation (amendments share it) |
title | Opportunity title |
notice_type / notice_type_code | e.g. Solicitation (o), Sources Sought (r) |
department / agency / office | Buying organization |
office_city / office_state | Contracting office location |
posted_date / modified_date | When this version was posted and last changed |
response_deadline / response_timezone | When responses are due. Date-only deadlines are read as end of day in the notice's own response_timezone (fallback America/New_York), and deadline shifts are only reported when the normalized time actually moves |
days_until_deadline | Whole days left until the deadline (negative once passed, null if none) |
is_active / is_canceled | Notice status |
naics / psc_code | NAICS codes and product/service code |
set_aside / set_aside_description | e.g. SBA / Total Small Business Set-Aside (FAR 19.5) |
pop_city / pop_state / pop_zip / pop_country | Place of performance |
award_amount / award_date / awardee_name / awardee_uei | Award details, when published (award_amount is the text SAM.gov publishes, e.g. "425000.00") |
award_amount_usd | The award amount as a number, ready for sums and filters |
award_number | Contract or order number of the award (often differs from solicitation_number) |
award_delivery_order_number | Delivery or task order number, when given |
awardee_cage_code | Awardee's CAGE code |
awardee_city / awardee_state / awardee_zip / awardee_country | Awardee's address as published on the award notice |
previous_award_amount_usd | Monitor mode only: award amount before an amount_changed |
duplicate_of | Only on duplicate postings in search/lookup mode |
description | Notice description (up to 5,000 characters) |
contacts | Points of contact: type, name, title, email, phone |
primary_contact_name/title/email/phone, secondary_contact_* | The same contacts as flat columns |
attachments | Bid documents and links: name, type, url, size_bytes, posted_date, access |
attachment_links / attachment_count | Direct download URLs and how many there are |
attachment_archive / attachments_archived | When downloadAttachments is on: per-file archive status (archived, already_archived, skipped_too_large, skipped_run_limit, failed), archive_key, signed archive_url, sha256 |
change_type / changed_fields | Monitor mode only: what changed (see above); may include description |
change_summary / text_diff | Monitor mode only: plain-English summary and structured title/description/attachment diffs |
previous_response_deadline / previous_notice_type_code / previous_notice_id / first_seen_at | Monitor mode only: the state before this change |
error | Only on rows SAM.gov failed to return in full; those rows are free |
url | Link to the notice on SAM.gov |
scraped_at | When the row was collected (UTC) |
Dataset views: Overview, Monitor changes, Contacts and Attachments. Attachment download URLs redirect to a short-lived file link on SAM.gov.
Sample output
Search row, from a live run on November 3, 2026 (description shortened, contacts list and extra attachments omitted for display):
{"notice_id": "fa88edcad10d4663952477e2761cb534","title": "Install Generator- FCI Bastrop","solicitation_number": "15BBNF27Q50100001","notice_type": "Combined Synopsis/Solicitation","notice_type_code": "k","department": "JUSTICE, DEPARTMENT OF","agency": "FEDERAL PRISON SYSTEM / BUREAU OF PRISONS","office": "FAO","office_city": "GRAND PRAIRIE","office_state": "TX","posted_date": "2026-11-02T20:29:10+00:00","modified_date": "2026-11-02T20:29:10+00:00","response_deadline": "2026-12-02T11:00:00-08:00","response_timezone": "America/Los_Angeles","days_until_deadline": 28,"is_active": true,"is_canceled": false,"description": "Amendment 0001- Correct Set Aside error in the Instruction to Offerors\n\nSolicitation \n\nThe Federal Bureau of Prisons (FBOP) is issuing solicitation …","original_notice_id": "4050e6eff13e474fbafda0642129140e","url": "https://sam.gov/opp/fa88edcad10d4663952477e2761cb534/view","naics": ["238210"],"psc_code": "Z2FF","set_aside": "SBA","set_aside_description": "Total Small Business Set-Aside (FAR 19.5)","pop_city": "Bastrop","pop_state": "TX","pop_zip": "78602","pop_country": "USA","primary_contact_name": "Patrick Ford","primary_contact_email": "pford@bop.gov","primary_contact_phone": null,"attachments": [{"name": "Instructions to Offerors.pdf","type": "file","url": "https://sam.gov/api/prod/opps/v3/opportunities/resources/files/aaec49922277423da58924cdf2ee4c16/download","size_bytes": 1142350,"posted_date": "2026-10-23T18:19:07.399+00:00","access": "public"}],"attachment_count": 8,"scraped_at": "2026-11-03T23:41:23.044310+00:00"}
Monitor row: a real amendment (Amendment 4 to a Department of Energy RFP, posted November 3, 2026) as reported by a monitor that had last seen Amendment 3. Shortened for display:
{"notice_id": "585a560fb4b84fa690b1d5281ce51779","title": "Building America Subject Matter Expert Technical Support","solicitation_number": "RFP-2026-10245()","notice_type": "Solicitation","agency": "ENERGY, DEPARTMENT OF","response_deadline": "2026-11-16T18:00:00-07:00","days_until_deadline": 13,"original_notice_id": "1f4fdf5909e44f5ba721860b49a509b4","naics": ["541715"],"psc_code": "AG41","pop_state": "CO","primary_contact_email": "Kim.Tangler@nlr.gov","attachment_count": 7,"change_type": "amended","changed_fields": ["notice_version"],"previous_response_deadline": "2026-11-16T18:00:00-07:00","previous_notice_type_code": "o","previous_notice_id": "3085955966cb496f803ed0b0e1fcef1e","url": "https://sam.gov/opp/585a560fb4b84fa690b1d5281ce51779/view"}
How it compares
Facts below were checked on November 3, 2026 on each product's public pricing page or Apify Store listing. Prices change, so check the linked pages before you decide.
vs. GovCon platforms and the official API
| This actor | HigherGov | GovTribe | SAM.gov official API | |
|---|---|---|---|---|
| Price | $3.00 per 1,000 notices (down to $2.40), no start fee, no subscription | Starter $500/year (1 user); Standard $2,500/year (up to 10 users) | $1,900 per seat/year (Pro $2,100) | Free |
| Federal opportunities | Yes | Yes | Yes | Yes |
| Saved searches / alerts | Monitor mode with typed change_type | Unlimited searches, alerts and pipelines | Unlimited saved searches and pursuits | Build it yourself |
| Export limits | Every row lands in an Apify dataset (CSV, Excel, JSON, API) | 1,000 records per search on Starter (20,000 and 100,000 on higher tiers) | Up to 3,000 records per export (25,000 on Enterprise) | Paged API |
| Access | Apify API, webhooks, Zapier, Make, n8n, MCP | API access, Zapier | Zapier, Unanet, AI/MCP | Needs a personal API key; 10 requests/day for a non-federal user with no SAM.gov role |
| Beyond federal opportunities | No | Forecasts, state and local, vendor and people database, AI tools, labor pricing | State and local, contact search, AI credits | Separate APIs |
HigherGov and GovTribe are full GovCon platforms; if you need forecasts, award analytics or pipeline management, they do far more. This actor is the "lite" option: the federal opportunity feed, alerts and contacts, billed per notice.
vs. other SAM.gov actors on Apify
| Actor | Price (Free plan) | Start fee | Monitor (new or changed) | Notes from the listing |
|---|---|---|---|---|
| This actor | $0.003/notice | None | Yes: typed change_type, previous deadline, amendment tracking, built-in signed webhook | Agency by name, PSC/NAICS prefixes, deadline window, strict keywords, lookup by notice ID or solicitation number, award winner (UEI, CAGE, amount), flat contacts, attachment links, failed rows free |
| fortuitous_pirate/sam-gov-scraper | $0.003/result | $0.005 per run | Yes (new or updated; webhook URL) | PSC, agency, posted and due dates, attachment URLs and downloads |
| scrapesage/sam-gov-scraper | $0.0025/opportunity (to $0.00138 on Gold+) | $0.001 per run | No built-in monitor | Attachment downloads $0.002 each |
| jungle_synthesizer/samgov-scraper | $0.001/record | Not listed | No | 518 of 847 runs failed in the last 30 days |
| automation-lab/samgov-government-contracts-scraper | $0.000115/item | $0.005 per run | No | Filters: notice type, set-aside, NAICS, PSC |
| parseforge/us-gov-contract-watch-scraper | $0.0135/result; attachments $0.005 | Not listed | Yes (new or changed) | Also covers CanadaBuys and UK Contracts Finder |
For AI agents
This actor is built to be called by LLM agents and automations.
- MCP: add it to any MCP client through Apify's MCP server:
https://mcp.apify.com?tools=cleandatalabs/samgov-opportunities(sign in with OAuth or anAuthorization: Bearer <APIFY_TOKEN>header). - One HTTP call:
POST https://api.apify.com/v2/acts/cleandatalabs~samgov-opportunities/run-sync-get-dataset-items?token=<APIFY_TOKEN>with the input JSON as the body returns the rows directly (keepmaxResultsmodest so it finishes within the sync timeout). - Typed, stable output: snake_case fields, ISO-8601 dates with offsets,
nullfor missing values, lists fornaics,contacts,attachmentsandattachment_links.days_until_deadlineis an integer, so "due in the next 10 days" is a simple filter. - Mapping user requests to input:
- "IT bids for small businesses due this month":
{"naicsCodes": ["5415"], "setAsides": ["SBA"], "deadlineWithinDays": 30} - "What did the VA post or change since yesterday?":
{"agencies": ["Department of Veterans Affairs"], "monitorMode": true, "monitorId": "va"} - "Zero-trust work at DHS":
{"keywords": "\"zero trust\"", "keywordMatch": "all", "agencies": ["DHS"]}
- "IT bids for small businesses due this month":
- Cheap polling: in monitor mode an agent can poll often; unchanged notices cost nothing, and
RUN_SUMMARY.has_changessays whether anything happened. - Grounding: every row has a
urlto the official SAM.gov notice, andattachment_linkspoint to the official documents.
Pricing
Pay per notice saved, including details, contacts and attachment links. No start fee.
| Apify plan | Price per notice | Per 1,000 notices |
|---|---|---|
| Free | $0.003 | $3.00 |
| Bronze | $0.0028 | $2.80 |
| Silver | $0.0026 | $2.60 |
| Gold and above | $0.0024 | $2.40 |
Not charged: unchanged notices skipped by a monitor, baseline runs, notices removed by filters, and rows with an error field.
Free credit
Apify's free plan includes $5 of usage credit every month, no credit card required. At the Free-plan price that covers up to about 1,600 notices a month, plenty for a daily monitor on a few NAICS codes.
FAQ and troubleshooting
Why did I get zero results?
Your filters may be too narrow. Widen updatedWithinDays (or set it to 0), remove states, setAsides or agencies, or turn off openForResponseOnly. In monitor mode, zero rows simply means nothing changed.
My keyword search returns unrelated notices.
SAM.gov's keyword search is broad: a multi-word query matches notices containing any of the words, and it also searches long descriptions. Set keywordMatch: "all" and quote phrases ("zero trust") for precise results.
How do I filter by agency?
Use the department or agency name, its acronym or its SAM.gov organization ID. The log shows what each name resolved to. Names that are not a department or agency (for example NAVFAC) are matched against the full office hierarchy, which scans more notices but is still accurate.
Do set-aside and state filters work with includeDetails off?
NONE set-aside and state filters rely on full notice details, so the actor switches includeDetails on automatically when you use them. A single set-aside code (for example SBA) works with details off: SAM.gov filters it server-side and each row's set_aside is filled from your filter. Two or more codes switch details on, because the search index does not say which code each notice has.
Why are award fields empty?
Award fields are filled only on award notices, and only with what the contracting office published. In a sample of 80 recent award notices, all 80 had the awardee name, award number, amount and date. 78 had a UEI and CAGE code. Only about 30 had the awardee's address. Award details other than awardee_name need includeDetails (on by default). The address fields are copied as published, and SAM.gov sometimes has a wrong country code (one notice listed a Connecticut awardee under CTE).
Can I look up a notice by its solicitation number?
Yes: use lookupIds (see Lookup mode). A solicitation number returns all of its notices, including the award.
Is there a limit per run?
SAM.gov's search returns at most 10,000 notices per query. Monitor mode walks past this automatically; for one-off searches, narrow your filters.
Do I need a SAM.gov account or API key?
No. All data is public US Government information from SAM.gov.
Attachment archive (opt-in)
Set downloadAttachments: true (needs includeDetails and includeAttachments on). Each file attachment is copied once per file version into your named key-value store samgov-attachment-archive as file-<resourceId> plus a .meta record (sha256, bytes, archived_at), and a notice-<noticeId> manifest per notice version. Dedupe is by resourceId: files already archived are not downloaded again.
Rows get attachment_archive[] (status: archived / already_archived / skipped_too_large / skipped_run_limit / failed, plus archive_key, signed archive_url, sha256) and attachments_archived. Caps: maxAttachmentSizeMB (default 25) and maxAttachmentsPerRun (default 50). RUN_SUMMARY.attachment_archive summarizes the run.
Off by default, so normal Store runs keep the same per-notice price. There is no attachment-archived Store price event yet; newly archived files are free today. Archived bytes count against your Apify key-value storage.
Amendment text diffs (monitor mode)
Changed monitor rows include:
change_summary: plain-English "what changed" covering title, description passages added/removed, attachments added/removed, deadline, award amount, awardee, notice type, set-aside and cancellation.text_diff: structured before/after for title, description (added/removed sentences + similarity) and attachments.changed_fields: may includedescription(tracked via a short hash).
Description diffs start after the first 0.3.5+ run of a given monitorId (older monitor state has no saved description text, so that field will not false-fire on upgrade).
Changelog
0.3.7 (November 2026): a single set-aside filter now returns rows with includeDetails off (previously dropped); a notice whose detail record is missing (HTTP 404) is saved with error and partial: true and is free; lookup mode no longer fails on deadline inputs it ignores; dependencies pinned.
0.3.5 (November 2026): opt-in attachment archive (downloadAttachments, attachment_archive, named KV store samgov-attachment-archive); monitor change_summary + text_diff; description in changed_fields.
0.3.4 (November 2026): award-amount shift detection (amount_changed, previous_award_amount_usd); date-only deadlines normalized in the notice's own time zone.
0.3.2: excludeExpired, dedupe, agency names filled from the Federal Hierarchy.
0.3 (November 2026): built-in webhook delivery (webhookUrl, HMAC signature, compact/full payload); lookup mode by notice ID, URL or solicitation number; award winner fields (award_number, award_amount_usd, awardee_cage_code, awardee address, delivery order number) and an Awards dataset view. All earlier inputs and fields are unchanged.
More from Clean Data Labs
- Prediction Markets Odds API: live Kalshi and Polymarket odds, bid/ask and volume in one schema.
- Substack Scraper: Substack posts with engagement metrics, plus top newsletters in any category.
- All Clean Data Labs actors
Support
Questions, bugs or feature requests? Email support.cleandatalabs@gmail.com or open an issue on the actor's Issues tab.
Clean Data Labs: clean, structured public data, ready to use.