SAM.gov Contracts - Federal Opportunities Search avatar
SAM.gov Contracts - Federal Opportunities Search

Pricing

from $0.01 / 1,000 results

Go to Apify Store
SAM.gov Contracts - Federal Opportunities Search

SAM.gov Contracts - Federal Opportunities Search

Search SAM.gov for federal contract opportunities, solicitations, and awards. Find government contracts by NAICS code, set-aside type, agency, location, and keywords. Perfect for government contractors, business development teams, and procurement intelligence.

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

John Rippy

John Rippy

Maintained by Community

Actor stats

1

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Share

Search SAM.gov for federal contract opportunities, solicitations, and awards. Find government contracts by NAICS code, set-aside type, agency, location, and keywords. Perfect for government contractors, business development, and procurement intelligence.

Features

  • Search Contract Opportunities: Find active federal contract opportunities with advanced filters
  • NAICS Code Search: Search by North American Industry Classification System codes
  • Set-Aside Filtering: Filter by small business set-asides (8(a), SDVOSB, WOSB, HUBZone, etc.)
  • Agency Search: Find opportunities from specific federal agencies
  • Award Tracking: Track contract awards and winners
  • Solicitation Monitoring: Monitor solicitations and RFPs
  • Demo Mode: Test without API credentials using realistic sample data

Quick Start

{
"query": "example search"
}

Demo Mode (Enabled by Default)

This actor uses a free public API and defaults to demoMode: true.

Since this actor wraps a free, publicly available API, demo mode is enabled by default. This allows you to:

  • Test the actor without any configuration
  • See real sample data from the actual API
  • Verify the output format before integrating

To get customized results, simply provide your own input parameters.

Input Parameters

Task Selection

  • task: Operation to perform
    • search_opportunities - Search all contract opportunities
    • get_opportunity - Get specific opportunity by ID
    • search_by_naics - Search by NAICS code
    • search_by_agency - Search by federal agency
    • search_by_set_aside - Search by set-aside type
    • search_awards - Search contract awards
    • search_solicitations - Search active solicitations

Authentication

  • apiKey: Your SAM.gov API key (get free at sam.gov)
  • demoMode: Run with sample data (no API key required)

Search Filters

  • postedFrom / postedTo: Date range (MM/dd/yyyy format)
  • naicsCode: Industry classification code (up to 6 digits)
  • classificationCode: Product/service code
  • typeOfSetAside: Small business set-aside type
  • procurementType: Notice type (solicitation, award, sources sought, etc.)
  • organizationCode / organizationName: Federal agency
  • state / zip: Place of performance location
  • title: Keyword search in opportunity titles
  • status: active, inactive, archived, or cancelled

Pagination

  • limit: Records per request (max 1000)
  • offset: Page offset for pagination

Webhook Delivery

  • webhookUrl: Send results to Zapier, Make, n8n, or custom endpoints

Output Format

{
"data": [...]
}

Pricing

This actor uses pay-per-event billing: Pay only for what you use:

  • Opportunity Search: $0.01 per search
  • Opportunity Lookup: $0.005 per lookup
  • Award Search: $0.01 per search
  • Solicitation Search: $0.01 per search

Use Cases

Government Contractors

  • Monitor new contract opportunities in your industry
  • Track competitor wins and awards
  • Find subcontracting opportunities
  • Stay updated on solicitations matching your capabilities

Business Development

  • Build opportunity pipelines from federal sources
  • Research agency spending patterns
  • Identify set-aside opportunities for small businesses
  • Export leads to CRM systems

Procurement Intelligence

  • Analyze contract award trends
  • Track agency procurement activities
  • Monitor specific NAICS codes
  • Research historical contract data

Compliance & Research

  • Verify contractor registrations
  • Research past performance
  • Due diligence on potential partners
  • Market research for federal sales

API Reference

See official API documentation for details.


Common Problems & Solutions

"Invalid API key" error

Cause: Your API key is wrong, expired, or doesn't have the right permissions. Fix: Double-check your API key. Make sure you copied it exactly without extra spaces.

"Rate limit exceeded" error

Cause: You've hit the API's rate limits. Fix: Wait a few minutes, then try again. Consider reducing the number of concurrent requests.

Empty or incomplete results

Cause: The target may have anti-scraping protection or the data doesn't exist. Fix:

  • Check if the URL/search query is correct
  • Try with different parameters
  • Some sites may block automated access

Demo data showing instead of real results

Cause: demoMode is still set to true. Fix: Set demoMode: false and provide your API key(s).


Built by John Rippy | Actor Arsenal