# Federal construction contract opportunities

**Use case:** 

1,494 commercial building construction and 957 engineering services notices active now, filtered by NAICS and PSC.

## Input

```json
{
  "maxResults": 300,
  "activeOnly": true,
  "publishedWithinDays": 30,
  "publishedFrom": "",
  "publishedTo": "",
  "keywords": "",
  "noticeTypes": [],
  "naicsCodes": [
    "236220",
    "541330"
  ],
  "pscCodes": [
    "R425",
    "Y1LB"
  ],
  "setAsideCodes": [],
  "agencyIds": [],
  "placeOfPerformanceStates": [],
  "officeStates": [],
  "scrapeAttachments": false,
  "maxExclusions": 0,
  "maxCacheAgeDays": 90,
  "maxConcurrency": 4
}
```

## Output

```json
{
  "notice_id": {
    "label": "Notice ID",
    "format": "string"
  },
  "solicitation_number": {
    "label": "Solicitation number",
    "format": "string"
  },
  "solicitation_number_clean": {
    "label": "Solicitation number clean",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "notice_type_code": {
    "label": "Notice type code",
    "format": "string"
  },
  "notice_type": {
    "label": "Type",
    "format": "string"
  },
  "url": {
    "label": "URL",
    "format": "string"
  },
  "is_active": {
    "label": "Is active",
    "format": "boolean"
  },
  "is_canceled": {
    "label": "Is canceled",
    "format": "boolean"
  },
  "published_at": {
    "label": "Published",
    "format": "string"
  },
  "modified_at": {
    "label": "Modified at",
    "format": "string"
  },
  "archive_at": {
    "label": "Archive at",
    "format": "string"
  },
  "indexed_at": {
    "label": "Indexed at",
    "format": "string"
  },
  "modification_count": {
    "label": "Modification count",
    "format": "number"
  },
  "original_published_at": {
    "label": "Original published at",
    "format": "string"
  },
  "parent_notice_id": {
    "label": "Parent notice id",
    "format": "string"
  },
  "response_due_local": {
    "label": "Response due",
    "format": "string"
  },
  "response_due_utc": {
    "label": "Response due utc",
    "format": "string"
  },
  "response_due_precision": {
    "label": "Response due precision",
    "format": "string"
  },
  "response_timezone": {
    "label": "Response timezone",
    "format": "string"
  },
  "naics_code": {
    "label": "NAICS",
    "format": "string"
  },
  "naics_title": {
    "label": "Naics title",
    "format": "string"
  },
  "naics_all": {
    "label": "Naics all",
    "format": "array"
  },
  "psc_code": {
    "label": "Psc code",
    "format": "string"
  },
  "psc_title": {
    "label": "Psc title",
    "format": "string"
  },
  "psc_all": {
    "label": "Psc all",
    "format": "array"
  },
  "set_aside_code": {
    "label": "Set aside code",
    "format": "string"
  },
  "set_aside": {
    "label": "Set-aside",
    "format": "string"
  },
  "agency_id": {
    "label": "Agency id",
    "format": "string"
  },
  "agency_name": {
    "label": "Agency",
    "format": "string"
  },
  "agency_code": {
    "label": "Agency code",
    "format": "string"
  },
  "agency_hierarchy": {
    "label": "Agency hierarchy",
    "format": "array"
  },
  "contact_name": {
    "label": "Contact name",
    "format": "string"
  },
  "contact_email": {
    "label": "Contact email",
    "format": "string"
  },
  "contact_phone": {
    "label": "Contact phone",
    "format": "string"
  },
  "contact_type": {
    "label": "Contact type",
    "format": "string"
  },
  "contacts_all": {
    "label": "Contacts all",
    "format": "array"
  },
  "pop_country": {
    "label": "Pop country",
    "format": "string"
  },
  "pop_state": {
    "label": "Pop state",
    "format": "string"
  },
  "pop_city": {
    "label": "Pop city",
    "format": "string"
  },
  "pop_zip": {
    "label": "Pop zip",
    "format": "string"
  },
  "award_number": {
    "label": "Award number",
    "format": "string"
  },
  "award_date": {
    "label": "Award date",
    "format": "string"
  },
  "award_amount": {
    "label": "Award amount",
    "format": "number"
  },
  "awardee_name": {
    "label": "Awardee name",
    "format": "string"
  },
  "awardee_uei": {
    "label": "Awardee uei",
    "format": "string"
  },
  "awardee_cage_code": {
    "label": "Awardee cage code",
    "format": "string"
  },
  "awardee_state": {
    "label": "Awardee state",
    "format": "string"
  },
  "awardee_city": {
    "label": "Awardee city",
    "format": "string"
  },
  "awardee_zip": {
    "label": "Awardee zip",
    "format": "string"
  },
  "awardee_country": {
    "label": "Awardee country",
    "format": "string"
  },
  "description_html": {
    "label": "Description html",
    "format": "string"
  },
  "description_text": {
    "label": "Description text",
    "format": "string"
  },
  "description_modified_at": {
    "label": "Description modified at",
    "format": "string"
  },
  "attachments": {
    "label": "Attachments",
    "format": "array"
  },
  "file_count": {
    "label": "Documents",
    "format": "number"
  },
  "link_count": {
    "label": "Link count",
    "format": "number"
  },
  "attachments_scraped": {
    "label": "Attachments scraped",
    "format": "boolean"
  },
  "from_cache": {
    "label": "From cache",
    "format": "boolean"
  },
  "fetched_at": {
    "label": "Fetched at",
    "format": "string"
  },
  "data_age_hours": {
    "label": "Data age hours",
    "format": "number"
  },
  "scraped_at": {
    "label": "Scraped at",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [SAM.gov Scraper — Federal Contracts, Attachments & Contacts](https://apify.com/oswaldocarabano/sam-gov-data-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/oswaldocarabano/sam-gov-data-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
This Task's input is already configured above — use it as-is rather than inventing a new one.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

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

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).
