Government Bids, RFP & Contracts Search API for AI Agents avatar

Government Bids, RFP & Contracts Search API for AI Agents

Pricing

from $6.00 / 1,000 bids

Go to Apify Store
Government Bids, RFP & Contracts Search API for AI Agents

Government Bids, RFP & Contracts Search API for AI Agents

Search more than 10,000 open US government bids, RFPs and contract opportunities with one HTTP request. The answer comes straight back, with no run to start. It covers SAM.gov federal contracts and state, county and city procurement. AI agents and apps call it like any API. You pay per bid returned.

Pricing

from $6.00 / 1,000 bids

Rating

0.0

(0)

Developer

M Usama

M Usama

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

a day ago

Last modified

Features

Limited permissionsMulti-tenantServer interface

Share

What does Government Bids Search API do?

Government Bids Search API answers searches over an index of more than 10,000 open US government bids, RFPs and contract opportunities. You send one HTTP request and get JSON straight back, with no run to start and nothing to poll. You can also start a normal run with an input and read the matches from the dataset.

The index covers SAM.gov (federal), BidNet Direct, Bonfire agency portals, PlanetBids, and the state portals of Texas, North Carolina, Illinois, Massachusetts, Florida, Pennsylvania, Georgia, Oregon and Nevada. It also covers the cities of Chicago, Philadelphia and New York. More state portals join as the index grows.

The index is rebuilt every night from a full sweep of every source. Each answer carries index.sweepAt, the time of the sweep it comes from. This Actor does not scrape anything when you call it. For a live scrape of the portals, use the live scraper.

Why use Government Bids Search API?

  • Give an AI agent or an app one endpoint to find open bids by keyword, state, source, agency type, NAICS prefix or set aside.
  • Check each morning which new bids match your trade, using postedWithinDays or dueWithinDays.
  • Pull a bid by its id and send your team to the bid's own page.
  • Leave the sweeps to us. The index is rebuilt every night, and bids whose due date has passed are never returned.

Use it from an AI agent

An agent can call this Actor in the middle of a conversation, because one request returns the answer. Give the agent the server URL, an Apify token and the description at GET /openapi.json, or let it call the Actor through the Apify MCP server.

The search understands plain requests. A search for hvac maintenance contracts in texas drops the filler words, filters to Texas and lists what it did in query.notes. The word federal in a search filters to federal agencies the same way.

Use it as an MCP server

Point any MCP client at https://talcoe--government-bids-search-api.apify.actor/mcp and send the header Authorization: Bearer <YOUR_APIFY_TOKEN>. The endpoint speaks Streamable HTTP and keeps no session.

It offers three tools.

  • search_government_bids takes the same parameters as /search.
  • get_government_bid takes a bid id.
  • get_bid_index_stats takes no arguments and is free.

Each bid returned by a search or a lookup is charged like a search. A bad argument comes back as a tool error with a sentence that says what to send instead.

How to use Government Bids Search API

  1. Get your Apify API token from the Console under Settings, then Integrations.
  2. Send a GET request to https://talcoe--government-bids-search-api.apify.actor with the header Authorization: Bearer <YOUR_APIFY_TOKEN>.
  3. Read the bids array. When nextOffset is a number, send it as offset to get the next page.
curl -H "Authorization: Bearer <YOUR_APIFY_TOKEN>" \
"https://talcoe--government-bids-search-api.apify.actor/search?q=janitorial,landscaping&state=TX,CA&limit=10"

To fetch one bid, encode the colon in its id as %3A.

curl -H "Authorization: Bearer <YOUR_APIFY_TOKEN>" \
"https://talcoe--government-bids-search-api.apify.actor/bids/texas%3AIW256103_RESUBMIT"

See how many open bids each state and source holds. This call is free.

curl -H "Authorization: Bearer <YOUR_APIFY_TOKEN>" \
"https://talcoe--government-bids-search-api.apify.actor/stats"

The Server tab of this Actor shows every parameter. GET /openapi.json returns the same description for your tools.

Search parameters

