SAM.gov
Federal contract notices, solicitations and award notices
U.S. federal contract opportunities and government notices.
Your information
Place-of-performance state, such as Texas or TX.
Words to search for, such as janitorial services.
Business preference, such as hubzone.
Maximum notices to return, such as 25.
Kind of notice, such as solicitation.
More options
Federal agency name, such as Department of Veterans Affairs.
Only notices posted within this many days, such as 30.
Example results
Contract opportunities
About the SAM.gov tool
SAM.gov returns federal contract notices through Search contract opportunities, which requires keywords.
Optional inputs filter by agency, state, set-aside, notice type, and posting period.
Results include notice details such as agency, industry, posting date, deadline, and performance location; award notices are included when selected.
Built from sam.gov. Last checked Sep 29, 2026.
Actions
Search contract opportunities
1 creditFind active federal contract notices matching keywords, agency, place of performance, set-aside, notice type, and posting period. Results include award notices when selected; fields not published on a notice are null.
What you provide
| Field | Type | Required | Description |
|---|---|---|---|
Statestate | Text | Optional | Place-of-performance state, such as Texas or TX.Example: TX |
Agencyagency | Text | Optional | Federal agency name, such as Department of Veterans Affairs.Example: Department of Veterans Affairs |
Keywordskeywords | Text | Required | Words to search for, such as janitorial services.Example: janitorial services |
Set Asideset_aside | Text | Optional | Business preference, such as hubzone.Example: Hubzone |
Max Resultsmax_results | Number | Optional | Maximum notices to return, such as 25.Example: 5 |
Notice Typenotice_type | Text | Optional | Kind of notice, such as solicitation.Example: Solicitation |
Posted Within Daysposted_within_days | Number | Optional | Only notices posted within this many days, such as 30. |
What you get
| Field | Type | Description |
|---|---|---|
Opportunitiesopportunities | List | |
Linkopportunities[].link | Text | SAM.gov notice pageExample: https://sam.gov/workspace/contract/opp/68a0912bb79e4c43b3bb5085e50aff3b/view |
Titleopportunities[].title | Text | Notice titleExample: Fort Hood Installation Custodial Services |
Agencyopportunities[].agency | Text | Federal agencyExample: DEPT OF DEFENSE |
Officeopportunities[].office | Text | Contracting officeExample: W6QM MICC-FDO FT CAVAZOS |
Industryopportunities[].industry | Text | Industry nameExample: Janitorial Services |
Notice IDopportunities[].notice_id | Text | SAM.gov notice IDExample: 68a0912bb79e4c43b3bb5085e50aff3b |
Set Asideopportunities[].set_aside | Text | Business set-aside nameExample: HUBZone Set Aside |
Naics Codeopportunities[].naics_code | Text | NAICS codeExample: 561720 |
Notice Typeopportunities[].notice_type | Text | Notice typeExample: Solicitation |
Posted Dateopportunities[].posted_date | Text | Posting date in YYYY-MM-DDExample: 2026-09-25 |
Response Deadlineopportunities[].response_deadline | Text | Response deadline with time zoneExample: 2026-10-07T10:00:00-05:00 |
Solicitation Numberopportunities[].solicitation_number | Text | Solicitation numberExample: W91151-26-R-A004 |
Place of Performanceopportunities[].place_of_performance | Text | Performance locationExample: Fort Hood, Texas, UNITED STATES |
Example result
For State: TX, Keywords: janitorial services, Set Aside: Hubzone, Max Results: 5, Notice Type: Solicitation
{
"opportunities": [
{
"link": "https://sam.gov/workspace/contract/opp/68a0912bb79e4c43b3bb5085e50aff3b/view",
"title": "Fort Hood Installation Custodial Services",
"agency": "DEPT OF DEFENSE",
"office": "W6QM MICC-FDO FT CAVAZOS",
"industry": "Janitorial Services",
"notice_id": "68a0912bb79e4c43b3bb5085e50aff3b",
"set_aside": "HUBZone Set Aside",
"naics_code": "561720",
"notice_type": "Solicitation",
"posted_date": "2026-09-25",
"response_deadline": "2026-10-07T10:00:00-05:00",
"solicitation_number": "W91151-26-R-A004",
"place_of_performance": "Fort Hood, Texas, UNITED STATES"
}
]
}For developers
Call it from your code with one request. Change the values in input to run it on new data. To get an API key, open Developers at the bottom of Studio, turn on Developer mode and go to API keys.
curl 'https://api.fous.com/v1/query' \
--fail-with-body --silent --show-error --max-time 180 \
-H "Authorization: Bearer YOUR_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"api": "@sam-gov",
"visibility": "public",
"operation": "search_contract_opportunities",
"version": 1,
"input": {
"state": "TX",
"keywords": "janitorial services",
"set_aside": "hubzone",
"max_results": 5,
"notice_type": "solicitation"
},
"response": {
"format": "json"
}
}'What you can do with it
- Find notices matching a service or product keyword
- Identify opportunities from a specific federal agency
- Track response deadlines and solicitation numbers
- Review notices by set-aside or industry
- Locate contract opportunities by place of performance
Questions about SAM.gov
Can I run it with my own inputs?
Yes. Change the inputs in Studio and press Run, or send new inputs from your code, or ask a connected AI assistant.
Can I call this SAM.gov tool as an API?
Yes. Send a POST request to /v1/query with your Fous API key and the inputs, and get JSON back.
How much does it cost?
Each completed run costs 1 credit. Failed runs without a completed receipt are free; completed work can remain charged if delivery is interrupted. With pay as you go, a credit costs 1¢. Monthly plans cost less per credit.
Do I need a SAM.gov account?
No. You only need a Fous account.
How current is the data?
Fous gets the data from sam.gov when you run it. Some results are reused for up to 24 hours, and results that use your account or key are never reused. It was last verified on Sep 29, 2026.
Which federal notices match my keywords?
Search contract opportunities finds active federal contract notices matching the required keywords and any filters you provide.
When is a notice response due?
Search contract opportunities returns the response deadline when it is published on the notice.
Where will the work take place?
Search contract opportunities returns the place of performance when it is published on the notice.