# Find federal janitorial contract opportunities

**Use case:** 

Lists current US federal janitorial and custodial opportunities under NAICS 561720 from SAM.gov, for cleaning companies looking for government work.

## Input

```json
{
  "noticeTypes": [
    "solicitation",
    "combined_synopsis_solicitation"
  ],
  "naicsCodes": [
    "561720"
  ],
  "stateFallbackToOffice": false,
  "postedWithinDays": 14,
  "activeOnly": true,
  "maxResults": 20,
  "onlyNewOpportunities": false,
  "monitorName": "default",
  "dataSource": "auto",
  "includeAttachments": false,
  "fetchDescriptions": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "postedDate": {
    "label": "Posted",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "noticeType": {
    "label": "Type",
    "format": "string"
  },
  "subTier": {
    "label": "Agency",
    "format": "string"
  },
  "naicsCode": {
    "label": "NAICS",
    "format": "string"
  },
  "pscCode": {
    "label": "PSC",
    "format": "string"
  },
  "setAside": {
    "label": "Set-aside",
    "format": "string"
  },
  "responseDeadline": {
    "label": "Response deadline",
    "format": "string"
  },
  "placeOfPerformance": {
    "label": "Place of performance",
    "format": "string"
  },
  "url": {
    "label": "SAM.gov link",
    "format": "string"
  }
}
```

## How it works

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

The SAM.gov Scraper \[$1.50/1k\] - Federal Contract Opportunities Actor is ready to run with the inputs already set for "Find federal janitorial contract opportunities". [Sign up or log in](https://console.apify.com/create-task-from-example/KfVMyF2tmrpMfVBdp) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Find federal janitorial contract opportunities" task

The SAM.gov Scraper \[$1.50/1k\] - Federal Contract Opportunities Actor will start running based on the input automatically. You can also change all the input fields, like notice types, NAICS codes, and more, to match your specific use case.

### 3. Receive the "Find federal janitorial contract opportunities" 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, title, type, 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 "Find federal janitorial contract opportunities" task via API](https://apify.com/kadi_bence/sam-gov-scraper.md).

## FAQ

### What does this task return?

The "Find federal janitorial contract opportunities" task returns title, buyer, publication date, deadline where published, and the link to the official notice.

### How much does it cost?

The "Find federal janitorial contract opportunities" task costs $1.50 per 1,000 opportunities on the base plan, plus a tiny start fee. Higher Apify plans pay less.

### Can I run it on a schedule?

The "Find federal janitorial contract opportunities" task can run on any Apify schedule, and the results can go to Google Sheets, Slack, a webhook or the API.

## About this Actor

This example demonstrates how to use [SAM.gov Scraper [$1.50/1k] - Federal Contract Opportunities](https://apify.com/kadi_bence/sam-gov-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/kadi_bence/sam-gov-scraper.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/kadi_bence/sam-gov-scraper.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`).
