# Scrape Active FDA Drug Shortages

**Use case:** 

Pull every currently-active FDA drug shortage with generic name, company, availability, and reason for hospital and pharmacy supply planning.

## Input

```json
{
  "mode": "shortages",
  "sponsorIdentifiers": [],
  "nctIds": [
    "NCT04368728"
  ],
  "conditions": [
    "non-small cell lung cancer"
  ],
  "interventions": [],
  "phases": [],
  "statuses": [],
  "countries": [],
  "applicantName": "Medtronic",
  "productCode": "",
  "devicePathways": [
    "510k",
    "pma"
  ],
  "drugName": "Ozempic",
  "seriousOnly": false,
  "recallClassifications": [],
  "recallDomains": [
    "drug",
    "device"
  ],
  "shortageStatus": "currently_in_shortage",
  "dateFrom": "",
  "dateTo": "",
  "maxItems": 100,
  "maxItemsPerSource": 1000,
  "incrementalMode": false,
  "monitorTargets": [],
  "enableAiSummary": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "genericName": {
    "label": "Generic",
    "format": "text"
  },
  "companyName": {
    "label": "Company",
    "format": "text"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "availability": {
    "label": "Availability",
    "format": "text"
  },
  "shortageReason": {
    "label": "Reason",
    "format": "text"
  },
  "initialPostingDate": {
    "label": "Posted",
    "format": "date"
  },
  "updateDate": {
    "label": "Updated",
    "format": "date"
  },
  "verifyUrl": {
    "label": "FDA",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [Clinical Trials & FDA Pipeline Intelligence Scraper](https://apify.com/constructive_calm/clinical-trials-fda-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/constructive_calm/clinical-trials-fda-scraper) to learn more, explore other use cases, and run it yourself.