Skip to content
//SAM.gov Contracts Scraper example\\

Active cybersecurity contracts, 10 results

Contract opportunities with details and attachments.

Updated November 27, 2026

What this example returns

This example returns up to 10 results.

The dataset’s “Opportunities” view shows 13 columns: Title, Solicitation #, Type, Department, Office, NAICS, Set-aside, Posted, Response due, Contact, Email, Phone, and SAM.gov. See every output field.

What each setting does

The input this example runs SAM.gov Contracts Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Keywords keywords

cybersecurity

Search terms, e.g. cybersecurity, janitorial services, cloud migration. Each line is a separate search. Leave empty to filter only by codes, agency or dates.

Max opportunities maxResults

10

Maximum number of opportunities to save. 0 = no limit. SAM.gov serves at most 10,000 results per query; a bigger search is read in posted-date windows automatically, so you get all of it.

Default: 10000 → this example uses 10

Active notices only activeOnly

Yes

Turn off to also search archived and inactive notices (SAM.gov keeps them for years).

Keyword match keywordMode

All words

How keywords are matched.

Sort by sortBy

Recently updated

Result order.

Include details includeDetails

Yes

Open each notice for contacts (name, email, phone), NAICS, PSC, set-aside, place of performance, full description and award data. Turn off for a faster, lighter listing.

Include attachments includeAttachments

Yes

Add the notice's attachments and links with direct download URLs.

.json
{
  "keywords": [
    "cybersecurity"
  ],
  "maxResults": 10,
  "activeOnly": true,
  "keywordMode": "all",
  "sortBy": "modified",
  "includeDetails": true,
  "includeAttachments": true
}

What it costs

You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices: compute, proxies, browser and storage cost nothing extra.

  • Opportunityfrom $0.0009One contract opportunity saved to the dataset.
  • Actor startfrom $0.0015Charged once per run.

Full pricing

Other ways to run SAM.gov Contracts Scraper

All examples of SAM.gov Contracts Scraper

About SAM.gov Contracts Scraper

Scrape federal contract opportunities from SAM.gov by keyword, NAICS, PSC, set-aside, agency, state and dates: contacts with email and phone, deadlines, place of performance, descriptions, awards and attachment links.

Price:
From $0.90 / 1,000 results
Developer:
Corner Ledger

SAM.gov Contracts Scraper pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.