EN

SAM.gov Opportunities

Search US federal contract opportunities on SAM.gov: solicitations, RFPs, awards and special notices with agency, dates, NAICS/PSC codes and descriptions.

Developer
30-day success rate
—
Last updated
2026-11-30

Overview

SAM.gov Opportunities searches federal contract opportunities published on SAM.gov. Each result carries the notice type, title, contracting agency, publication and response dates, NAICS and PSC codes, set-aside status and the opportunity description.

It is built for businesses tracking federal bids, procurement analysts and researchers studying government spending. No account or API key is needed; the public search index is read directly.

Data notes

One record per opportunity. Active and keyword filters are applied by the source search index; records are de-duplicated across pages. Monitor history, webhook delivery and attachment downloads are not included.

What the results look like

TitleNotice typeAgencyResponse date
IDIQ Multiple Award Task Order ContractAward NoticeDEPT OF DEFENSE2014-05-04
Solar Electric Panel SystemSpecial NoticeDEPT OF DEFENSE

Use cases

  • Find new federal solicitations matching your capabilities.
  • Track awards and set-aside contracts by agency.
  • Build a dataset of opportunities by NAICS or PSC code.

Input

Parameters required to call this App.

  • KeywordskeywordsOptionalstring
    Search terms for opportunity titles and descriptions.
    DefaultExampleconstruction
  • Keyword modekeywordModeOptionalstring(enum)
    ANY = any word, ALL = all words, EXACT = exact phrase.
    Allowed valuesAny wordANYAll wordsALLExact phraseEXACTDefaultANY
  • Active onlyactiveOnlyOptionalboolean
    Return only currently active opportunities.
    Defaulttrue
  • Opportunity typesopportunityTypesOptionalarray<string>
    Filter by notice type codes such as o (Solicitation), r (Sources Sought), s (Special Notice), a (Award Notice).
    Default
  • Posted within (days)postedWithinDaysOptionalinteger
    Informational recency window hint for the search.
    Range1–3650Default30
  • Max opportunitiesmaxOpportunitiesOptionalinteger
    Maximum opportunity records to return.
    Range1–10000Default100
  • Include descriptionincludeDescriptionOptionalboolean
    Include the full opportunity description text.
    Defaulttrue

Output

Field structure of a single record.

  • Record IDidstring
    SAM.gov notice identifier.
    Example12345678
  • Notice IDnoticeIdstring
    SAM.gov notice identifier.
    Example12345678
  • Solicitation numbersolicitationNumberstring
    Solicitation or contract number.
    ExampleW912NS-14-D-0001
  • Titletitlestring
    Opportunity title.
    ExampleY--IDIQ Multiple Award Task Order Contract

Pricing

Per result

Charged by the number of records successfully returned. Failed runs are not charged.

$0.001/ record

Multiple billing events accumulate independently. See each item for details. Failed runs are not charged.

View credits

Run now

Runs once for real with the parameters you enter, billed per Pricing.

Input parameters

Integration

With MCP you can call this Data App directly from AI clients such as Claude and Cursor.

Already connected to Octoparse Data Hub? Use it right in your chat

No setup needed. Copy this sentence to your AI and continue with what you want to do:

Use the "bzy/sam-gov-opportunities" Data App to: describe what you want this Data App to do.

Not connected yet? Set it up once with any method below, and every Data App works from then on.

Client config

Replace YOUR_API_KEY with your own API key; works with all clients, CI and headless environments.Get API key →

mcpServers config
{
  "mcpServers": {
    "octoparse_datahub": {
      "type": "http",
      "url": "https://mcp-v2.octoparse.com",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

Let AI set it up for you

Don't want to edit configs by hand? Copy the install prompt and paste it into any AI client. It will complete the setup its own way. (By default it guides you through signing in, and never asks you to send your API key in the chat.)

Notes

Scope

Reads the public SAM.gov search index for contract opportunities. This covers core opportunity search and fields; monitor history, webhooks and attachment downloading are out of scope. Active/keyword filters depend on the source index.

Not suitable for

  • Non-US procurement
  • Guaranteed complete attachment files
  • Historical monitor state across runs

Running and canceling

This App runs asynchronously and can be canceled midway; results returned before you cancel are kept and billed as usual.

Failure handling

When connected via MCP, the AI reads these notes automatically; when using the API or SDK, handle them in your code.

  1. 1A failed page stops paging and keeps records already pushed
  2. 2Duplicate notices across pages are removed

FAQ

How is it billed?

Per record: $0.001 / record; failed runs are not billed.See Pricing →

How much can one run collect? Any limits?

Reads the public SAM.gov search index for contract opportunities. This covers core opportunity search and fields; monitor history, webhooks and attachment downloading are out of scope. Active/keyword filters depend on the source index.See Notes →

Can I use it in an AI assistant or agent?

Yes. Connect Octoparse Data Hub once and you can call every Data App by name in your chat, including bzy/sam-gov-opportunities.See Integration →

$0.001 / record