Directory › API
Federal Contract Opportunities (SAM.gov)
New US federal contract opportunities (solicitations, sources sought, presolicitations and award notices) from SAM.gov: title, agency, office, NAICS code, set-aside, place of performance, response deadline and the SAM.gov link. Refreshed daily.
Facts about this data
| Update frequency | Every 1 day |
| Last successful read | 2026-11-27 03:00 UTC |
| Coverage | Newest records, kept as history |
| Confidence | high (Lowest source score 100/100) |
| How values are checked | Each value was extracted from the source page and kept only if a verbatim quote containing it was found on the fetched page. |
| Reporting period | 2026-11-25 to 2026-11-26 |
Known limitations
- Event stream: the newest records are kept up to the storage limit; older records may be pruned.
- "No result" means no matching record in what we hold, not proof that none exists.
- Values come from web pages; a page layout change can leave fields empty until it is re-read.
Sources
| Source | Reliability (30 days) | Last good read |
|---|---|---|
| api.sam.gov official https://api.sam.gov/opportunities/v2/search | 100% of 2 reads | 2026-11-27 03:00 UTC |
Use it
curl "https://api.knowapi.dev/v1/data/federal-contract-opportunities?title__contains=engine" -H "Authorization: Bearer YOUR_KEY"
No key? Call the same URL and pay per call with x402 (USDC on Base). AI agents: MCP server https://api.knowapi.dev/mcp, tool query_api with api_id 46782c04-a581-42a3-92a2-92c4242a52a1.
Parameters
| Parameter | Example | Description |
|---|---|---|
title | title__contains=engine | Notice title. Filters: title= (exact), title__contains=, title__prefix=. |
notice_id | notice_id__contains=abfdb | SAM.gov notice id. Filters: notice_id= (exact), notice_id__contains=, notice_id__prefix=. |
solicitation_number | solicitation_number__contains=word | Solicitation number. Filters: solicitation_number= (exact), solicitation_number__contains=, solicitation_number__prefix=. |
type | type__contains=combined | Notice type (Solicitation, Combined Synopsis/Solicitation, Sources Sought, Presolicitation, Award Notice...). Filters: type= (exact), type__contains=, type__prefix=. |
posted_date | posted_date__gte=2026-11-01 | Date posted. Filters: posted_date=, posted_date__gte=, posted_date__lte=. |
response_deadline | response_deadline__contains=word | Response deadline (as published). Filters: response_deadline= (exact), response_deadline__contains=, response_deadline__prefix=. |
agency | agency__contains=defense | Department or agency. Filters: agency= (exact), agency__contains=, agency__prefix=. |
office | office__contains=support | Contracting office. Filters: office= (exact), office__contains=, office__prefix=. |
Example records (real data)
[
{
"link": "https://sam.gov/workspace/contract/opp/008bff8d89ac460f8fe69120744b5b38/view",
"type": "Combined Synopsis/Solicitation",
"title": "29--SENSOR,AIR CHARGED TEM",
"active": "Yes",
"agency": "DEPT OF DEFENSE",
"office": "DLA WEAPONS SUPPORT",
"awardee": null,
"notice_id": "008bff8d89ac460f8fe69120744b5b38",
"set_aside": "Small Business Set Aside - Total",
"naics_code": "336412",
"place_city": null,
"place_state": null
},
{
"link": "https://sam.gov/workspace/contract/opp/009894b89e7b45339fdb8b11260d49aa/view",
"type": "Combined Synopsis/Solicitation",
"title": "53--BRACKET,DOUBLE ANGLE",
"active": "Yes",
"agency": "DEPT OF DEFENSE",
"office": "DLA WEAPONS SUPPORT",
"awardee": null,
"notice_id": "009894b89e7b45339fdb8b11260d49aa",
"set_aside": "Small Business Set Aside - Total",
"naics_code": "332510",
"place_city": null,
"place_state": null
}
]Price
$0.0037 per call (up to 50 records). Your first 5 calls are free within 48 hours. Monthly plans include calls: pricing. More rows per call: More rows (up to 500 records) $0.037, Max rows (up to 3,000 records) $0.222.