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

The Howlers

The Howlers

Maintained by Community

Actor stats

1

Bookmarked

7

Total users

4

Monthly active users

4 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.

BYOK (Bring Your Own Key) -- you provide your own API credentials.


Before You Start

This actor requires your own API credentials to fetch real data.

Where to get your key: Public API key from SAM.gov profile (not needed for demoMode)

You can test with Demo Mode first (free, no key needed) to see the output format before committing.


Quick Start

Test with Demo Mode (free, no API key needed)

{
"demoMode": true
}

Run with real data

{
"demoMode": false,
"task": "search_opportunities",
"apiKey": "YOUR_API_KEY_HERE",
"status": "active",
"limit": 100,
"offset": 0
}

Input Parameters

ParameterTypeDefaultRequiredDescription
taskstring"search_opportunities"Yes*Operation to perform
apiKeystring-Yes*Public API key from SAM.gov profile (not needed for demoMode)
postedFromstring-NoStart date for search (MM/dd/yyyy format)
postedTostring-NoEnd date for search (MM/dd/yyyy format)
noticeIdstring-NoSpecific opportunity notice ID
solicitationNumberstring-NoSpecific solicitation number
titlestring-NoKeywords to search in opportunity title
naicsCodestring-NoNorth American Industry Classification System code (max 6 digits)
classificationCodestring-NoProduct or service classification code
typeOfSetAsidestring-NoType of set-aside (e.g., SBA, 8A, SDVOSB, WOSB)
procurementTypestring-NoType of procurement notice
organizationCodestring-NoFederal agency organization code
organizationNamestring-NoFederal department or agency name
statestring-NoPlace of performance state code
zipstring-NoPlace of performance ZIP code
statusstring"active"NoOpportunity status filter
responseDeadlineFromstring-NoResponse deadline start date (MM/dd/yyyy)
responseDeadlineTostring-NoResponse deadline end date (MM/dd/yyyy)
limitinteger100NoMaximum records per request (max 1000)
offsetinteger0NoPage offset for pagination
webhookUrlstring-NoURL to send results to (Zapier, Make, n8n, etc.)
demoModebooleantrueNoRun with sample data (no API key required). Set to false and provide your SAM.gov API key for real searches.

*Required when Demo Mode is off.


Pricing

This actor uses pay-per-event billing:

EventDescriptionPrice
Contract FoundEach SAM.gov contract opportunity found$0.02

Demo mode is free -- no charges for sample data.


Troubleshooting

"API key is required"

You have Demo Mode turned off but didn't provide an API key. Either:

  • Turn Demo Mode on to test with sample data
  • Add your API key in the input

"API error 403" or "Unauthorized"

Your API key is invalid, expired, or doesn't have access to this specific API endpoint. Double-check your key and account permissions.

"API error 429" or "Rate limit"

Too many requests. Wait a minute and try again, or reduce the number of items per run.

No results or empty dataset

Check the run log for error messages. Common causes:

  • Invalid input format (check the examples above)
  • API key without proper permissions
  • The target data doesn't exist or is too small to track

How do I test without an API key?

Enable Demo Mode in the input. This returns realistic sample data so you can verify the output format works for your workflow.


Built by John Rippy | Actor Arsenal