# Scrape SAM.gov Opportunities by Notice ID

**Use case:** 

Pull specific SAM.gov contract opportunities by notice ID or URL with full descriptions, attachments and contracting officer contact details in JSON.

## Input

```json
{
  "keywords": "software",
  "keywordMode": "ALL",
  "naicsCodes": [
    "541511",
    "541512"
  ],
  "pscCodes": [
    "D302"
  ],
  "status": "active",
  "maxResults": 100,
  "sortBy": "-modifiedDate",
  "fetchFullDetails": true,
  "includeAttachments": true,
  "downloadAttachments": false,
  "maxAttachmentSizeMb": 25,
  "noticeIds": [
    "https://sam.gov/opp/abc123def456ghi789/view",
    "def789ghi012jkl345"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "title": {
    "label": "Title"
  },
  "noticeType": {
    "label": "Type"
  },
  "solicitationNumber": {
    "label": "Solicitation #"
  },
  "department": {
    "label": "Department"
  },
  "office": {
    "label": "Office"
  },
  "postedDate": {
    "label": "Posted",
    "format": "date"
  },
  "responseDeadline": {
    "label": "Response due"
  },
  "setAside": {
    "label": "Set-aside"
  },
  "naicsCodes": {
    "label": "NAICS",
    "format": "array"
  },
  "pscCode": {
    "label": "PSC"
  },
  "url": {
    "label": "SAM.gov link",
    "format": "link"
  }
}
```

## About this Actor

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