# Scrape Ongoing US FDA Pharma & Drug Recalls

**Use case:** 

Collects active US FDA pharmaceutical and drug enforcement recalls from the openFDA Drug Enforcement API, returning recalling pharma firms, Class I/II/III severity, defect reasons, quantities, and report dates.

## Input

```json
{
  "categories": [
    "drug"
  ],
  "classifications": [],
  "keywords": [],
  "onlyOngoing": true,
  "maxResults": 25
}
```

## Output

```json
{
  "recallNumber": {
    "label": "Recall Number",
    "format": "string"
  },
  "productCategory": {
    "label": "Category",
    "format": "string"
  },
  "recallingFirm": {
    "label": "Recalling Company",
    "format": "string"
  },
  "classification": {
    "label": "Hazard Class",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "reportDate": {
    "label": "Report Date",
    "format": "string"
  },
  "reasonForRecall": {
    "label": "Reason for Recall",
    "format": "string"
  },
  "productQuantity": {
    "label": "Quantity",
    "format": "string"
  },
  "city": {
    "label": "City",
    "format": "string"
  },
  "state": {
    "label": "State",
    "format": "string"
  },
  "severityScore": {
    "label": "Severity Score (0-100)",
    "format": "integer"
  }
}
```

## How it works

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

The US FDA Food, Drug & Device Recalls & Enforcement Scraper Actor is ready to run with the inputs already set for "Scrape Ongoing US FDA Pharma & Drug Recalls". [Sign up or log in](https://console.apify.com/create-task-from-example/uarWtzzUfYOZNPb1k) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Scrape Ongoing US FDA Pharma & Drug Recalls" task

The US FDA Food, Drug & Device Recalls & Enforcement Scraper Actor will start running based on the input automatically. You can also change all the input fields, like FDA Recall Categories, hazard classifications (optional, e.g. class i, class ii, class iii), and more, to match your specific use case.

### 3. Receive the "Scrape Ongoing US FDA Pharma & Drug Recalls" 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 recall number, category, recalling company, 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 "Scrape Ongoing US FDA Pharma & Drug Recalls" task via API](https://apify.com/grimbles/us-fda-recalls-compliance-leads.md).

## FAQ

### What pharmaceutical data does the US FDA Pharma Recalls task extract?

The US FDA Pharma & Drug Recalls task extracts recallNumber, recallingFirm, classification, status, reportDate, reasonForRecall, productQuantity, city, state, and severityScore.

### Are terminated historical drug recalls excluded by default?

With onlyOngoing set to true, the US FDA Pharma & Drug Recalls task excludes completed or terminated recalls and keeps only active enforcement actions.

### Can I track Food, Drug, and Device FDA recalls together?

Include food, drug, and device in the categories list of the duplicated task input to merge all three FDA enforcement feeds into one dataset.

### How can pharma compliance teams automate weekly recall monitoring?

Schedule the US FDA Pharma & Drug Recalls task in Apify Console or connect it to n8n and Slack via the Apify Actor tasks API.

## About this Actor

This example demonstrates how to use [US FDA Food, Drug & Device Recalls & Enforcement Scraper](https://apify.com/grimbles/us-fda-recalls-compliance-leads.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/grimbles/us-fda-recalls-compliance-leads.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/grimbles/us-fda-recalls-compliance-leads.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`).
