SAM.gov Opportunities – Government Bids & Federal Procurement
Pricing
$1.50 / 1,000 result items
SAM.gov Opportunities – Government Bids & Federal Procurement
Scrape live US federal contracting opportunities from SAM.gov — solicitations, sources sought and awards — plus wage determinations, CFDA grant/loan programs and organization-only exclusion records, with no API key and no login. NAICS, set-aside, notice type and state filters, contacts, watch mode.
Pricing
$1.50 / 1,000 result items
Rating
0.0
(0)
Developer
Fetch Smith
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Features
Share
SAM.gov Scraper – US Federal Procurement, Contracts, Bids, Wage Determinations & Grants
Scrape live US federal contracting opportunities from SAM.gov — presolicitations, solicitations, combined synopses, sources sought, special notices and award notices — with no API key, no login, no proxy and no browser. Filter by keyword, NAICS code, set-aside type, notice type, place-of-performance state and issuing organization, and optionally enrich every row with the contracting officer's contact details, NAICS codes, set-aside and place of performance.
In short: a federal RFP data API and an organization-only Excluded Parties List check in one keyless Actor — the same run lists open solicitations and tells you whether a firm is debarred.
What it does
-
Six public SAM.gov datasets, one Actor, no key.
dataTypepicks which one:opportunities(default — solicitations, presolicitations, sources sought, awards), one of three Department of Labor wage-determination sets SAM.gov publishes —wage-determinations-dbra(Davis-Bacon Act, construction),wage-determinations-sca(Service Contract Act, services) andwage-determinations-cba(collective bargaining agreements) —assistance-listings, the Catalog of Federal Domestic Assistance (CFDA) grant/loan/direct-payment programs, orexclusions, the federal debarment/suspension list (organizations only — see below). All six come off the same keyless public search backend, so none of them needs a registered API key. -
Calls the same backend that powers sam.gov's own public opportunity search page, so results match what you see on the site. SAM.gov's official developer API (
api.sam.gov/opportunities/v2) requires a free registered API key — this Actor needs none. You do not have to register with GSA, wait for key approval, or rotate a key across a team. -
enrichDetailjoins each row with the per-opportunity record, which is where the fields a bidder actually qualifies on live:naicsCodes,setAside,placeOfPerformanceState/placeOfPerformanceCountry, andpointOfContact(the contracting officer's name, email and phone, primary and secondary). None of these are on the search row. Off by default because it costs one extra HTTP call per row; turn it on when you are qualifying, not just listing. -
Multi-value filters really OR.
naicsCodes: ["541511", "541512"]returns the union of both, not just the first. This is worth stating because SAM.gov's backend silently accepts a repeated query parameter and then honours only the first value — verified live 2026-11-28 (re-verified, originally 607/312/919):naics=541511→ 508 hits,naics=541512→ 275, repeated-key form → 508 (wrong, and no error), comma-joined form → exactly 783. This Actor sends the comma-joined form for every multi-value filter (naicsCodes,setAsideTypes,noticeTypes,states), so a two-code search does not quietly drop half your pipeline. -
noticeTypesuses SAM's own notice-type codes —ppresolicitation,osolicitation,kcombined synopsis/solicitation,rsources sought,aaward notice,sspecial notice,gsale of surplus,iintent to bundle,ujustification. Every row also comes back with both the rawnoticeTypeCodeand the human-readablenoticeType. Four more codes exist in SAM.gov's historical data but are no longer issued and don't appear in SAM's own current UI dropdown —mmodification/amendment/cancel,fforeign government standard,jjustification and approval (J&A),lfair opportunity/limited sources justification (all retired 2019-2020, ~97k rows fleet-wide, live-verified cycle 835). Useful for historical research; leave them out for a current-solicitations pipeline. -
setAsideTypestakes SAM.gov's own set-aside codes, and this Actor fixes the case for you. The full vocabulary, each value live-verified non-zero against the opportunity index on 2026-09-30:SBAtotal small business,SBPpartial small business,8A8(a) competed,8AN8(a) sole source,HZCHUBZone competed,HZSHUBZone sole source,SDVOSBCservice-disabled veteran-owned competed,SDVOSBSSDVOSB sole source,WOSBwomen-owned,WOSBSSWOSB sole source,EDWOSBeconomically-disadvantaged WOSB,EDWOSBSSEDWOSB sole source,LASlocal area set-aside,IEEIndian economic enterprise,ISBEEIndian small business economic enterprise,BICivBuy Indian,VSAveteran-owned competed,VSSveteran-owned sole source. SAM.gov's backend matches these case-sensitively and fails closed, so before this was handledsetAsideTypes: ["sba"]returned zero rows on the largest set-aside category in the index (1.2M opportunities) with no error to tell you why — measured live:SBA→ 1,204,971 hits,sba→ 0. This Actor now canonicalises the case, sosba,SBAandSbaare the same query. Note that upstream is not uniformly uppercase —BICivreally is mixed-case (BICiv→ 4,498 hits,BICIV→ 0), which is why this is a code lookup and not a blanket upper-casing. The umbrella names buyers actually say —8(a),SDVOSB,HUBZone— are accepted too and expand to the real code(s) they cover (SDVOSB→SDVOSBC+SDVOSBS, since SAM.gov splits competed from sole-source and "SDVOSB" means either). Any value that is not a code or an alias is still sent as-is, which is safe — SAM.gov fails closed on it, so it matches zero rows rather than silently widening your search to the unfiltered index — and the run logs a warning naming the value and listing the valid codes.Re-audited both directions on 2026-10-10, which is how the list above got three values it was missing. Every prior pass only checked our codes against SAM.gov (all 18 still return rows, nothing dead, counts up only by natural growth:
SBA1,204,971 → 1,206,126). The reverse direction — what SAM.gov accepts that we never listed — had never been run, because SAM.gov publishes no set-aside reference endpoint to read (re-confirmed: nofacets/aggregationson the search response,locationservices/v1/api/setasidetypes500s, every other guessable path 404s). So it was derived empirically instead: 1,500 live opportunity rows sampled across the index for the set-aside code each row carries itself, plus a brute-force probe of the entire 1- and 2-character code space (1,332 values, of which only8Ais real — so that space is now closed). Three real, filterable codes turned up, all of them previously reported to you as typos:setAsideTypes: ["NONE"]— SAM.gov's explicit unrestricted / no set-aside tag. 38,997 opportunities, 3,349 of them active, newest modified the day of the audit, so this one is live and useful. Note what it does and does not mean: it narrows your search to opportunities SAM.gov taggedNONEoutright, and is not the same as leavingsetAsideTypesempty — the millions of unrestricted opportunities that carry no set-aside field at all are not in it. The run logs that distinction when you use it.setAsideTypes: ["SDB"](Total Small Disadvantaged Business, 464 rows, newest modified 2019-06-27) andsetAsideTypes: ["ESB"](Emerging Small Business, 714 rows, newest 2020-01-20) — retired programs with zero active opportunities, the same historical-only class as the legacym/f/j/lnotice types below. Nothing has posted under either since 2020, so they are for research, not for a bid pipeline; they are supported because those rows are otherwise unreachable through this filter. The run logs a note when you use them.
-
statesfilters on place of performance, not the issuing office. SAM's official API calls thisstate; on this backend that parameter name is silently ignored and returns zero rows, a trap this Actor sidesteps by sendingpop_state. -
activeOnly(default on) restricts to opportunities still open for response. Turn it off for historical and award research. -
Pay per result: charged only for rows actually returned, with no Actor-start fee — a search that matches nothing costs nothing.
-
watchLabel— only what's new since your last run. Name a saved search and every run after the first returns just the opportunities not already delivered under that label and filter combination. The first run for a label is a free baseline (0 results, 0 charged); it records what already matches in a key-value store on your own Apify account, keyed by the label plus a fingerprint of your other filters, so editing a filter starts a fresh baseline instead of dumping every previously-excluded opportunity as "new". Built for a daily/weekly scheduled run. -
postedFrom/postedToanddeadlineFrom/deadlineTo— real two-sided date windows, and you are not charged for what they drop. SAM.gov's search backend has no date-range parameter at all (which is why most Actors on this index make you post-process the whole result set yourself, paying for every row you then throw away). This Actor applies the window after fetching each row and before pushing or charging it, so a window is free narrowing:deadlineFromset to today gives you only opportunities you can still bid on,postedFrom/postedTogives you one quarter's postings, and the rows outside never appear on your bill. Both ends are inclusive and compared on the calendar date the notice itself carries, never re-zoned. Honest trade-off: because the filtering is ours and not SAM.gov's, the window does not reduce what is read upstream — a narrow window over a broad keyword still walks the full match set, so keep your keyword/NAICS filters narrow too, and readdateWindowDroppedinRUN_SUMMARY(plusdeclaredMatches, which stays SAM.gov's pre-window count) to see exactly what the window removed. -
solicitationNumber— exact-match lookup, not a keyword guess, now with a one-request fast path. Give it a real solicitation number (dashes/spaces optional, matching is case-insensitive) and the run drops every fetched row whose own solicitation number isn't an exact match before pushing or charging it — the same pre-charge placement as the date windows above. Searching bykeywordalone can false-positive on a number that merely appears in a title or description; this field matches the number the row actually carries. SAM.gov's search backend silently ignores asolnum-style parameter (confirmed live), but it does honournotice_idas an exact, case-sensitive, raw-punctuation match on the solicitation number — this Actor tries that first (one probe request), and when your value matches, the whole run completes in a single page instead of walking the broader keyword search; when it doesn't, it falls back automatically to sending the value as the search keyword and walking, same as before. Opportunities only. -
minAwardAmount/maxAwardAmount— a real dollar range on award notices, and you are not charged for what it drops. SAM.gov's search backend only supports an exact award-amount match (award_amount=<n>) and rejects every range syntax with HTTP 400, so this is applied the same way as the date windows above: after fetching each row, before pushing or charging it.award.amountis null on every notice that hasn't been awarded yet, so pair this withnoticeTypes: ["a"]or most fetched rows will be dropped as having nothing to compare (readawardAmountMissinginRUN_SUMMARYto see how many). Opportunities only. -
includeIncumbentAwardsanswers the question you actually have about a notice: who holds this work today? For each opportunity's NAICS code it attaches the top 3 US federal contract awards by dollar value from USAspending.gov asincumbentAwards— recipient name and UEI, amount, start and end dates, awarding agency, and a usaspending.gov link — matched on NAICS and, where the issuing department maps to one of USAspending's top-tier agency names, on agency too (every row'sincumbentAwardsMatchedBytells you which of the two it got). Not billed separately: no extra per-result charge. Two things worth knowing, both reported inRUN_SUMMARY: NAICS codes are not on SAM.gov's search row, so this turnsenrichDetailon automatically (one extra request and ~200 ms per row, and you get the contact/set-aside/place-of-performance fields along with it); andincumbentYearsis matched against each award's last-modification date, not its start date, so a long-running contract that began before your window but was recently modified is included — intentionally, because it is still the incumbent, and every award carries both dates so you can tell. Lookups are deduped per unique NAICS+agency pair, so 200 opportunities spread across 5 NAICS codes cost 5 USAspending requests, not 200. -
descriptionis the full solicitation text, not a truncated snippet — the same original HTML SAM.gov itself stores, which can run to several thousand characters on a detailed notice. -
includeAttachmentslists each notice's files — drawings, full statements of work, forms — with a direct, no-login download URL for each. One extra HTTP call per row, off by default. Every link is SAM.gov's own stable file-download path, not a short-lived signed URL, so it works whenever you actually click it, not just at scrape time. Export-controlled and sign-in-required attachments are excluded from the list — this Actor never hands you a link that 403s or bounces to a SAM.gov login, so every URL you get back actually works with no account. A notice with genuinely no files returnsattachments: []; a failed lookup returnsnulland is reported inRUN_SUMMARY, so the two are never confused. -
watchChanges— also catch a deadline extension, a lifecycle transition, or an award landing. Add this towatchLabeland an opportunity you already have gets re-delivered (at the normal per-row price, tagged_watchChangeType/_watchPrevious) if itsisActiveflag,noticeTypeCode(a presolicitation turning into a solicitation, or a solicitation turning into an award),responseDate(deadline moved),modifiedDate,modificationsCountorawardeeName(an award landing) has changed since you last saw it — not just brand-new opportunities. Off by default so existing watches keep their current behaviour. Don't combine it withactiveOnly(on by default!) ornoticeTypes— see the FAQ "don't filter on the field you're watching".
Wage determinations
Set dataType to one of the three wage-determination options and the same filters you already know (keyword, states, activeOnly, maxResults, watchLabel, watchChanges, webhookUrl) apply to Department of Labor determinations instead of solicitations.
dataType | What it returns | Live record count (measured 2026-11-28) |
|---|---|---|
wage-determinations-dbra | Davis-Bacon Act determinations — construction, with constructionTypes (Building / Heavy / Highway / Residential) | ~85,400 (~4,200 active) |
wage-determinations-sca | Service Contract Act determinations — services, with a services[] list of covered categories | ~2,700 (~1,500 active) |
wage-determinations-cba | Collective bargaining agreement determinations | ~107,700 (~10,000 active) |
- Coverage is normalized across all three. SAM.gov returns the covered geography in three different shapes (DBRA nests a single
location.state, CBA an array oflocation.states, SCA an array whose counties split intoinclude/excludelists). Every row here carries the same flatcoveragearray of{ stateCode, stateName, isStateWide, counties, excludedCounties }, plusstateCodesandcountyCountfor filtering. SCA's excluded counties are kept in their own field rather than merged into the covered list — an excluded county is the opposite of a covered one. - Dates are normalized too.
publishDatecomes back as an ISO string on CBA rows but as epoch milliseconds on DBRA/SCA rows; this Actor emits ISO 8601 for every row so you are not parsing two formats. statesfilters on the state the determination covers, and multiple states OR together the same way: measured live,AL→ 3,509 andTX→ 6,909 CBA determinations,["AL","TX"]→ 10,415 (the 3 determinations covering both states are returned once, not twice).activeOnlymeans "currently in force" — a determination superseded by a later revision hasisActive: false. Combine withwatchLabel+watchChangesand a run tells you when a determination you track is revised (revisionNumbermoves) or goes inactive.keywordsearches the reference number, not trades. On these indicesqmatches the determination's own number (e.g.AK20260001), soq=roofingreturns zero against 85,000+ live Davis-Bacon records. Filter by state and construction/service type instead, and leavekeywordempty to get the whole set. The exact-match behavior is also narrower than it looks — a complete reference number matches exactly one row, but adding so much as a space silently switches the query to an OR across every token, soq=AK 20260001returns the 106 determinations that merely start withAK, not the 1 you asked for, with no error either way. See the full measurement — this is whykeyworddefaults to empty on every wage-determination run from this Actor rather than passing a caller's value straight through.- What this does NOT include: per-occupation hourly wage rate tables. SAM.gov does not publish the rate schedule on any of the three search indices, so every row has
wageRates: null. This Actor gives you the determination index — which determination applies to which state and counties, its revision number, its construction/service scope and whether it is current — which is what you need to pick the right determination; read the rates themselves from the determination's own page on sam.gov. naicsCodes,setAsideTypes,noticeTypes,organizationId,enrichDetailandincludeAttachmentsare opportunity-only. If you set one in a wage-determination run it is ignored and the run logs a warning saying so, rather than silently returning an unfiltered set that looks filtered.includeIncumbentAwardsis opportunity-only too, but it stops the run instead of being ignored: a wage determination or exclusion record carries no NAICS code, so there would be nothing to match an incumbent award on, and every delivered row would be billed with an emptyincumbentAwards.
Example wage-determination input
{"dataType": "wage-determinations-dbra","states": ["TX", "NM"],"activeOnly": true,"maxResults": 500}
Sample wage-determination output row
{"wageDeterminationId": "AK20260001","referenceNumber": "AK20260001","shortReferenceNumber": "AK1","title": "AK20260001","actCode": "DBA","actName": "Davis-Bacon Act","recordType": "wdDBRA","isActive": true,"isStandard": true,"revisionNumber": 5,"year": 2026,"publishDate": "2026-11-05T05:00:00.000Z","modifiedDate": "2026-11-05T00:00:00-05:00","constructionTypes": ["Building", "Heavy"],"services": null,"coverage": [{"stateCode": "AK","stateName": "Alaska","isStateWide": null,"counties": ["Anchorage", "Matanuska-Susitna", "Fairbanks North Star", "Haines"],"excludedCounties": []}],"stateCodes": ["AK"],"countyCount": 28,"wageRates": null}
counties above is abridged to the first 4 entries so the row stays readable — the real row lists all 28 (countyCount is the full count, which is why the two do not match here). Note that SAM.gov's own county list for a statewide determination can repeat a name (AK20260001 carries "Matanuska-Susitna" and "Southeast Fairbanks" twice), so countyCount counts entries as published, not distinct counties. isLatest is emitted on every wage-determination row too, but it is absent from this sample on purpose: of the three wage-determination indices only cba publishes the field (measured 2026-11-10 — 10/10 live cba rows carry it, 0/25 dbra and 0/10 sca do), so a DBRA row like this one delivers isLatest: null. Use revisionNumber + isActive to tell whether a DBRA/SCA determination is current.
Assistance listings (CFDA)
Set dataType to assistance-listings to pull the Catalog of Federal Domestic Assistance — ~7,400 federal grant/loan/direct-payment programs (~2,900 currently active), each with its objective, eligibility rules, funding-obligation history, related programs and the agency's own published program contact.
- Supports
keyword,organizationId,activeOnly,maxResults,watchLabel,watchChanges,webhookUrl.naicsCodes,setAsideTypes,noticeTypesandstatesare opportunity-only and are ignored (with a log warning) here — assistance-listing programs are nationwide, not filtered by place of performance.enrichDetailandincludeAttachmentsare also ignored: the search row already carries the full record, and CFDA programs have no notice attachments. keywordmatches title, objective and program number (e.g.q=flood→ 60 of 7,392 programs), not a reference-number-only match like the wage-determination indices.programNumber(e.g."12.103") is the CFDA number buyers actually search by — the natural reference for cross-checking against grants.gov or an agency's own NOFO.obligationsis shipped as SAM.gov's own raw per-assistance-type funding history ({ assistanceType, values: [{ year, actual, estimate, flag, explanation }], additionalInfo }) rather than normalized into a single amount field. Measured over the entire catalog (all 7,396 programs, cycle 1988): the amounts are mostly there — 4,205 programs carry a non-empty block and 4,093 of those (97.3%) carry a real number — but any single normalized amount field would be silently wrong on over a third of the 16,594 year-entries.0is a placeholder, not a quantity (2,943estimate: 0+ 2,737actual: 0= 34.2% of entries; e.g.10.856FY2013 is{flag: "ena", estimate: 0, explanation: "Program not funded"});estimateandactualco-occur on 1,771 entries and disagree by up to ~50% (e.g.14.880FY2019 estimate $20.0M vs actual $29.97M); and the flag vocabulary is exactly two values,ena(696, estimate not available) andnsi(340, not separately identifiable — the money is booked under another program number, given inexplanation, e.g.14.159FY2014 →"Reported under 14.117"). Raw keeps those distinctions; a plausible-looking single number would destroy them. Full measurement: a zero in federal program funding history doesn't mean zero dollars.contactsis the agency's own published program contact (name/title/phone/address) from the public listing, the same disclosure class as opportunities'pointOfContact.watchChangeson assistance listings re-delivers a program if its active or funded status, modified date, or historical-index entry count has changed since you last saw it — there is no revision number or response deadline on this dataset, so funded/active status is the closest signal to "this program moved."
Example assistance-listings input
{"dataType": "assistance-listings","keyword": "broadband","activeOnly": true,"maxResults": 100}
Sample assistance-listings output row
{"assistanceListingId": "8d745b5ad52a421dbf9483c7451adec1","programNumber": "12.002","title": "Procurement Technical Assistance For Business Firms","alternativeNames": ["APEX Accelerator Program/Procurement Technical Assistance Program (PTAP))"],"objective": "Building a strong and sustainable U.S. supply chain and supporting a wide range of diverse businesses by providing procurement assistance to businesses...","isActive": true,"isFunded": false,"isLatest": true,"publishDate": "2026-01-16T00:02:55-05:00","modifiedDate": "2026-01-16T00:02:55-05:00","department": "DEPT OF DEFENSE","agency": "WASHINGTON HEADQUARTERS SERVICES (WHS)","assistanceTypes": [["Financial", "Cooperative Agreement"]],"eligibleApplicants": ["Nonprofit Organization", "Tribal", "..."],"eligibleApplicantsNote": "Eligible applicants. Only those entities listed in this section are eligible to apply...","eligibleBeneficiaries": ["Anyone/general public", "State", "Local"],"eligibleBeneficiariesNote": null,"obligations": [{ "assistanceType": { "code": "F002", "value": "Cooperative Agreement" }, "values": [{ "actual": 55170000, "year": 2024 }, { "actual": 54999925, "year": 2025 }, { "estimate": 59098543, "year": 2026 }], "additionalInfo": "" }],"contacts": [{ "name": null, "title": null, "phone": null, "address": "Commander, U.S. Army Corps of Engineers, Attn: CECW-OE, Washington, DC 20314-1000." }],"relatedPrograms": ["12.104", "12.105"],"website": "http://www.usace.army.mil/business.html.","historicalIndexCount": 12,"sourceUrl": "https://sam.gov/fal/8d745b5ad52a421dbf9483c7451adec1/view"}
Exclusions
Set dataType to exclusions to pull SAM.gov's federal debarment/suspension list — entities barred from receiving federal contracts, grants or other assistance — restricted to organizations only (firms, vessels and special entity designations, ~35,200 records).
- This Actor never returns the individual-person exclusion records SAM.gov also publishes. SAM.gov's exclusions index carries 168,673 records total, and 79% of them (133,478) name a private person with a home city, state and zip — not a company. Turning that into a bulk-downloadable dataset would be a people-search product, which this Actor deliberately does not offer: the
classificationfilter that separates organizations from individuals is hard-coded into every request this Actor makes, with no input anywhere that can widen it. If you need to check whether a specific named individual is excluded, look them up one at a time on sam.gov/search directly — SAM.gov's own public exclusions checker is exactly built for that single-lookup use case. - Supports
keyword(matches the excluded entity's name),organizationId,maxResults,watchLabel,watchChanges,webhookUrl.naicsCodes,setAsideTypes,noticeTypesandstatesare opportunity-only and are ignored (with a log warning) here.activeOnlyhas no effect on this dataset — SAM.gov's exclusions index does not support server-side active-status filtering, so every matching record is returned regardless of the setting; check each row's ownisActive/terminationDateif you need to filter locally.enrichDetailandincludeAttachmentsare also ignored: the search row already carries the full record, and exclusion records have no notice attachments. - Rows SAM.gov itself flags "do not display" are dropped before you ever see them, regardless of classification — a small number of exclusion records carry SAM.gov's own
noPublicDisplayFlag, and this Actor honors it the same way sam.gov's own public search does. watchChangeson exclusions re-delivers a record if its active status or termination date has changed since you last saw it — the two signals that mean a debarment was lifted.
Example exclusions input
{"dataType": "exclusions","keyword": "construction","maxResults": 100}
Sample exclusions output row
{"exclusionId": "4550ad9c-4b01-4e3d-bc94-716ee807836e","title": "CHOSUN INTERNATIONAL CHEMICALS JOINT OPERATION COMPANY","classificationCode": "Special Entity Designation","ueiSam": "NTRNRHCG7L45","cageCode": null,"samNumber": null,"addressCity": null,"addressState": "XX","addressCountry": "USA","addressZip": null,"exclusionTypeCode": "PR","exclusionType": "Prohibition/Restriction","exclusionProgram": "Reciprocal","excludingAgency": "OFAC","excludingAgencyDesc": "OFFICE OF FOREIGN ASSETS CONTROL","department": "TREASURY, DEPARTMENT OF THE","agency": "DEPARTMENTAL OFFICES","office": "OFFICE OF FOREIGN ASSETS CONTROL","isActive": true,"activationDate": null,"terminationDate": null,"isFascsaOrder": false,"sourceUrl": "https://sam.gov/exclusion/4550ad9c-4b01-4e3d-bc94-716ee807836e/view"}
Use cases
- GovCon bid pipelines — pull every active solicitation in your NAICS codes and set-aside category (
naicsCodes+setAsideTypes+noticeTypes: ["o", "k"]) into a CRM, already qualified by place of performance. - Small-business / 8(a) / SDVOSB capture — filter to the set-asides you actually hold and stop reading opportunities you are not eligible for:
setAsideTypes: ["8(a)"],["SDVOSB"]or["HUBZone"]work as written, as do the underlying codes (8A,SDVOSBC,HZC, …). - Contracting-officer outreach on sources-sought notices —
noticeTypes: ["r"]plusenrichDetailgives you the pre-RFP notices where a vendor can still shape the requirement, together with the officer's published contact details. - Competitive award research —
activeOnly: falsewithnoticeTypes: ["a"]returns award notices includingawardeeNameandawardeeUeiSAM, so you can see who is winning in your NAICS. - Agency- or state-specific monitoring —
organizationIdfor one department/agency, orstatesfor the geographies your team can actually staff. - Daily cron alerts —
watchLabelon a narrow keyword/NAICS search on a schedule returns only the handful of new notices, instead of refreshing sam.gov by hand or re-paying for the whole result set every run. - Davis-Bacon compliance for construction bids —
dataType: "wage-determinations-dbra"with the states you build in tells you which determination covers each county and whether it is the current revision, so a bid is priced against a determination that is actually in force. - Service Contract Act scoping —
dataType: "wage-determinations-sca"returns the service categories each determination covers, so you can map a services solicitation to the right determination before pricing labour. - Wage-determination revision alerts —
watchLabel+watchChangeson a state-filtered wage-determination search re-delivers a determination only when itsrevisionNumber, active status or modified date moves — the signal that an in-flight bid or a running contract needs repricing. - Deadline-extension / lifecycle alerts —
watchLabel+watchChangesflags a presolicitation turning into a solicitation, a deadline extension, or an award landing on a solicitation you're already tracking. - Grant-eligibility screening —
dataType: "assistance-listings"with a keyword returns each matching program'seligibleApplicants/eligibleBeneficiariesandobjective, so a grant writer can shortlist which CFDA programs a client actually qualifies for before drafting anything. - New/defunded grant program alerts —
watchLabel+watchChangesonassistance-listingsflags a program going active, funded, or unfunded since your last check.
Example input
{"keyword": "solar","naicsCodes": ["221122"],"maxResults": 15,"enrichDetail": true}
Input
| Field | Type | Description |
|---|---|---|
dataType | string | Which SAM.gov dataset: opportunities (default), wage-determinations-dbra, wage-determinations-sca, wage-determinations-cba, assistance-listings |
keyword | string | Full-text search across the opportunity index (default contract). On wage-determination types it matches the determination's reference number; on assistance-listings it matches title/objective/program number — leave empty for all |
naicsCodes | array | NAICS codes, e.g. ["541511", "541512"] — multiple codes are ORed. Opportunities only |
setAsideTypes | array | Set-aside codes, e.g. ["SBA"] — case-insensitive, multiple values are ORed. Opportunities only. Full code list below |
noticeTypes | array | Notice-type codes p/o/k/r/a/s/g/i/u (current) plus m/f/j/l (legacy, retired 2019-2020) — multiple values are ORed. Opportunities only |
states | array | Two-letter state codes, e.g. ["TX", "CA"] — ORed. Place of performance for opportunities; covered state for wage determinations; not supported for assistance-listings |
postedFrom / postedTo | string | Optional YYYY-MM-DD posted-date window on publishDate, both ends inclusive, either side usable alone. Applied by the Actor after fetch and before charging, so rows outside your window are never billed. Opportunities, wage determinations and assistance-listings; not supported for exclusions (no publish date on those records — the run stops and says so rather than billing an unwindowed set) |
deadlineFrom / deadlineTo | string | Optional YYYY-MM-DD response-deadline window on responseDate, both ends inclusive. Set deadlineFrom to today to drop opportunities you can no longer bid on. Same pre-charge filtering. Opportunities only. Don't combine with watchChanges — see FAQ "don't filter on the field you're watching" |
solicitationNumber | string | Exact-match lookup, e.g. "SPRRA2-22-R-0016" — dashes/spaces ignored, case-insensitive. Tries SAM.gov's notice_id param first (exact, one request); falls back to a search-and-filter walk (overriding keyword) if that doesn't match. Applied by the Actor before charging either way. Opportunities only; not supported for wage determinations, assistance-listings or exclusions (no solicitation number on those records — the run stops and says so rather than billing an unfiltered set) |
minAwardAmount / maxAwardAmount | integer | Dollar range on award.amount, inclusive, either side usable alone. SAM.gov only supports an exact award-amount match and rejects range syntax, so applied by the Actor after fetch and before charging, same as the date windows above. award.amount is null until a notice is awarded — pair with noticeTypes: ["a"] or most rows drop as awardAmountMissing. Opportunities only |
organizationId | string | Restrict to one issuing department/agency/office by SAM organization id. Opportunities and assistance-listings only |
activeOnly | boolean | Only opportunities still open for response — for wage determinations, only determinations currently in force; for assistance-listings, only currently-active programs (default true) |
enrichDetail | boolean | Join each row with NAICS / set-aside / place of performance / contacts (default false). Opportunities only |
includeIncumbentAwards | boolean | Attach the top 3 USAspending contract awards for each opportunity's NAICS code (and agency, when recognised) as incumbentAwards — who holds this work now (default false). Turns enrichDetail on automatically, since NAICS is not on the search row. Not billed separately. Opportunities only; stops the run on other data types |
incumbentYears | integer | Incumbent look-back in years, 1–10 (default 3), clamped rather than refused. Matched against each award's last-modification date, not its start date — see the FAQ. Only used when includeIncumbentAwards is on |
includeAttachments | boolean | List each notice's attachments — name, size, MIME type, direct no-login download URL (default false). Opportunities only |
maxResults | integer | Cap on rows returned (default 200) |
watchLabel | string | Optional. Name a saved search to get only records new since your last run under that label — see FAQ |
watchChanges | boolean | Optional, requires watchLabel. Also re-deliver an already-seen record if a watched field changed — for opportunities: isActive, noticeTypeCode, responseDate, modifiedDate, modificationsCount, awardeeName or description; for wage determinations: revisionNumber, isActive or modifiedDate; for assistance-listings: isActive, isFunded, modifiedDate or historicalIndexCount (default false) — see FAQ |
webhookUrl | string | Optional. POST a small JSON completion summary (opportunities pushed, rows scanned, dataset ID, watch new/changed/skipped counts, plus failed/errorMessage/statusMessage so a webhook-only pipeline knows WHY a run returned nothing) here when the run finishes — see FAQ |
Sample output row
{"opportunityId": "c8092b56b2c14be9bea3ac6081207963","title": "This is a sources sought to identify contractors who possess the capabilities to provide CFE and associated EACs produced using domestically-manufactured solar panel systems.","solicitationNumber": "47PA0723SS0001","cleanSolicitationNumber": "47PA0723SS0001","noticeTypeCode": "r","noticeType": "Sources Sought","isActive": true,"isCanceled": false,"publishDate": "2023-07-12T19:23:54+00:00","modifiedDate": "2023-07-12T19:23:54+00:00","responseDate": "2023-06-27T20:00:00+00:00","responseDateActual": "2023-06-27T16:00:00-04:00","responseTimeZone": "America/New_York","department": "GENERAL SERVICES ADMINISTRATION","agency": "PUBLIC BUILDINGS SERVICE","office": "PBS R00 CPF CLEAN ENERGY","description": "<p><strong>THIS IS A SOURCES SOUGHT ANNOUNCEMENT ONLY - </strong>A solicitation is not available at this time...","awardeeName": null,"awardeeUeiSAM": null,"awardAmount": null,"modificationsCount": 0,"sourceUrl": "https://sam.gov/opp/c8092b56b2c14be9bea3ac6081207963/view","naicsCodes": ["221122"],"setAside": null,"placeOfPerformanceState": null,"placeOfPerformanceCountry": "USA","pointOfContact": [{ "name": "Bonnie Bueter", "email": "bonnie.bueter@gsa.gov", "phone": "202-227-1635", "type": "primary" }],"attachments": [{"name": "Domestic Solar Sources Sought.pdf","mimeType": ".pdf","sizeBytes": 66900,"postedDate": "2023-05-23T17:41:41.033+00:00","downloadUrl": "https://sam.gov/api/prod/opps/v3/opportunities/resources/files/127fca9028ef46ebb6f4f57863fe12e7/download"}]}
Pricing
One event, no Actor-start fee, same flat $0.0015 per row across all four dataTypes (opportunities, wage determinations, assistance listings/CFDA, exclusions).
Full dated competitor_audit resweep history for 2026-10-01 through 2026-11-13 (122 paragraphs covering the niche's growth from ~0 to 351 matched listings) relocated to COMPETITORS.md at cycle 3809 -- moved verbatim, not summarized, to keep this README under the measured 99,999-byte Apify Store-page truncation cap (NEW c3808a). See that file for the full per-date trail; the paragraphs below pick up with the most recent synthesis and the newest disclosures.
PRICING DECISION: HOLD $0.0015 — every new undercutter sits at 1-2 users, far under the 20-user re-price threshold, and this niche's established leaders (jungle_synthesizer/samgov-scraper 180u, scrapesage/sam-gov-scraper 72u, fortuitous_pirate/sam-gov-scraper 159u, re-verified live 2026-11-27 — previously 171u/64u/146u at 2026-11-09, see the pricing decision at the end of this section for the same re-read) already undercut us at every tier without having moved the price. Bottom line, updated: the long-standing undercutter list (jungle_synthesizer/samgov-scraper, scrapesage, yourwingman, acid-base, bridged, gochujang, jtpalms, j0401, tiger19935, usefulapi, badboxx_newlife, tidyflowlabs, chaptersoft, capable_coach, clearpath-data) gains pushbuild, shipsatnight/govcon-opportunity-change-monitor and hanielazevedo as every-tier-or-near undercutters; automatic, tidydata69 (own-key caveat), mmdincer (own-key caveat) and insight.solutions join the upper-tier/crossover group. We remain not the cheapest listing in this niche, at any volume, and do not claim to be — the case is all four dataTypes in one Actor with no SAM.gov API key, no Actor-start fee, and the watch/attachment features above.
One new undercutter, verified live 2026-11-18 (standing NEW c3162 vendor-catalogue triage, row 422): bepolabs/sam-gov (2 users) bills a flat $0.00012/notice, no start fee — opportunities-only (keyword/NAICS/agency/set-aside search with notice, deadline, agency, contacts and links), reading the same public SAM.gov backend this Actor does, under our flat $0.0015 at every realistic volume, though still dearer per row than j0401/sam-gov-contracts ($0.00005–$0.00003) already named above.
Verified live 2026-11-20 — competitor_audit rotation (last full pass 2026-11-13, c3155, now 336c gap). Own price re-read first: flat $0.0015/row, one result event, no start fee — unchanged. niche-size's 15-term sweep: 375 matched (up from 351 at c3155). niche-unnamed: 249 unnamed (231 NONE / 18 OWNER, up from 235). Rather than re-price the whole 249-handle tail, diffed it against the union of the two prior full-cohort datasets on disk (c2819_sgos_prices.json + c3155_sgos_prices.json, 252 known handles) to find genuinely new entrants — same DELTA method as sec-insider-trades-scraper's c3485 sweep — and found 31 handles never priced before. Live-priced all 31 via bin/_batch_price_sgos3.py, newly wired this cycle with up.cheap_legs() (the third pricer in the lazy NEW c3488 rollout, after apple-podcasts-scraper and federal-register-scraper), 31==31 cross-check against the diff's own count, 0 unresolvable, 1 AMBIGUOUS hand-read (codepulsehq/us-federal-opportunities-api — both its opportunity ($0.003) and award ($0.002) events price above our floor regardless of which carries isPrimaryEvent, so the missing flag changes nothing).
The cheap_legs scan found 6 listings with a per-row event below our floor against below_floor's 4 — the 2 extra were hand-read and correctly ruled non-issues, both the same different-dataset shape this README has drawn since tagadanar/usaspending-federal-awards (delisted — the Apify API returned 404 for this Actor on 2026-11-21) and thisisb3/sam-gov-contracts-scraper above. actorfactory/us-federal-contracts's cheap leg is its secondary award event ($0.002→$0.0014); its own description says the award data comes from "the USAspending API," not SAM.gov, and its primary opportunity event ($0.003→$0.0021) — the real comparable unit — is dearer than us at every tier. griffie/sam-gov-contracts-tracker's cheap leg is opportunity-details ($0.001→$0.0008), a secondary enrichment charge stacked on top of its own dearer primary opportunity event ($0.003→$0.002), so the real per-row cost for an equivalently detailed record is their sum (≥$0.0028), still dearer than our flat $0.0015; its award and expiring-contract events are the same USAspending distinction as actorfactory's. A third recurring near-miss shape for this scan, same family as apple-podcasts-scraper's c3488 lead-gen-events and federal-register-scraper's c3490 watch-cycle-fee.
Three genuine new undercutters, all 2 users, verified live 2026-11-20: askerka00/samgov-contracts-pro-scraper bills its primary contract-scraped event at a flat $0.0008/row, no start fee — in scope (SAM.gov opportunities with contracting-officer contacts, the same shape as scrapesage above) and under our floor at every tier. topapi/sam-gov-scraper bills its primary opportunity event at a flat $0.000045/notice (its own listing: "$0.045 per 1,000 notices") — ~33x under our rate, in scope (SAM.gov solicitations/RFPs/sources-sought/award notices with contact enrichment); its separate attachments ($0.000063), amendment-history ($0.0009) and attachment-file ($0.0009) events are opt-in add-ons for data this Actor already includes at no extra charge via includeAttachments, so only the primary rate is the comparable unit. spriggs-data/sam-gov-contract-opportunities ties us at FREE/BRONZE/SILVER but tiers its notice event down to $0.0013 at GOLD/PLATINUM/DIAMOND — a partial undercutter, the same "beats us only at the upper tiers" shape as rowcraft/jpopendata above. One scope false-match ruled out separately: loomwise/federal-contract-awards prices a flat $0.0009 result event every tier below our floor, but its own description names "official USAspending and FPDS data" — awards, not SAM.gov opportunities — the same tagadanar/thisisb3 distinction, not a threat.
PRICING DECISION: HOLD $0.0015 — all three genuine undercutters sit at 2 users, far under the 20-user re-price threshold, and this niche's established leaders already undercut us at every tier without having moved the price.
Verified live 2026-11-27 — competitor_audit rotation (last full pass 2026-11-20, c3491, now 341c gap). Own price re-read live first: flat $0.0015/row, one result event, no Actor-start fee — unchanged. niche-size's 15-term sweep: 157 matched of 905 distinct listings seen, down from 375 at c3491. That drop is not niche shrinkage — it is the same 2026-11-27 Apify Store search-index step change first measured on apple-podcasts-scraper the same day (238→110 matched, c3829); this is the second Actor to corroborate it, so treat matched-count comparisons across that date as incomparable rather than as rivals delisting. niche-unnamed: 152 unnamed (132 NONE / 20 OWNER). Diffed the fresh NONE list against the union of all three prior full-cohort datasets on disk (c2819/c3155/c3491_sgos_prices.json, 283 known handles) and live-priced the 49 handles never priced before via bin/_batch_price_sgos3.py (49==49 cross-check, 0 unresolvable, 4 AMBIGUOUS hand-read — kempt_horizon_yzk, scarlet_sheet, signalscouter and wishbone_data all price every recurring event at or above our floor, so the missing isPrimaryEvent flag changes nothing).
Five genuine new undercutters on opportunity rows, all priced live and verified 2026-11-27. Every-tier, from the first row: upward_enterprises/sam-gov-contract-radar (3 users) bills opportunity at $0.001 → $0.0006 with only a $0.00005 start fee — under our flat rate at every tier, in scope (NAICS/keyword/set-aside/agency/state matching with contacts, deadlines and links), and its separate award event ($0.0005 → $0.0003) is USAspending data, the same out-of-scope distinction drawn above. Cheaper past ~4 rows: automation-lab/samgov-government-contracts-scraper (29 users, the largest new entrant this sweep) and fetch_cat/sam-gov-contract-opportunities-monitor (4 users) carry an identical ladder — $0.005 start fee then $0.000115 → $0.000028 per opportunity row, ~13x under our rate at FREE — so their start fee is repaid against us at about 4 rows and everything beyond that is cheaper. Upper-tier only: publicmoney/sam-gov-opportunity-scraper (3 users) is dearer at FREE ($0.002), ties us at BRONZE ($0.0015) and undercuts from SILVER down ($0.00125 → $0.0007); maydit/sam-gov-opportunities-scraper (2 users) and factpipe/sam-gov-contracts (2 users) are both dearer at FREE ($0.002) and dip under us only at GOLD/PLATINUM/DIAMOND ($0.0012 and $0.0014) — the same "beats us only at the upper tiers" shape as spriggs-data/rowcraft/jpopendata above. logiover/global-public-tenders-scraper (18 users) tiers to $0.0014 at GOLD+ but carries a $0.0014 start fee, so it only becomes cheaper than us past ~14 rows, and its scope is global tenders rather than SAM.gov.
Two new undercutters on our exclusions rows specifically, verified 2026-11-27 — a scope this README had not previously had a priced rival for. Because this Actor charges one flat $0.0015 across all four dataTypes, a cheap exclusions-only listing undercuts us on that dataType even when it cannot touch the other three: automation-lab/sam-gov-entity-exclusions-scraper (6 users) bills exclusion item rows at $0.0000381 → $0.00001 after a $0.005 start fee (cheaper than us past ~3.5 rows), and oswaldocarabano/sam-gov-data-scraper (2 users) prices its exclusion and attachment events at a flat $0.0005, no start fee — under us from the first row — even though its primary notice event ($0.0025) is dearer than us on opportunities. Neither covers wage determinations or assistance listings, so the all-four-dataTypes case holds; the honest statement is that we are not the cheapest way to pull exclusions alone. For contrast, wishbone_data/davis-bacon-wage-determinations (4 users) is the first priced wage-determination rival and is dearer than us ($0.002/wage-rate row, $0.005 wage-determination event, $0.005 start fee).
Two cheap_legs hits correctly ruled out as the known start-fee-leg false positive, both re-verified live 2026-11-27 (the scan found 11 sub-floor listings; 9 are the 9 disclosed above, counting both exclusions rivals). adobeflex/sam-opportunities-lite (3 users) flagged on a sam_search_run event ($0.001) that is a per-search charge, not a per-row rate; its actual primary opportunity_row event ties us exactly at $0.0015 and it adds a $0.00005 start fee on top, making it strictly dearer than us. george.the.developer/federal-contract-opportunity-monitor (1 user) flagged on actor-start ($0.00005 → $0.00004), plainly a start fee; its primary opportunity event is $0.10/row, ~67x dearer than us. This is a third instance of the start-fee-leg class, alongside the secondary-enrichment and different-dataset classes already documented above — cheap_legs is deliberately tuned to over-report and every hit needs the primary-event read before it counts.
Three further shapes from the same cohort, all verified live 2026-11-27 — one high-volume crossover rival and two free MCP servers. alizarin_refrigerator-owner/sam-gov-contracts---federal-opportunities-search (10 users) prices its primary result row at $0.00001 — 150x under our rate — but gates it behind a $0.10 Actor-start fee and charges $0.01 per opportunity_search/naics_search/agency_search/set_aside_search/award_search/solicitation_search call on top, so against our flat $0.0015 with no start fee it is dearer below roughly 70 rows per run and cheaper above that; it is the first genuine high-volume crossover undercutter in this niche and it is disclosed as one. Separately, two listings are free and so beat any price we could set: martc03/gov-contracts-mcp (14 users) and artificially/business-data-mcp (1 user) are both FREE-model MCP servers that give an AI assistant per-query access to SAM.gov opportunities (plus USAspending and, for the latter, 13 unrelated tools). The scope distinction is delivery, not data: an MCP server answers one question at a time inside a chat client and returns no bulk dataset, where this Actor exists to push whole filtered result sets into an Apify dataset for export and scheduling — buyers who want the former are better served by those free listings, and we do not claim otherwise. rl1987/samgov-mcp ($0.002/tool-call) is the paid version of that shape and is dearer than us. Two exact ties worth naming so they are not mistaken for undercutters: andrew_avina/federal-contracts-mcp (3 users) matches our $0.0015/row with no start fee, and crawlwren/sam-gov-opportunities (2 users) matches $0.0015/row but adds a $0.0005 start fee, making it slightly dearer. The remaining 34 of the 49 newly-priced handles price above us at every tier or fall in the lead-gen/registry/exclusions-screening/multi-country-tender categories already excluded above.
PRICING DECISION: HOLD $0.0015. The one new rival above the 20-user re-price threshold is automation-lab/samgov-government-contracts-scraper (29 users), and it reaches its cheap rate only behind a $0.005 start fee that this Actor does not charge at all; every other new undercutter sits at 2–6 users. The niche's established leaders — re-verified live 2026-11-27: jungle_synthesizer/samgov-scraper 180 users, fortuitous_pirate/sam-gov-scraper 159, scrapesage/sam-gov-scraper 72 (all three grown from the 2026-11-09 snapshot named in the bottom-line paragraph above, which those counts supersede) — have undercut us at every tier for months without our price moving, and with no booked revenue a cut buys no measurable signal. We remain not the cheapest listing in this niche, at any volume, and do not claim to be — the case is all four dataTypes in one Actor with no SAM.gov API key and no Actor-start fee.
CORRECTION, re-verified 2026-11-28 (applying NEW c3840a's novelty check to this Actor). The 2026-11-27 sweep above diffed its fresh NONE/OWNER list against the union of three prior PRICED-cohort JSON files on disk, not against this Actor's full disclosure surface (this README plus COMPETITORS.md) — the same gap c3840 found and corrected on uk-find-a-tender-scraper. Checked by handle against both documents, excluding the sweep's own paragraphs: of the 15 rivals that sweep introduced as "new," "genuine new undercutter," or "not previously had a priced rival," 14 were already named and priced in COMPETITORS.md from earlier passes (2026-10-01 through 2026-11-19) — upward_enterprises/sam-gov-contract-radar, automation-lab/samgov-government-contracts-scraper, fetch_cat/sam-gov-contract-opportunities-monitor, publicmoney/sam-gov-opportunity-scraper, maydit/sam-gov-opportunities-scraper, factpipe/sam-gov-contracts, logiover/global-public-tenders-scraper, automation-lab/sam-gov-entity-exclusions-scraper, oswaldocarabano/sam-gov-data-scraper, alizarin_refrigerator-owner/sam-gov-contracts---federal-opportunities-search, martc03/gov-contracts-mcp, artificially/business-data-mcp, andrew_avina/federal-contracts-mcp and rl1987/samgov-mcp. Only crawlwren/sam-gov-opportunities is genuinely new to this file. Every live-read 2026-11-27 price stands — several (upward_enterprises, automation-lab/samgov-government-contracts-scraper) show real price or user-count moves worth the re-verification even though the rival itself was not new — and the HOLD $0.0015 decision is unaffected: read "the one new rival above the 20-user threshold" above as automation-lab/samgov-government-contracts-scraper's largest recorded user count (29), not a new listing. No pricing call made for this correction; done by cross-document grep only, per NEW c3840a's method.
FAQ
Do I need a SAM.gov API key? No. The official api.sam.gov developer API does require a free registered key, but this Actor uses the unauthenticated backend behind sam.gov's own public search page instead. Nothing to register, nothing to rotate.
Is there a posted-date range filter? Yes, since build 0.1.74 (2026-10-28): postedFrom/postedTo on publishDate, and deadlineFrom/deadlineTo on responseDate (the response deadline), all YYYY-MM-DD and inclusive on both ends, each side usable on its own as an open-ended range. The backend still has none — SAM.gov's search API exposes no date-range parameter on any of these indices, so this is the Actor's own post-fetch filter, and the one thing worth understanding about it is where it sits: the row is fetched, then dropped before it is pushed or charged, so you are never billed for a row outside your window. What that does not buy you is a cheaper upstream walk — SAM.gov still serves every row matching your server-side filters (keyword, naicsCodes, states, …), so a narrow window over a broad keyword can hit the run's time budget before maxResults is filled. Keep the other filters narrow, and reconcile with RUN_SUMMARY: declaredMatches is SAM.gov's pre-window count, dateWindowDropped is what the window removed, and dateWindowMissing is rows whose own date field was absent or unreadable — those are dropped too, deliberately, because we won't bill you for a row we can't prove is inside the window you asked for. A run that delivers far fewer rows than declaredMatches for this reason is reported as COMPLETE, not short. An unreadable date (2026-02-31), a reversed window (postedFrom after postedTo), or a window on a dataType that has no such date (deadlineFrom on wage determinations, any posted window on exclusions) stops the run before the first request with an explanation instead of quietly handing you — and billing you for — the unwindowed set. (activeOnly is still the cheapest way to separate open from closed opportunities.)
Can I look up one exact solicitation number? Yes, since build 0.1.23 (2026-10-28): set solicitationNumber to the number, with or without dashes/spaces ("SPRRA2-22-R-0016" and "SPRRA222R0016" are the same query). Correction (build 0.1.76, 2026-10-28): SAM.gov's backend does have one real exact-match parameter for this, notice_id — a solnum-style query parameter is still silently ignored, confirmed live by probing it directly, but notice_id genuinely narrows server-side (it just matches the solicitation number, not the opportunity id its name implies, and it wants the value exactly as typed — raw punctuation, case-sensitive). The Actor tries it first with one lightweight probe request: when your value matches it exactly, the whole run walks on notice_id and usually finishes in a single page instead of reading the broader index; when it doesn't (different case, approximate input, or truly no match), the run falls back automatically to the pre-charge post-fetch filter described below, unchanged from how this feature worked before notice_id was found. Either way, a fetched row is only ever pushed and charged once its own solicitation number (compared the same punctuation-stripped, case-insensitive way SAM.gov compares it internally) exactly matches — notice_id is an efficiency win, never trusted unchecked. On the fallback path, the value is sent to SAM.gov as the search keyword to narrow the walk (it overrides keyword if you also set one — you'll get a warning), but that only scopes the walk, it does not reduce how much is read upstream, so a number that happens to be a weak/short substring can still walk the whole index before the exact check runs. Use RUN_SUMMARY.noticeIdFastPath to see which path a run took, and .solicitationNumberMismatch/.solicitationNumberMissing to see what the exact-match filter removed. Not supported for wage determinations, assistance-listings or exclusions — those records carry no solicitation number, and the run stops before any request rather than billing you for the unfiltered set.
Is there an award-amount range filter? Yes, since build 0.1.77 (2026-10-29): minAwardAmount/maxAwardAmount, inclusive, either side usable alone. SAM.gov's search backend only supports an exact award-amount match (award_amount=<n>, confirmed live) and rejects every range syntax (100000-200000, [100000 TO 200000], comma pairs, >100000) with HTTP 400, so like the date windows and solicitationNumber above, this is the Actor's own post-fetch filter: a fetched row is dropped before it is pushed or charged if its own award.amount is outside your range or missing entirely. award.amount is a real field on every opportunity row, but it is null until SAM.gov records an award against it — set noticeTypes: ["a"] to scope the walk to award notices, or most fetched rows will be dropped as awardAmountMissing rather than awardAmountDropped (the run logs a one-line reminder if you don't). Reconcile with RUN_SUMMARY.awardAmountDropped (out of range) and .awardAmountMissing (no award amount at all). Opportunities only; wage determinations, assistance-listings and exclusions carry no award object, and the run stops before any request rather than billing you for the unfiltered set.
Can I see who currently holds the work a notice is re-soliciting? Yes, since build 0.1.79 (2026-10-29): set includeIncumbentAwards: true and each opportunity gains an incumbentAwards array — the top 3 US federal contract awards by dollar value from USAspending.gov matching that notice's NAICS code, with recipient name, UEI, amount, start/end dates, awarding agency and sub-agency, and a usaspending.gov link for each. When the issuing department maps to one of USAspending's top-tier agency names the match is narrowed to that agency as well; every row records which it got in incumbentAwardsMatchedBy (naics+agency, naics, no-naics or lookup-failed). No extra charge — this is a second upstream, not a second billed event.
Three honest limits. (1) incumbentYears is matched against each award's last-modification/obligation date on USAspending, not its award or start date. Measured live: a 3-year window legitimately returns a contract that started in 2007 and was last modified in 2025, because an option exercise on a long-running contract is a recent action. That is the right answer for "who is performing this today", but it is not what "look-back" sounds like, so every returned award carries both startDate and lastModifiedDate and the exact window is written to RUN_SUMMARY.incumbentAwards.lastModifiedBetween. (2) Definitive contract awards only (USAspending award types A/B/C/D) — not IDV vehicles, grants, loans or sub-awards, because USAspending rejects a request mixing award-type groups and "who performs the work" is the contract, not the vehicle. (3) NAICS is not on SAM.gov's search row (its raw row carries only id/title/solicitation number/type/award/organization/descriptions), so this needs the per-opportunity detail call and turns enrichDetail on for you with a warning rather than silently returning nulls. A notice with no NAICS code at all gets incumbentAwards: null with incumbentAwardsMatchedBy: "no-naics" — distinct from [], which means the lookup ran and USAspending genuinely holds no matching award.
Is description the full notice text? Yes — the full solicitation description as SAM.gov itself stores it (original HTML markup preserved), not a truncated snippet; it can run to several thousand characters on a detailed notice. Attachments (drawings, full statements of work as separate documents) are not part of description — set includeAttachments: true to list them.
How deep can a search go? The backend caps paging at 10,000 rows per query, so a very broad keyword will stop there. Narrow with naicsCodes, noticeTypes or states rather than trying to page past it.
Is pointOfContact personal data? These are government contracting officers' official work contact details, published by the agency itself as a required part of the statutory public notice — the same disclosure class as the contacts on our NIH RePORTER and EU TED Actors. They are returned as SAM.gov publishes them; they are not aggregated across sources, cross-referenced with any other dataset, or resold as a people-lookup product.
How does the price compare? $0.0015 per returned row with no Actor-start fee. The comparable paid SAM.gov Actors on the Store range from about $0.0005 (two 1–2-user listings' flat rate, verified live 2026-10-04) to $0.003 per row — see Pricing above for the full live ranking, including the handful of free listings — and some add an Actor-start fee of $0.00005–$0.50 on top, charge extra for attachments or change alerts, or require your own SAM.gov API key, none of which this Actor does.
Can I download the bid attachments, not just get their links? Set includeAttachments: true — every row then carries an attachments array with each file's name, size, MIME type and a direct, no-login downloadUrl. This Actor does not fetch the file bytes into the dataset itself (a notice can attach a 10+ MB drawing set, and this is a 2 GB box); the URL is SAM.gov's own stable download path, so your own pipeline fetches the actual bytes only for the files it wants, when it wants them, without ever needing a SAM.gov login. Two comparable rivals (jungle_synthesizer/samgov-scraper, scrapesage/sam-gov-scraper) also offer an attachment-download feature; this closes that gap.
How does watchLabel know what's already new, and where is that baseline stored? In a key-value store on your own Apify account, keyed by the label plus a fingerprint of keyword/naicsCodes/setAsideTypes/noticeTypes/states/organizationId/activeOnly. The first run for a label just records every currently-matching opportunity id and returns zero rows (you pay nothing); every run after that returns only ids not already in that record. Changing any of those filters starts a fresh baseline under the same label instead of comparing against the old filter's results.
Does watchChanges cost extra? No extra fee — a changed opportunity is billed at the same $0.0015/row as a new one, so you only pay when there's actually something to see. Plain watchLabel never re-delivers an opportunity it has already sent you, even if the agency later extends the deadline or the notice moves from presolicitation to solicitation to award. Set watchChanges: true and each run also compares every already-delivered opportunity's isActive/noticeTypeCode/responseDate/modifiedDate/modificationsCount/awardeeName (plus an internal fingerprint of description) against what it looked like last time; if anything moved, the row is re-delivered tagged with _watchChangeType (which field(s) changed) and _watchPrevious (their prior values — description's previous value is a fixed note, since only a fingerprint of that text is stored, never the full text). Verified live: seeding a baseline, editing a delivered opportunity's recorded isActive flag and responseDate directly in the stored snapshot, then rerunning returned exactly those 2 rows with the correct change tags and nothing else — and a plain unchanged rerun after that returned 0 rows again.
Don't filter on the field you're watching. watchChanges compares each already-delivered row's watched fields against what they looked like last time — but two of this Actor's own filters are server-side narrowings on fields it also watches, so combining them with watchChanges makes exactly the change you're trying to catch structurally unreportable. activeOnly (on by default) sends SAM.gov is_active=true; isActive is the #1 watched field (the active → inactive/awarded transition, flagged as the single most valuable alert in this niche). The moment a row flips inactive, the filter stops it from matching the query at all — it is never fetched again, so watchChanges is never even asked about it, and the run just reports "nothing new." Live-verified cycle 1567 against a real sam.gov row (naics 221122): present with no filter, absent the instant is_active=true is added. Set activeOnly: false on any watch run where you need that transition — you'll get both active and inactive rows back and can filter on isActive yourself after delivery, or run two labels (one activeOnly: true for new rows, one activeOnly: false with watchChanges for the inactive transition). noticeTypes is the narrower second instance (opportunities only): it sends notice_type, and noticeTypeCode is watched for the presolicitation → solicitation → award lifecycle, so filtering to one type blinds the transition out of that type — leave it empty on a watch run that needs to see lifecycle moves. Both cases log an explicit warning (and, if the run also ends up with nothing new, a NOTE on that message) rather than silently reporting a clean, quiet watch.
Don't pin postedTo on a watch, either — same trap, different mechanism. activeOnly/noticeTypes above make watchChanges blind to a specific transition; a fixed postedTo is worse, because it kills watchLabel itself (new-opportunity detection, with or without watchChanges). publishDate is the date SAM.gov posted the notice, confirmed live to be assigned once and never bumped forward (active opportunities from as far back as 2011 still carry their original publishDate), while a brand-new notice's publishDate always equals today. So once today's date passes a fixed postedTo, no notice can ever again fall on or before it — the watch goes permanently quiet, and "nothing new" looks identical to "this watch is dead." postedFrom alone has no such problem (a one-sided lower bound only limits how far back the first baseline reaches). The run logs a warning when this combination is detected, and RUN_SUMMARY.watchDeadDateBound reports it so a pipeline can check from code. Drop postedTo from a watched query and reseed instead.
How do I know a run returned everything, without reading the log? Every run writes a RUN_SUMMARY record to its own key-value store — fetch it with GET https://api.apify.com/v2/actor-runs/<runId>/key-value-store/records/RUN_SUMMARY (no webhook needed; it's also sent as summary on any webhookUrl POST). It carries declaredMatches (what SAM.gov itself says matches your filters — null, never 0, if the search never answered with a count), reachableMatches (those minus anything past SAM.gov's 10,000-row depth cap), scanned, delivered, pages, pagesFailed, duplicateRowsDropped, republishedRowsDropped (opportunities dataset only) and a boolean complete. When complete is false, incompleteReason is one of upstream-error (SAM.gov stopped answering mid-walk, after 4 retries), short-page (SAM.gov returned an empty page before its own declared total was reached), depth-cap (the query is deeper than the 10,000 rows this backend will serve), duplicate-rows (SAM.gov served its whole result set but repeated rows across pages, so there were fewer distinct opportunities than it declared), max-results (your maxResults is below the match count — the common, harmless one), charge-limit (the run's pay-per-event limit stopped it), enrich-failed (enrichDetail was on and some detail lookups failed, so their naicsCodes/setAside/pointOfContact are null for that reason rather than because SAM.gov has none), attachments-failed (includeAttachments was on and some attachment lookups failed, reported separately as attachmentLookupsFailed — their attachments field is null for that reason, not because the notice has no files), or incumbents-failed (includeIncumbentAwards was on and some USAspending lookups failed — a different upstream from SAM.gov, so the reason names it rather than letting SAM.gov take the blame; those rows' incumbentAwards is null, not an empty array). incompleteDetail spells out the numbers and lastApiError gives the underlying HTTP cause (SAM.gov's; USAspending's own last error is reported separately under incumbentAwards.lastError). A short run still finishes as SUCCEEDED — the rows it did return are real — so this record, plus the run's status message, is how a pipeline tells "200 of 200 matches" apart from "200 of 12,297".
What if a blank value ends up in one of my list filters? It is never silently ignored, because an ignored list filter is the most expensive mistake this Actor could make. naicsCodes, setAsideTypes, states and noticeTypes are OR-ed lists, and a blank or whitespace-only entry (the usual shape when the input is built from a spreadsheet column or a templated schedule) cannot be sent to SAM.gov. If every entry you gave is blank, the whole filter would vanish from the query — which does not return zero rows, it returns the unnarrowed result set and charges for every row of it (measured live 2026-11-28, re-verified, originally ~33/~16,110: an opportunities search narrowed by one NAICS code returns ~38 matches; the same search with the naics parameter missing returns ~15,587). So that run fails immediately, before any request or charge, naming the field to fix. If only some entries were blank, the surviving values are applied normally and the run reports exactly what it dropped — in the log, in the run status message, and as RUN_SUMMARY.blankFilterEntriesDropped ({"naicsCodes": 1}, or null when nothing was dropped) — so a pipeline can assert on it. The run status message is capped at Apify's own 500-character limit, and on a run whose status text is already long (e.g. a 0-match search naming several filters at once) this NOTE is reserved out of that budget rather than appended last, so a long run never loses the blank-entry disclosure to silent truncation — only the less critical detail ahead of it gets shortened. Unrecognised non-blank values are a different case and are deliberately kept: SAM.gov fails closed on a value it does not know, so keeping it matches nothing (safe) while dropping it would widen the search (expensive).
My run FAILED with a long input value, and the message looked cut off — is something being hidden from me? No, and since build 0.1.27 it can't happen: a hard-fail message (bad postedFrom/postedTo/deadlineFrom/deadlineTo date, a solicitationNumber that's all punctuation, or a watch baseline that couldn't complete) always echoes the value you supplied so you can see what was rejected, but these fields have no length limit on our side — a very long value could, before this fix, have pushed Apify's own 500-character status-message cap past the point where it silently cut off the rest of the sentence, taking the "stopping before any row is delivered or charged" / "no baseline was saved" disclosure off the end along with it. The echoed value is now capped at 40–60 characters (with ...) and the billing-safety sentence is reserved space out of the 500-character budget, so it always survives intact no matter how long the input was. You are never charged for a run that fails this way, regardless of message length.
A run finished SUCCEEDED with 0 rows and no error — what happened? Two different reasons, both now reported in the run's status message (not just the log), and neither is a bug on your account: (1) "Nothing new since the last run" — on a watchLabel run, every matching row had already been delivered under that label on a prior run and none of them changed (set watchChanges: true if you need to catch edits, not just new rows) — the common, expected result of running a monitor on a schedule when nothing has moved. (2) A genuinely empty search — every filter value you supplied is valid, and SAM.gov simply has no match for that combination; the message names the filters actually applied so you know which one to widen first. Either way you are charged nothing — Actor.charge() is never called for a row that was never pushed. A watchLabel baseline (seed) run returning 0 rows is a third, separate, always-expected case (see above) and is not flagged as a status message — it's the designed first-run behavior, not an empty search.
Can the same opportunity come back twice (and be charged twice)? No, in either of the two ways this can happen. First, SAM.gov's backend pages by offset over a live, relevance-sorted index, so rows genuinely do repeat across pages under the same opportunityId. Repeats are dropped inside the walk, before any Actor.charge() call, so you are only ever billed for distinct opportunityId values; RUN_SUMMARY.duplicateRowsDropped tells you how many there were. The repeat rate is not a fixed number — it varies run to run on the identical query. Walking the same active-opportunities query (52,374 matches) to the 10,000-row depth cap twice, seconds apart, returned 8,925 distinct ids one time and 8,370 the next (89.25% vs. 83.70% yield), with duplicates landing on different pages each run. A narrower query that stays under 10,000 total matches sees none of this (measured 0 repeats on a 604-match query). Don't budget around a single "~X% repeats" figure for a query near or past the cap — read RUN_SUMMARY.duplicateRowsDropped for the actual run, or narrow filters until declaredMatches sits under 10,000. Full measurement: SAM.gov's 10,000-row depth cap doesn't promise 10,000 rows. This is also why a very broad query can return fewer rows than declaredMatches even when nothing failed — that case reports incompleteReason: "duplicate-rows" rather than pretending the backend broke.
Second — and separate from paging repeats — SAM.gov itself sometimes posts the exact same solicitation twice under two brand-new opportunityIds, which an id-keyed dedup can never catch, since the id is exactly what differs between the copies. Measured live 2026-09-24 on a 400-row activeOnly opportunities sample: 2.2% of rows were byte-identical republications (same title/solicitationNumber/description/agency/office, only the id, sourceUrl and a timestamp seconds apart differed) — one VA asbestos-monitoring notice was posted 3 times in under a second. Every run now also dedupes on a content hash (solicitationNumber + noticeTypeCode + title + a fingerprint of description) within the opportunities dataset, dropping repeats before they are charged; RUN_SUMMARY.republishedRowsDropped reports how many. This guard is scoped to the opportunities dataset only — wage determinations, assistance listings and exclusions were not part of this measurement.
Could a SAM.gov change silently turn my filtered search into an unfiltered one — and bill me for it? Not without stopping the run first. SAM.gov's backend fails closed on a filter value it doesn't recognise (naics=999999 → 0 matches) but fails open on a filter name it doesn't recognise: the parameter is silently dropped and the same HTTP 200 comes back carrying the entire index. Measured live 2026-11-28 (re-verified, originally 604/52,460): naics=541511 → 508 matches, the one-letter typo naic=541511 → 43,563, an 86× widening with no error anywhere — and under per-result pricing every one of those rows would be a charged "match". So before it fetches a single billable page, every run sends one tiny probe per filter name it is about to use, with a value that cannot match anything. A filter SAM.gov still honours returns 0; a dropped one returns the whole index, and the run aborts with an explicit error naming the parameter instead of delivering and charging for unfiltered rows. The probes are size=1, deliver nothing and cost you nothing. This also guards the exclusions dataset's individual-person exclusion — the classification filter that keeps private people out of the output is a parameter name like any other, and it is probed on every exclusions run whether or not you set any filters of your own.
What happens if a watch baseline run doesn't finish? It is flagged rather than silently trusted. A baseline that stopped early would report everything past the stopping point as brand new — and charge for it — on your first incremental run, so an incomplete seed saves with lastRunStatus: "seeded-incomplete", logs a BASELINE INCOMPLETE warning naming the reason, and sets a run status message telling you to re-seed before scheduling. RUN_SUMMARY reports mode: "watch-seed", complete: false and baselineSize so you can check it from code. The same applies if a baseline ever outgrows the 60,000-entry record cap (baselineTruncated).
How is webhookUrl different from Apify's own platform webhooks? Apify's platform webhooks are configured separately per Task/Actor via the Console or the Webhooks API — useful if you already live in the Apify Console, but extra setup if you're calling this Actor's API directly and just want a completion ping. webhookUrl is a plain input field: set it on the run itself and it POSTs a JSON body (actorRunId, defaultDatasetId, finishedAt, pushed, rowsScanned, the full summary object described above, and — if watchLabel is set — watchSeeding/watchNewCount/watchChangedCount/watchSkippedCount) once the run finishes and every opportunity is already pushed and charged. Three of those fields are the run's outcome rather than its counts: failed (the run's real terminal status — a dead watch baseline reports failure after this POST, so a webhook-only consumer still learns about it), errorMessage, and statusMessage, which is verbatim the explanation the Console shows. That last one is what makes a zero-row ping actionable without opening the Console: a filter set that matched nothing names the filter to widen, so pushed: 0 is never ambiguous between "SAM.gov had no match" and "the run broke partway". Especially useful with watchLabel on a scheduled bid alert: your endpoint is told how many new solicitations landed without polling the dataset, and watchSeeding: true distinguishes "this was the free baseline run" from "your watch is live and quiet" — both report zero new rows otherwise. It's best-effort — a slow or failing webhook only logs a warning, it never fails the run, changes the result set, or affects billing.
Related guides
- A zero in federal program funding history doesn't mean zero dollars — all 7,396 CFDA listings read live: amounts are present on 97.3% of programs that have a history, but 34.2% of year-entries carry a placeholder
0and 1,771 carry anestimateandactualthat disagree by up to 50%. - SAM.gov's wage-determination search doesn't match trades — and a short query silently becomes a different kind of search —
q=roofingreturns zero against 85,000+ live Davis-Bacon records, and a single space turns an exact 1-row match into a 106-row OR with no error either way. - The filter that isn't there: three government APIs return the whole index when a filter name is dropped — the fail-open canary-value guard this Actor ships on
index=oppandindex=ei, measured across SAM.gov, OpenFEC and USAspending. - https://fetchsmith.com/blog/sam-gov-depth-cap-yield-varies
- https://fetchsmith.com/blog/sam-gov-key-free-federal-datasets-one-endpoint
- https://fetchsmith.com/blog/usaspending-federal-awards-json-api
- https://fetchsmith.com/blog/grants-gov-federal-grant-opportunities-json-api
- We nearly charged our own buyers twice for rows they'd already paid for — a capped watch-mode baseline can silently evict old-but-current ids on a high-volume run, re-delivering (and re-billing) rows already paid for.
- https://fetchsmith.com/tools
- Eight ways an "only new since last run" watch mode silently stops working — the fleet-wide survey of watch-mode failure shapes across all nineteen incremental Actors, this one included.
Source code
https://github.com/Fetchsmith/fetchsmith/tree/main/actors/sam-gov-opportunities-scraper
More tools: fetchsmith.com/tools — HTTP-only Actors for public data sources, no browser required.