SAM.gov Federal Contract & Award Notice Scraper
Search US federal contract notices on SAM.gov by keyword, NAICS code, set-aside type and posting date, or fetch a specific notice by ID, covering solicitations, sources sought, awards and set-aside designations.
Open in Apify Store$0.99 / 1K on Free
Short answer
SAM.gov Federal Contract & Award Notice Scraper is an Apify Store Actor that returns 12 published output fields, including noticeId, title, type, department. It lists $0.99 per 1,000 results on the Free plan (pay per event), $0.49 on the Business plan. It takes 25 input settings, none required. Last updated Nov 22, 2026.
From the public Store listing and published build schema, synced 2026-11-22.What it returns
12 fields from the published dataset schema. Export as JSON, CSV or Excel, or read the dataset through the Apify API.
noticeIdtitletypedepartmentagencypostedDateresponseDeadlinenaicsCodesetAsideawardAmountawardeeNamesourceUrl
Input
| Setting | Type | Required | Default | What it does |
|---|---|---|---|---|
| operation | string | No | search | Search notices with filters, or fetch specific notices by ID or sam.gov URL. |
| mode | string | No | – | Legacy mode value accepted for backward compatibility. Use `operation` instead. |
| searchQuery | string | No | – | Words to match in notice titles and descriptions. Leave empty to browse by filters only. |
| matchMode | string | No | ALL | How multiple keywords must match. Best match sorting uses relevance when keywords are set. |
| noticeType | string | No | – | Restrict results to one notice type, such as solicitations or award notices. |
| naicsCode | string | No | – | One or more NAICS codes, comma-separated. Ranges are accepted, e.g. 541511,541512 or 561730-561740. |
| pscCode | string | No | – | One or more PSC codes, comma-separated, e.g. D302 or 7A21. |
| setAside | string | No | – | Small-business and socioeconomic set-aside designation. |
| organizationId | string | No | – | Optional SAM.gov federal organization ID, or a comma-separated list, to restrict results to specific departments, agencies or offices. |
| placeOfPerformanceState | string | No | – | US state or territory where the work will be performed. |
Show the other 15 settings
| Setting | Type | Required | Default | What it does |
|---|---|---|---|---|
| placeOfPerformanceCountry | string | No | – | Three-letter country code, e.g. USA. Leave empty for all countries. |
| postedFrom | string | No | – | Only notices published on or after this date (YYYY-MM-DD). |
| postedTo | string | No | – | Only notices published on or before this date (YYYY-MM-DD). |
| responseFrom | string | No | – | Only notices whose response deadline is on or after this date (YYYY-MM-DD). |
| responseTo | string | No | – | Only notices whose response deadline is on or before this date (YYYY-MM-DD). |
| activeOnly | boolean | No | true | Keep only currently active notices. Turn off to include archived and inactive notices. |
| sort | string | No | -modifiedDate | Order of returned notices. Best match needs search keywords. |
| awardNumber | string | No | – | Filter award notices by contract award number or task/delivery order number. |
| awardeeState | string | No | – | US state or territory of the awardee. Applies to award notices. |
| awardAmountFrom | string | No | – | Minimum award amount in US dollars, e.g. 100000. |
| awardAmountTo | string | No | – | Maximum award amount in US dollars, e.g. 5000000. |
| includeDetails | boolean | No | true | Fetch each notice's detail page for NAICS/PSC, set-aside, award amount, contacts and description. Adds one request per notice. |
| includeAttachments | boolean | No | true | List each notice's attachments with public download links. Adds one request per notice. |
| noticeIds | array | No | – | Used in fetch mode. Paste SAM.gov notice IDs, solicitation numbers, or sam.gov/opp/<id>/view URLs. |
| maxItems | integer | No | 25 | Maximum number of notices to return (1-10,000). SAM.gov caps any single query at 10,000 records. |
Example input
Built from the input form's published example values and defaults.
{
"operation": "search",
"searchQuery": "software",
"matchMode": "ALL",
"activeOnly": true,
"sort": "-modifiedDate",
"includeDetails": true,
"includeAttachments": true,
"maxItems": 2
} Run it from code or an AI agent
The same run through the Apify API, with the example input. You need an Apify API token; the run is billed to your account at the Store price.
Python
from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run_input = {
"operation": "search",
"searchQuery": "software",
"matchMode": "ALL",
"activeOnly": True,
"sort": "-modifiedDate",
"includeDetails": True,
"includeAttachments": True,
"maxItems": 2
}
run = client.actor("crawlyth-forge/sam-gov-federal-contract-and-award-notice-scraper").call(run_input=run_input)
if run is None:
raise RuntimeError("The Actor run was not found.")
for item in client.dataset(run.default_dataset_id).iterate_items():
print(item) pip install apify-client
JavaScript
import { ApifyClient } from "apify-client";
const client = new ApifyClient({ token: "<YOUR_APIFY_TOKEN>" });
const input = {
"operation": "search",
"searchQuery": "software",
"matchMode": "ALL",
"activeOnly": true,
"sort": "-modifiedDate",
"includeDetails": true,
"includeAttachments": true,
"maxItems": 2
};
const run = await client.actor("crawlyth-forge/sam-gov-federal-contract-and-award-notice-scraper").call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items); npm install apify-client
cURL
curl -X POST "https://api.apify.com/v2/actors/crawlyth-forge~sam-gov-federal-contract-and-award-notice-scraper/run-sync-get-dataset-items" -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" -d '{"operation":"search","searchQuery":"software","matchMode":"ALL","activeOnly":true,"sort":"-modifiedDate","includeDetails":true,"includeAttachments":true,"maxItems":2}' Waits for the run and returns the dataset items (runs over 300 seconds return HTTP 408; start an async run instead).
MCP (AI agents)
{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com?tools=crawlyth-forge/sam-gov-federal-contract-and-award-notice-scraper",
"headers": {
"Authorization": "Bearer <YOUR_APIFY_TOKEN>"
}
}
}
} Adds this Actor as a tool in an MCP client that takes a remote server URL (Cursor, VS Code, Claude Code) through Apify's hosted MCP server. OAuth sign-in also works without the header. Clients that only start local servers can wrap the URL with npx mcp-remote.
What a run costs
The result rate falls on higher Apify plans. Each figure is the published per-result rate times the number of results.
| Apify plan | Per 1,000 | 10,000 results | 100,000 results |
|---|---|---|---|
| Free plan | $0.99 | $9.90 | $99 |
| Starter plan | $0.82 | $8.20 | $82 |
| Scale plan | $0.66 | $6.60 | $66 |
| Business plan | $0.49 | $4.90 | $49 |
- Every run also has a start event, charged per GB of memory (minimum one): $0.10 on Free, $0.03 on Business. At its default memory of 4 GB a run starts at $0.40 on Free. Fewer, larger runs keep this small.
- The Free plan includes $5 of monthly usage (Apify pricing, checked 2026-11-11); at the Free rate that covers at most about 5,050 results, less start events and platform usage.
- Worked example: 10,000 results in one run on the Free plan cost $10.30 ($9.90 for results + $0.40 start), plus Apify platform usage (compute), billed separately by Apify.
- Pay per event. Platform usage (compute) is billed by Apify on top of the event prices. Compare other tools in the cost estimator.
What people use it for
- Find federal contracting opportunities
- Track contract awards
Similar Actors
EU Procurement Notice Finder by CPV & Country
Search EU TED procurement notices by CPV category, buyer country, publication date, and keyword, or fetch specific notices by publication number,…
ClinicalTrials.gov Trial Registry & Eligibility Extractor
Search the US clinical-trial registry (500K+ studies) by condition, intervention, location, sponsor, or NCT ID, with eligibility, demographic,…
SBA Certified Small Business & Federal Contractor Lookup
Search the SBA's public small business directory by name, state, NAICS code, or federal certification (8(a), HUBZone, WOSB, VOSB, SDVOSB) and get…
Bar Standards Board Barrister Register Scraper
Search the Bar Standards Board's official Barristers' Register for England & Wales by name or chambers, filter by practising status, area of…
General Chiropractic Council Register Scraper
Search the General Chiropractic Council's public register of UK-regulated chiropractors by name, postcode radius, or registration number, with…
Michigan LARA Professional License Verification Scraper
Verify Michigan occupational and professional licenses against the state LARA registry by license number, licensee or business name, license type,…
Questions people ask
How much does SAM.gov Federal Contract & Award Notice Scraper cost?
The published result rate depends on your Apify plan: $0.99 per 1,000 on Free, $0.82 per 1,000 on Starter, $0.66 per 1,000 on Scale, $0.49 per 1,000 on Business. So 10,000 results cost about $9.90 on the Free plan and $4.90 on Business, plus a start fee of $0.10 per run per GB of memory on Free. Platform usage is billed separately.
What data does SAM.gov Federal Contract & Award Notice Scraper return?
Its published output schema lists 12 fields: noticeId, title, type, department, agency, postedDate, responseDeadline, naicsCode, setAside, awardAmount, awardeeName, sourceUrl. A listed field is not guaranteed to be filled in every row.
What input does SAM.gov Federal Contract & Award Notice Scraper need?
No input is strictly required; the defaults run as is. Common settings: operation, mode, searchQuery, matchMode, noticeType, naicsCode.
How do I run SAM.gov Federal Contract & Award Notice Scraper from Python or the API?
Use the Apify API client: in Python, ApifyClient(token).actor("crawlyth-forge/sam-gov-federal-contract-and-award-notice-scraper").call(run_input=...), then read the run's default dataset (run.default_dataset_id); in JavaScript the same call is client.actor("crawlyth-forge/sam-gov-federal-contract-and-award-notice-scraper").call(input). Without a client, POST the input JSON to https://api.apify.com/v2/actors/crawlyth-forge~sam-gov-federal-contract-and-award-notice-scraper/run-sync-get-dataset-items with your API token. Ready-to-paste code with the example input is on this page.
Sources
- SAM.gov Federal Contract & Award Notice Scraper on Apify Store
- Published build with input and output schema (JSON)
Cite this page
Scraper Finder. "SAM.gov Federal Contract & Award Notice Scraper." https://scraperfinder.com/catalogue/sam-gov-federal-contract-and-award-notice-scraper/ (data checked 2026-11-22).
Run SAM.gov Federal Contract & Award Notice Scraper
$0.99 per 1,000 results. Paste the example input above, set your target query, then export the dataset.