ParameterWhat it does
qSearch phrases separated by commas. A bid matches when it matches any phrase. A phrase matches when all of its words appear in the bid text. A word matches when a bid word starts with it. A word of 3 characters or fewer must be a whole word in the title or in fields such as the agency and category. Case and punctuation are ignored.
stateTwo letter state codes separated by commas, such as TX,CA.
sourceSource ids separated by commas, such as sam,texas,bidnet.
agencyTypeAny of federal, state, county, city, school, authority, other.
naicsNAICS prefixes separated by commas. 5617 matches 561720.
setAsideA set aside code such as SBA or 8A matches that code only. Other text, such as small business or HUBZone, matches part of the code or its name.
postedWithinDaysBids posted in the last N days, from 1 to 365.
dueWithinDaysBids due in the next N days, from 1 to 365. Bids with no due date are left out.
hasDocumentFactstrue keeps only bids that carry documentFacts.
sortrelevance, due or posted.
limit1 to 50. The default is 10.
offsetHow many matches to skip.

A bad parameter returns HTTP 400 with an error sentence that says what to send instead.

Input

A normal run reads these fields from the Input tab. Every field is optional.

  • keywords: one search phrase per entry. A bid matches when it matches any entry.
  • states, sources, agencyTypes, naics, setAside: the same filters as above.
  • postedWithinDays and dueWithinDays: day windows from 1 to 365.
  • onlyWithDocumentFacts: keep bids that carry documentFacts.
  • sort: relevance, due or posted.
  • maxResults: from 1 to 5000. The default is 100.
{
"keywords": ["janitorial", "landscaping"],
"maxResults": 25
}

Output

Each bid is one JSON object. You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

{
"id": "texas:IW256103_RESUBMIT",
"source": "texas",
"title": "Relocation of Pulse Fence",
"agency": "Tx Dept Crim. Justice/inst Div",
"agencyType": "state",
"state": "TX",
"postedDate": "2026-11-23",
"dueDate": "2026-12-28T15:00:00",
"status": "open",
"solicitationNumber": "IW256103_RESUBMIT",
"category": "Fence Installation, Maintenance And Repair",
"naics": [],
"setAside": null,
"url": "https://www.txsmartbuy.gov/esbd/IW256103_RESUBMIT",
"firstSeen": "2026-11-24T23:42:16+00:00",
"lastSeen": "2026-11-24T23:42:16+00:00"
}

Data fields

FieldMeaning
idThe source and the source's own id, joined by a colon.
title, agency, agencyTypeWhat is being bought and who is buying.
state, cityWhere the agency is. About half of the SAM.gov bids have no state.
postedDate, dueDateISO dates. Some carry a time and an offset, some are date only.
noticeType, solicitationNumber, categoryHow the portal labels the bid.
naicsNAICS codes when the portal gives them.
setAsideOn SAM.gov bids a code such as SBA or 8A. Other portals give free text.
setAsideLabelThe name of the SAM.gov code, such as Total Small Business Set-Aside. Other portals have none.
description, documentsSummary text and linked files when the portal gives them.
urlThe bid's own page.
firstSeen, lastSeenWhen our nightly history first and last saw the bid.
documentFactsBeta. Present on about 100 bids.

About 100 bids carry documentFacts: scope, bid bond, performance bond, insurance, license needs, each with the sentence it was read from. It is a beta.

No contact names, emails or phones are in the index. The bid's own page has them.

How much does it cost to search government bids?

Pricing is pay per event.

EventPrice
A bid returned by a request to the server URL$0.008
A bid returned by a run started with an input$0.006
A run started with an input$0.005

The calls to /stats, / and /openapi.json are free. A search that finds nothing costs nothing.

Tips

  • Use limit and offset to page through large result sets, 50 bids at a time.
  • Combine state with dueWithinDays to build a daily list of bids that close soon.
  • Send several phrases in q to cover synonyms, such as hvac,air conditioning.
  • Read index.sweepAt in each answer to know how fresh the data is.

FAQ and support

Where does the data come from? From the portals listed above, collected by a nightly sweep and published as one index.

Does it return bids that already closed? No. A bid whose due date is before today is never returned.

Can I get contact details? The index holds none. Open the bid's url for the contact on the bid's own page.

Need something else? Open an issue in the Issues tab.