How to Search Government Tenders and Public Contracts with an API
Government work is published in the open — that is the good news. The bad news is that it is published in half a dozen different portals, each with its own search page, its own filters and its own idea of an export butto
Government work is published in the open — that is the good news. The bad news is that it is published in half a dozen different portals, each with its own search page, its own filters and its own idea of an export button. Watching them by hand means the opportunities you find are the ones posted on the days you remembered to look.
Disclosure: we (SteadyScrape) built the API below and get paid when it's used.
What it does
The Public Tenders API searches live public procurement feeds with one call. Sources: SAM.gov (US federal), CanadaBuys, TED (EU), SEAO (Québec), plus Toronto and Yukon municipal feeds. You filter by keywords, how recently the tender was posted, and which sources to include.
One path, two methods:
-
GET /tenders?keywords=software&posted_within_days=7&limit=10— keywords are 1–5 comma-separated words;posted_within_daysruns 1–30;sourcestakes feed names such asted,sam(default is all) -
POST /tenderswith a JSON body{"keywords": ["software"], "posted_within_days": 7, "limit": 10}
The call
curl "https://public-tenders-api1.p.rapidapi.com/tenders?keywords=software&posted_within_days=7&limit=10" \
-H "X-RapidAPI-Key: YOUR_KEY" \
-H "X-RapidAPI-Host: public-tenders-api1.p.rapidapi.com"
Example output (from the listing):
{
"found": true,
"count": 2,
"tenders": [
{
"title": "Software Development Services",
"source": "sam",
"posted_date": "2025-11-30",
"deadline": "2025-12-15",
"url": "https://sam.gov/opp/example"
},
{
"title": "Cloud Hosting Services",
"source": "ted",
"posted_date": "2025-11-29",
"deadline": "2025-12-20",
"url": "https://ted.europa.eu/example"
}
]
}
The fields that matter for triage are all there: title, source, posted date, deadline and the link to the original notice. A daily call with posted_within_days=1 and your service keywords is a tender watch that never forgets to check.
What it costs
| Plan | Price | Calls/month | Overage |
|---|---|---|---|
| Basic | Free | 20 | hard cap |
| Pro | $19/mo | 2,000 | $0.011/call |
| Ultra | $49/mo | 5,500 | $0.011/call |
| Mega | $99/mo | 12,000 | $0.011/call |
Note the listing URL really does end in -api1 — the plain slug is a different address and returns a 404.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.