# FDA Recall Scraper: Food, Drug & Device Alerts (`datamole/fda-recalls-scraper`) Actor

Get FDA food, drug and device recalls with class, status, hazard (listeria, salmonella, allergens), undeclared allergen, states reached, UPC codes and the company announcement link. Filter by state, hazard or company and monitor new recalls.

- **URL**: https://apify.com/datamole/fda-recalls-scraper.md
- **Developed by:** [DataMole](https://apify.com/datamole) (community)
- **Categories:** News
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

![DataMole](https://raw.githubusercontent.com/YoiderD/datamole-assets/main/banner.png)

## 🚨 FDA Recall Scraper: Food, Drug & Device Alerts

> **Get every FDA food, drug and medical device recall with the class, status, hazard and the US states it reached, from 88,000+ enforcement reports since 2012.** Each recall is linked to the company announcement on fda.gov when one exists, and monitor mode returns only new recalls and status changes.

> 🕒 **Last updated:** 2026-11-09 · **44 fields** per recall · food, drugs, medical devices, animal & veterinary and cosmetics · official FDA data, updated weekly

**FDA Recall Scraper** reads the official openFDA enforcement reports (every recall FDA classifies) and the FDA list of company recall announcements. It adds what the raw data lacks: the hazard behind each recall (listeria, salmonella, undeclared allergen, foreign material, sterility, software failure...), the undeclared allergens, the US states the product reached, UPC codes, how long the recall has been open, and the link to the company press release. Filter by class, hazard, allergen, state, company or keyword and get only what matters to you.

> ℹ️ **Free Apify plan:** runs return a preview of up to 10 results. Any paid Apify plan unlocks all results.

| 🎯 Who uses it | 💡 What for |
|---|---|
| Food safety and QA teams, retailers and distributors | Check suppliers and products against recalls every day |
| Law firms and insurers | Find Class I recalls by hazard, company or state |
| Compliance, regulatory and pharmacovigilance teams | Track drug and device recalls by failure mode |
| Journalists, researchers and data teams | Analyze recall trends by hazard, state or company |
| Allergy and consumer apps | Alert users about undeclared allergens in products they buy |

### 📋 What it does

- 🗂️ **Three FDA areas in one run:** food and dietary supplements, drugs and medical devices from openFDA. Animal & veterinary and cosmetics come from the company announcements.
- 🧪 **Hazard for every recall:** computed from the recall reason. Food: listeria, salmonella, E. coli, botulism, other pathogens, undeclared allergen, foreign material, chemical, undeclared drug... Drugs: sterility, impurity (nitrosamines), potency, failed specifications, CGMP, mix-up... Devices: mechanical, software, sterility, inaccurate results, electrical...
- 🥜 **Undeclared allergens:** milk, egg, peanut, tree nuts, soy, wheat, fish, shellfish, sesame and sulfites, read from the recall reason.
- 🗺️ **Where the product went:** US states named in the distribution text, plus `nationwide`, `international` and the countries named.
- 📰 **Company announcement link:** each recall is matched to the press release the company published on fda.gov (same company, published around the recall start). Announcements can also be returned as their own records, often days or weeks before FDA classifies the recall.
- ⏱️ **Timing fields:** recall start, classification and report dates, `daysToClassification` and `daysOpen`.
- 🏷️ **Product codes:** UPC / GTIN codes found in the product text, and for drugs the brand names, generic names and NDC codes from openFDA.
- 👀 **Monitor mode:** remembers recalls between runs. Scheduled runs return only new recalls and recalls whose class, status or termination date changed, with the previous values.
- 🔁 **Reliable at any size:** pages through openFDA past its 25,000-record limit. If the public openFDA quota runs out, it switches to the official FDA full file for food and drugs automatically.

### ⚙️ Input

| Field | What it does |
|---|---|
| `productTypes` | `food`, `drug`, `device`, `animal`, `cosmetics`. Default: `food`. Animal and cosmetics exist only as company announcements. |
| `sources` | `enforcement` (FDA enforcement reports) and/or `pressReleases` (company announcements on fda.gov). Default: `enforcement`. |
| `classifications` | `Class I` (serious health risk or death), `Class II`, `Class III`. Empty = all. |
| `statuses` | `Ongoing`, `Completed`, `Terminated`. Empty = all. |
| `dateFrom` / `dateTo` | `YYYY-MM-DD` or relative: `30 days`, `6 months`, `1 year`. |
| `dateField` | Filter by `report_date` (when FDA published it, default) or `recall_initiation_date` (when the company started it). |
| `hazards` | Only recalls with these hazards, e.g. `listeria`, `allergen`, `foreign-material`, `sterility`, `software`. |
| `allergens` | Only recalls for these undeclared allergens, e.g. `milk`, `peanut`, `sesame`. |
| `keywords` | Any of these words in the product or the reason, e.g. `cheese`, `infant formula`, `insulin`. |
| `firms` | Company name contains any of these. |
| `distributedTo` | Products that reached these states (code or name). Nationwide recalls count for every state. |
| `firmStates` | Where the recalling company is based. |
| `maxItems` | Stop after this many records. |
| `monitorMode` / `monitorName` | Return only new recalls and changes on each run. |
| `apiKey` | Optional free openFDA API key for a higher quota. Not needed for most runs. |

**Example: Class I listeria recalls of the last year**

```json
{
  "productTypes": ["food"],
  "classifications": ["Class I"],
  "hazards": ["listeria"],
  "dateFrom": "1 year"
}
```

**Example: undeclared milk in products sold in Texas**

```json
{
  "productTypes": ["food"],
  "allergens": ["milk"],
  "distributedTo": ["TX"],
  "dateFrom": "6 months"
}
```

**Example: daily alert of new Class I drug and device recalls**

```json
{
  "productTypes": ["drug", "device"],
  "classifications": ["Class I"],
  "dateFrom": "30 days",
  "monitorMode": true,
  "monitorName": "class-1-drugs-devices"
}
```

**Example: company announcements for food, pet food and cosmetics**

```json
{
  "productTypes": ["food", "animal", "cosmetics"],
  "sources": ["pressReleases"],
  "dateFrom": "90 days"
}
```

### 📊 Output

Real enforcement record from a run:

```json
{
  "recordType": "enforcement",
  "recordId": "EVENT-99833-7a328063",
  "recallNumber": null,
  "eventId": "99833",
  "productType": "food",
  "classification": "Class I",
  "classificationMeaning": "Reasonable probability of serious adverse health consequences or death",
  "status": "Ongoing",
  "productDescription": "Made Fresh brand Black Bean and Corn Salad; 5lb white plastic tub",
  "reasonForRecall": "Products may be contaminated with Listeria monocytogenes.",
  "primaryHazard": "listeria",
  "hazards": ["listeria"],
  "allergens": [],
  "productQuantity": "Unknown",
  "codeInfo": "Expiration dates from 09/03/2026 to 09/18/2026",
  "upcCodes": [],
  "distributionPattern": "NY",
  "distributionStates": ["NY"],
  "nationwide": false,
  "international": false,
  "recallingFirm": "Made Fresh Salads Inc",
  "firmCity": "Bay Shore",
  "firmState": "NY",
  "firmCountry": "United States",
  "voluntaryMandated": "Voluntary: Firm initiated",
  "recallInitiationDate": "2026-09-04",
  "classificationDate": "2026-10-14",
  "reportDate": "2026-10-21",
  "terminationDate": null,
  "daysToClassification": 40,
  "daysOpen": 66,
  "pressReleaseUrl": "https://www.fda.gov/safety/recalls-market-withdrawals-safety-alerts/made-fresh-salads-inc-recalls-ready-eat-deli-style-salads-and-cream-cheese-because-possible-health",
  "pressReleaseDate": "2026-09-06",
  "pressReleaseBrand": "Made Fresh Salads, Northside"
}
```

Real company announcement record:

```json
{
  "recordType": "pressRelease",
  "pressReleaseUrl": "https://www.fda.gov/safety/recalls-market-withdrawals-safety-alerts/taylor-farms-issues-recall-h-e-b-backyard-bbq-chop-salad-kit-due-potential-undeclared-soy-and-tree",
  "pressReleaseDate": "2026-10-27",
  "brandName": "H-E-B",
  "productDescription": "BBQ Chop Salad Kit",
  "reasonForRecall": "Undeclared soy and tree nuts (almonds)",
  "reasonCategory": "Soybean, Tree Nuts",
  "primaryHazard": "allergen",
  "hazards": ["allergen"],
  "allergens": ["tree-nuts", "soy"],
  "companyName": "Taylor Farms",
  "fdaCategories": ["Food & Beverages"],
  "productTypes": ["food"]
}
```

Enforcement records also include `firmAddress`, `firmPostalCode`, `initialFirmNotification`, `distributionCountries`, `productTypeLabel` and, for drugs and devices, `brandNames`, `genericNames`, `manufacturerNames` and `productNdc` from openFDA. In monitor mode each record adds `changeType` (`new`, `classification changed`, `status changed`, `terminated`, `termination date changed`), `previousStatus` and `previousClassification`.

`recallNumber` is `null` for the few newest reports FDA publishes before assigning a number. `recordId` is then built from the event ID and the product, so it stays stable. `pressReleaseUrl` is `null` when the company published no announcement, which is the case for most Class II and III recalls. Hazards and states are computed from FDA's free text, so a recall with an unusual wording can get `primaryHazard: "other"` or no states.

### ✨ Why this one

- ✅ **Hazard and allergen on every record.** Tested on 3,000 real recalls: 99% of food and drug recalls and 98% of device recalls get a specific hazard.
- ✅ **Recall linked to the company announcement**, so you get the official report and the press release together.
- ✅ **State filter that counts nationwide recalls**, read from FDA's free-text distribution field.
- ✅ **Monitor mode** for daily or weekly alerts with the previous status and class.
- ✅ **Full history**: pages past openFDA's 25,000-record limit and falls back to the official full file if the quota runs out.
- ✅ **Drugs and devices get their own failure modes**, not food categories.

### 🚀 How to use

1. Create a free Apify account.
2. Open the Actor, pick the product types and add filters like class, hazard, state or dates.
3. Click **Start**.
4. Download the results or connect them to Google Sheets, Make, Zapier, n8n or the API. Add a schedule with monitor mode on to get new recalls automatically.

### 💼 Use cases

- **Grocery and restaurant buyers:** a daily run with monitor mode and `distributedTo` set to their states, sent to Slack.
- **Product liability lawyers:** Class I recalls by hazard and company, with the press release and the recall dates.
- **Supplement brands:** watch recalls of competitors and ingredients with `keywords` and `undeclared-drug`.
- **Medical device makers and hospitals:** device recalls by failure mode (`software`, `sterility`, `mechanical`).
- **Allergy apps:** undeclared allergen announcements the day they are published.

### ❓ FAQ

**Where does the data come from?** From openFDA (api.fda.gov), the official FDA API for enforcement reports, and the FDA list of company recall announcements on fda.gov.

**How fresh is it?** FDA publishes enforcement reports weekly. Company announcements appear on fda.gov as companies publish them, often before FDA classifies the recall.

**Do I need an openFDA API key?** No. The Actor works without one. A free key (open.fda.gov/apis/authentication) gives a higher quota for very large or very frequent runs. Without a key, if the public quota runs out, food and drug recalls are read from the official full file.

**Why do some recalls have no company announcement?** Companies publish press releases mostly for serious recalls. Most Class II and III recalls have only the FDA enforcement report.

**Can I filter announcements by class or state?** No. Announcements don't have a class or a distribution field. When you set class, status or state filters, only enforcement reports are returned.

**How is the hazard computed?** From the recall reason with rules written for each product type and tested on thousands of real recalls. `hazards` lists every hazard found and `primaryHazard` the most serious one.

**What about meat and poultry?** Meat, poultry and egg products are recalled by USDA FSIS, not FDA, so they are not included.

**What does monitor mode remember?** The ID, class, status and termination date of each recall saved. It forgets recalls not seen for 2 years.

### 🔌 Integrations

Works with the Apify API, schedules, webhooks, Google Sheets, Make, Zapier, n8n, Slack and any tool that reads JSON.

### 🕳️ More from DataMole

| Actor | What it does |
|---|---|
| [Google News Scraper](https://apify.com/datamole/google-news-scraper) | News by keyword, topic or location in 50+ country editions |
| [Company Enrichment](https://apify.com/datamole/company-enrichment) | Company profiles from a website: firmographics, public emails, social profiles and tech stack |
| [Europages B2B Supplier Scraper & Monitor](https://apify.com/datamole/europages-scraper) | European manufacturers and suppliers by product and country |

**Need a field, filter or source we don't cover yet?** Open an issue on this Actor. We read everything.

### ⚖️ Disclaimer

This Actor collects public data published by the U.S. Food and Drug Administration through openFDA and fda.gov. It is not affiliated with or endorsed by the FDA. openFDA data is not meant for clinical decisions. Always check the official recall notice before acting on it.

# Actor input Schema

## `productTypes` (type: `array`):

Which FDA areas to search. Animal & veterinary and cosmetics only exist as company announcements.

## `sources` (type: `array`):

Enforcement reports = every recall FDA classifies (class, status, distribution, firm address). Company announcements = the press releases firms publish on fda.gov, usually days or weeks before FDA classifies the recall.

## `classifications` (type: `array`):

Class I = serious health risk or death. Class II = temporary or reversible. Class III = unlikely to harm. Empty = all.

## `statuses` (type: `array`):

Empty = all.

## `dateFrom` (type: `string`):

YYYY-MM-DD or relative: "30 days", "6 months", "1 year". Empty = no limit.

## `dateTo` (type: `string`):

YYYY-MM-DD or relative. Empty = today.

## `dateField` (type: `string`):

Company announcements always use their publication date.

## `hazards` (type: `array`):

Recall cause computed from the reason text. Empty = all.

## `allergens` (type: `array`):

Only recalls for these undeclared allergens (FDA major allergens). Empty = all.

## `keywords` (type: `array`):

Any of these words in the product or reason, e.g. "cheese", "infant formula", "insulin". Empty = all.

## `firms` (type: `array`):

Recalling firm or brand owner name contains any of these. Empty = all.

## `distributedTo` (type: `array`):

Recalls whose product reached these states. Nationwide recalls count for every state. Enforcement reports only.

## `firmStates` (type: `array`):

Where the recalling company is based. Enforcement reports only.

## `maxItems` (type: `integer`):

Stop after this many records. Empty = all matches. Free plan: 10 results per run.

## `monitorMode` (type: `boolean`):

Remembers recalls between runs. Next runs return only new recalls and recalls whose class, status or termination date changed, with the previous values. The first run returns everything. Schedule it daily or weekly.

## `monitorName` (type: `string`):

Optional. Same name = same memory across different inputs. Empty = identified by the filters.

## `apiKey` (type: `string`):

Optional. Free at open.fda.gov/apis/authentication. Without it the actor uses the public quota and falls back to the official full file (food and drugs) if the quota runs out.

## Actor input object example

```json
{
  "productTypes": [
    "food"
  ],
  "sources": [
    "enforcement"
  ],
  "dateFrom": "6 months",
  "dateField": "report_date",
  "maxItems": 100,
  "monitorMode": false
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "productTypes": [
        "food"
    ],
    "sources": [
        "enforcement"
    ],
    "dateFrom": "6 months",
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("datamole/fda-recalls-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "productTypes": ["food"],
    "sources": ["enforcement"],
    "dateFrom": "6 months",
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("datamole/fda-recalls-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "productTypes": [
    "food"
  ],
  "sources": [
    "enforcement"
  ],
  "dateFrom": "6 months",
  "maxItems": 100
}' |
apify call datamole/fda-recalls-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datamole/fda-recalls-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/1xeZbGqOGQgOYFXLO/builds/V5HSRKJuLDW4yD0cc/openapi.json
