Spiral gives your agent every tool with one account. Browse the tools →

OpenClaw · Public Records

How to Use SAM.gov contract opportunity search in OpenClaw

Returns federal procurement notices with agency, deadline, and notice information, up to 100 results per page. Use it to build a shortlist before reading individual notices in detail.

Prompts to try with SAM.gov contract opportunity search in OpenClaw

Copy an example into OpenClaw, or ask in your own words.

Every weekday, use SAM.gov contract opportunity search to find active Department of Veterans Affairs cybersecurity notices and summarize new results with their deadlines and source links.

SAM.gov contract opportunity searchOpenClaw
Try asking
  • Every Monday at 9am: use SAM.gov contract opportunity search to look this up and give me the result as a table.

  • Pull the latest numbers from SAM.gov contract opportunity search and tell me what changed since last week.

  • Check SAM.gov contract opportunity search and summarize what you find in three bullet points.

  • Pull the newest data from SAM.gov contract opportunity search and give me the result as a table.

How to set up SAM.gov contract opportunity search in OpenClaw

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send OpenClaw this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Add the server

    On the machine that runs OpenClaw's Gateway:

    openclaw mcp add spiral \
      --url https://api.spiral.ai/mcp \
      --transport streamable-http \
      --auth oauth
  2. Sign in

    In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.

    openclaw mcp login spiral
  3. Reload and check

    A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.

    openclaw mcp reload
    openclaw mcp doctor spiral --probe

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run SAM.gov contract opportunity search

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "sam-gov/opportunities/search",
        "input": {
          "sort": "updated_desc"
        }
      }'

Then paste one of the prompts above: OpenClaw finds SAM.gov contract opportunity search on Spiral, shows the price and runs it.

SAM.gov contract opportunity search providers and prices

Spiral runs SAM.gov contract opportunity search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
SAM.gov · Search
sam-gov/opportunities/search

Settings you can ask for

Ask OpenClaw for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Sortupdated_desc, updated_asc, relevance, deadline_asc, or deadline_descupdated_desc

sort

Page size1 to 10020

Records per page. At most 50 when include_attachments is true.

Query modeall, any, or exactall

How the words of query must match, as SAM.gov's own keyword search offers them (upstream qMode): all = every word (SAM.gov's default), any = at least one word, exact = the phrase as written.

Include detailson or off

Fetch each hit's notice detail (one extra upstream request per record) so naics_codes, set_aside, place_of_performance and the full description are populated. false returns summary records with detail_level=summary.

Include attachmentson or off

Also list each notice's attachments (one more upstream request per record). Requires include_details and page_size <= 50.

Every API field of SAM.gov · Search is on its tool page: open its card above.

What can you do with SAM.gov contract opportunity search in OpenClaw?

Keep a procurement watch current as notices, business registrations, and exclusion publications change. Compare each run with earlier results to surface bids needing attention and supplier records needing review.

Prepare a bid qualification brief

Find relevant federal notices, read their requirements and deadlines, resolve potential suppliers, and check known businesses for exclusion records before a bid review.

Build a teaming shortlist

Compare a notice's scope with registered businesses in the relevant industry. Retrieve candidate registrations by identifier and compare the business shortlist against active firm exclusions.

Review a daily bid watch

Find notices worth reviewing, inspect their details, and collect registration updates affecting the supplier roster. Check exclusions publication status before refreshing individual business checks.

Compile a monthly procurement review

Summarize relevant notices and their detailed requirements alongside registration changes affecting the business supplier roster. Identify the entity and exclusions publications used for the review.

Populate an internal procurement research portal

Present federal opportunity shortlists beside searchable public business registrations. Use extract publication checks to manage baseline refreshes and display active firm exclusion matches for supplier review.

Questions about SAM.gov contract opportunity search in OpenClaw

Can OpenClaw use SAM.gov contract opportunity search?

Yes. Add Spiral to OpenClaw as an MCP server, and OpenClaw can find and run SAM.gov contract opportunity search like any built-in tool.

How much does SAM.gov contract opportunity search cost in OpenClaw?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your OpenClaw plan is separate.

Do I need an Alexandria account to use SAM.gov contract opportunity search in OpenClaw?

No. Spiral runs SAM.gov contract opportunity search on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up SAM.gov contract opportunity search in OpenClaw?

About two minutes: add the server, then sign in, then reload and check.

Does OpenClaw wait while SAM.gov contract opportunity search runs?

SAM.gov contract opportunity search runs in the background. OpenClaw starts the run, checks on it and gives you the json when it's ready.

What does SAM.gov cover?

SAM.gov publishes federal procurement notices, entity registrations, and exclusions. Its contract notices include presolicitations, solicitations, award notices, and sole-source notices; it directs grant searches to Grants.gov.

What information is public in entity registrations?

Public registration data includes business names, UEIs, registration details, addresses, business types, and industry classifications such as NAICS. These are registration records for entities doing business with the federal government.

Can an entity search return every matching registration?

The Entity Management API returns ten records per page and stops at the first 10,000 matches. For a broad business search, narrow the geography or industry before collecting additional pages.

When does the monthly entity extract change?

GSA processes monthly entity extracts on the first Sunday of each month. A monthly publication is a baseline for that publication date, rather than a continuous stream of registration changes.

Does the exclusions extract include past exclusions?

The extract contains currently open exclusions. It is suitable for reviewing the published active list, but it does not provide a complete history of terminated exclusions.

Get started

Start using SAM.gov contract opportunity search in OpenClaw

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into OpenClaw:

Set up OpenClaw

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options