Government Bids, RFP & Contracts Search API for AI Agents
Pricing
from $6.00 / 1,000 bids
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
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
a day ago
Last modified
Categories
Features
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
postedWithinDaysordueWithinDays. - 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_bidstakes the same parameters as/search.get_government_bidtakes a bidid.get_bid_index_statstakes 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
- Get your Apify API token from the Console under Settings, then Integrations.
- Send a GET request to
https://talcoe--government-bids-search-api.apify.actorwith the headerAuthorization: Bearer <YOUR_APIFY_TOKEN>. - Read the
bidsarray. WhennextOffsetis a number, send it asoffsetto 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
| Parameter | What it does |
|---|---|
q | Search 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. |
state | Two letter state codes separated by commas, such as TX,CA. |
source | Source ids separated by commas, such as sam,texas,bidnet. |
agencyType | Any of federal, state, county, city, school, authority, other. |
naics | NAICS prefixes separated by commas. 5617 matches 561720. |
setAside | A 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. |
postedWithinDays | Bids posted in the last N days, from 1 to 365. |
dueWithinDays | Bids due in the next N days, from 1 to 365. Bids with no due date are left out. |
hasDocumentFacts | true keeps only bids that carry documentFacts. |
sort | relevance, due or posted. |
limit | 1 to 50. The default is 10. |
offset | How 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.postedWithinDaysanddueWithinDays: day windows from 1 to 365.onlyWithDocumentFacts: keep bids that carrydocumentFacts.sort:relevance,dueorposted.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
| Field | Meaning |
|---|---|
id | The source and the source's own id, joined by a colon. |
title, agency, agencyType | What is being bought and who is buying. |
state, city | Where the agency is. About half of the SAM.gov bids have no state. |
postedDate, dueDate | ISO dates. Some carry a time and an offset, some are date only. |
noticeType, solicitationNumber, category | How the portal labels the bid. |
naics | NAICS codes when the portal gives them. |
setAside | On SAM.gov bids a code such as SBA or 8A. Other portals give free text. |
setAsideLabel | The name of the SAM.gov code, such as Total Small Business Set-Aside. Other portals have none. |
description, documents | Summary text and linked files when the portal gives them. |
url | The bid's own page. |
firstSeen, lastSeen | When our nightly history first and last saw the bid. |
documentFacts | Beta. 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.
| Event | Price |
|---|---|
| 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
limitandoffsetto page through large result sets, 50 bids at a time. - Combine
statewithdueWithinDaysto build a daily list of bids that close soon. - Send several phrases in
qto cover synonyms, such ashvac,air conditioning. - Read
index.sweepAtin 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.