# Get open federal construction bids from SAM.gov

**Use case:** 

Lists open federal construction solicitations posted on SAM.gov in the last 7 days (NAICS 236 building, 237 heavy and civil, 238 specialty trades such as roofing, electrical, HVAC and paving): title, agency, place of performance, set-aside, response deadline, contracting officer email and phone, and a SAM.gov link.

## Input

```json
{
  "daysBack": 7,
  "noticeTypes": [
    "solicitation",
    "combined"
  ],
  "keywords": [
    "roofing"
  ],
  "naicsCodes": [
    "236",
    "237",
    "238"
  ],
  "onlyOpen": true,
  "onlyWithEmail": false,
  "includeDescription": true,
  "maxItems": 200
}
```

## Output

```json
{
  "postedDate": {
    "label": "Posted",
    "format": "date"
  },
  "noticeType": {
    "label": "Type"
  },
  "title": {
    "label": "Title"
  },
  "department": {
    "label": "Department"
  },
  "subTier": {
    "label": "Sub-tier"
  },
  "naicsCode": {
    "label": "NAICS"
  },
  "setAsideCode": {
    "label": "Set-aside"
  },
  "responseDeadline": {
    "label": "Deadline"
  },
  "placeOfPerformance": {
    "label": "Place of performance",
    "format": "object"
  },
  "primaryContactName": {
    "label": "Contact"
  },
  "primaryContactEmail": {
    "label": "Email"
  },
  "url": {
    "label": "SAM.gov",
    "format": "link"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The SAM.gov Contract Opportunities: Federal Bids & RFP Leads Actor is ready to run with the inputs already set for "Get open federal construction bids from SAM.gov". [Sign up or log in](https://console.apify.com/create-task-from-example/4NlMdFDgzEfHM0QKA) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Get open federal construction bids from SAM.gov" task

The SAM.gov Contract Opportunities: Federal Bids & RFP Leads Actor will start running based on the input automatically. You can also change all the input fields, like posted in the last n days, notice types, and more, to match your specific use case.

### 3. Receive the "Get open federal construction bids from SAM.gov" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as posted, type, title, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Get open federal construction bids from SAM.gov" task via API](https://apify.com/spriggs-data/sam-gov-contract-opportunities.md).

## FAQ

### Where does the federal construction bids data come from?

The task reads the official Contract Opportunities data extract that SAM.gov (GSA) publishes every night, so no SAM.gov account, API key or scraping of the website is needed.

### Which construction bids are included?

Solicitations and combined synopsis/solicitations with a NAICS code starting 236 (building construction), 237 (heavy and civil engineering) or 238 (specialty trade contractors) whose response deadline hasn't passed.

### Can I get construction bids only for my state or trade?

Yes. Fill the States field (place of performance, for example TX or VA) or use a narrower NAICS code such as 238160 for roofing or 238220 for plumbing and HVAC.

### How much does the federal construction bids task cost?

The SAM.gov Contract Opportunities Actor charges per notice returned (about $2 per 1,000 on the free plan), so 200 bids cost about 40 cents.

## About this Actor

This example demonstrates how to use [SAM.gov Contract Opportunities: Federal Bids & RFP Leads](https://apify.com/spriggs-data/sam-gov-contract-opportunities.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/spriggs-data/sam-gov-contract-opportunities.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/spriggs-data/sam-gov-contract-opportunities.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
