# FDA Recalls Export: Food, Drug & Medical Device Recalls (`adhistory/fda-recalls-export`) Actor

Export FDA recalls (food, drugs, medical devices) to CSV, Excel or JSON: classification, status, recalling firm, product, lot codes, reason, distribution and dates from the official openFDA enforcement reports. Filter by keyword, class, state or date, or get only new recalls each day.

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

## Pricing

from $1.00 / 1,000 fda recall exporteds

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

## FDA Recalls Export: Food, Drug & Medical Device Recalls

Get the **FDA recalls list** as a clean spreadsheet: every food, drug and medical device recall from the FDA weekly Enforcement Report, with **classification (Class I, II, III), status, recalling firm, product, lot codes, reason for recall, distribution pattern and dates**, ready to download as CSV, Excel or JSON. Built for compliance teams, retailers, distributors, pharmacies and food-safety consultants. $1 per 1,000 recalls.

### What does FDA Recalls Export do?

The FDA publishes every recall it classifies in its weekly Enforcement Report and in the official **openFDA API**. Reading it directly means three different endpoints, a query syntax, paging and dates like `20261104`. This Actor does that for you and gives you one table:

- **All three recall databases in one run:** food (including cosmetics and dietary supplements), drugs and medical devices, with a `category` column.
- **Filters that matter for compliance:** keywords in the product, firm or reason ("listeria", "peanut", "insulin pump", a supplier's name), Class I/II/III, status (Ongoing, Completed, Terminated), firm state or country, and a date range.
- **Readable dates** (`2026-11-04`) for report, recall initiation, FDA classification and termination.
- **Lot and code info** joined into one `codeInfo` column, so you can match it against your inventory.
- **Daily recall alerts:** turn on *Only new since the last run*, schedule it, and each run returns only recalls you have not seen.
- **Link to the source record** (`openfdaUrl`) for every row.

### Drug recalls, food recalls and device recalls in one export

- **Drug recalls:** prescription and OTC drug recalls, with brand and generic names when openFDA links them, lot numbers and the reason (CGMP deviations, contamination, mislabeling). Filter `categories: ["drug"]`.
- **Food recalls:** packaged foods, produce, dairy, supplements, cosmetics and pet food, including undeclared allergens, Listeria, Salmonella and E. coli. Filter `categories: ["food"]`.
- **Medical device recalls:** devices from implants to software, with the firm and model or lot codes. Filter `categories: ["device"]`.

### Sample output

Real rows from a default run on 2026-11-16 (text shortened):

| reportDate | category | classification | status | recallingFirm | state | productDescription | reasonForRecall | recallNumber |
|---|---|---|---|---|---|---|---|---|
| 2026-11-04 | Food | Class I | Ongoing | GF Blends Inc | WA | Gluten Free Truly AIP Rustic Bread Mix, 14 oz | Products are recalled due to potential undeclared wheat gluten | H-0184-2027 |
| 2026-11-04 | Drug | Class II | Ongoing | ABC Compounding Co., Inc. | GA | Wechem Hand Guard 8/1000mL Bag… | CGMP Deviations | D-0103-2027 |
| 2026-11-04 | Medical device | Class II | Ongoing | Medtronic, Inc. | MN | OmniaSecure Model 3930M lead… | Affected leads require additional engineering evaluation… | Z-0285-2027 |

### Use cases

- **Compliance and QA teams:** a weekly export of every new Class I and Class II recall in your product categories for your recall log or CAPA review.
- **Retailers and grocery chains:** check recalled products and lot codes against what is on your shelves.
- **Distributors and wholesalers:** watch for recalls from your suppliers by firm name, and see the distribution pattern to know if your region is affected.
- **Pharmacies and hospitals:** drug and device recalls by brand, generic name or manufacturer.
- **Food-safety consultants:** recall trends by reason (allergens, Listeria, Salmonella), class and state for client reports.
- **Researchers and journalists:** the full recall history since 2004, filtered and exported in one run.

### How to use it

1. Click **Try for free**. The default input exports all food, drug and device recalls reported in the last 30 days.
2. Optional: add **Keywords**, pick **Classification** or **Status**, or set a date range.
3. Run, open the **FDA recalls** table and export CSV, Excel or JSON.
4. For a recall alert feed: turn on **Only new since the last run**, save the input as a task and schedule it daily or weekly. Connect email, Slack or Google Sheets under Integrations.

### Input

| Field | What it does | Default |
|---|---|---|
| Categories | food, drug, device | all three |
| Keywords (any) | Words or phrases in the product description, recalling firm or reason for recall | none |
| Last N days | Date window ending today; 0 = whole history | 30 |
| From date / To date | Exact date range (overrides Last N days) | none |
| Date field | Report date, recall initiation date or FDA classification date | Report date |
| Classification | Class I, Class II, Class III | all |
| Status | Ongoing, Completed, Terminated, Pending | all |
| Recalling firm's US state / country | Where the recalling firm is located | all |
| Only new since the last run | Skip recalls returned by earlier runs | off |
| Max results | Stop after this many recalls | 1,000 |
| openFDA API key | Optional free key for very large exports | none |

Example input: Class I food recalls about Listeria or Salmonella in 2026.

```json
{
  "categories": ["food"],
  "keywords": ["listeria", "salmonella"],
  "classifications": ["Class I"],
  "dateFrom": "2026-01-01",
  "maxResults": 5000
}
```

### Output

One item per recalled product (a single recall event can cover several products, each with its own recall number):

```json
{
  "category": "Food",
  "recallNumber": "H-0184-2027",
  "classification": "Class I",
  "status": "Ongoing",
  "recallingFirm": "GF Blends Inc",
  "address": "2746 Battelle Blvd",
  "city": "Richland",
  "state": "WA",
  "postalCode": "99354-2193",
  "country": "United States",
  "productDescription": "Gluten Free Truly AIP Rustic Bread Mix, 14 oz",
  "codeInfo": "Lot 260417, Best By date 4-17-28 Lot 260617, Best By date 12-17-27",
  "reasonForRecall": "Products are recalled due to potential undeclared wheat gluten",
  "distributionPattern": "Sold nationwide online at eatgangster.com, trulyaip.com, and Amazon.com",
  "productQuantity": "986 bags",
  "voluntaryMandated": "Voluntary: Firm initiated",
  "initialFirmNotification": "E-Mail",
  "recallInitiationDate": "2026-09-08",
  "centerClassificationDate": "2026-10-28",
  "reportDate": "2026-11-04",
  "terminationDate": null,
  "eventId": "99914",
  "brandNames": [],
  "genericNames": [],
  "manufacturerNames": [],
  "openfdaUrl": "https://api.fda.gov/food/enforcement.json?search=recall_number%3A%22H-0184-2027%22",
  "scrapedAt": "2026-11-16T15:50:37+00:00"
}
```

`brandNames`, `genericNames` and `manufacturerNames` are filled when openFDA links the recall to a product listing (mostly drugs).

### Pricing

**$1.00 per 1,000 recalls** saved to the dataset (pay per result). The default 30-day export is a few hundred rows, well under a dollar, and Apify's free monthly credits cover your first runs. Set a maximum cost per run and the Actor stops cleanly at it.

### FAQ

**Where does the data come from?** The FDA's official openFDA API (enforcement reports for food, drugs and devices), which is public domain US government data. Nothing is scraped from web pages.

**How fresh is it?** The FDA adds recalls to the Enforcement Report weekly, and openFDA usually updates within days. A recall announced in a press release today can take one to a few weeks to appear here, after FDA classifies it.

**Can I get FDA recall alerts by email?** Yes. Turn on *Only new since the last run*, add keywords or a class filter, save it as a task with a weekly or daily schedule, and add an email or Slack integration. On a run where the FDA published nothing new, the run succeeds with 0 items and says so.

**Can I get the full FDA recall history?** Yes. Set *Last N days* to 0 (or a *From date* in 2004 or later) and raise *Max results*. The full history is roughly 88,000 rows across the three categories (about 30,000 food, 18,000 drug and 40,000 device).

**Is there an FDA recall API I can call instead?** This Actor is one: call it from the Apify API with the same input and get the rows back as JSON, CSV or Excel. It wraps the openFDA enforcement API, so you do not have to handle its query syntax, three endpoints, paging and `20261104`-style dates yourself.

**Do I need an openFDA API key?** No. Without a key openFDA allows 1,000 requests a day per IP address, and one request returns up to 1,000 recalls. A free key raises that if you export the whole history many times a day.

**Something broke or you need a field?** Open an issue on the Issues tab. I usually reply within a day.

### Limits (honest)

- **Only FDA-classified recalls.** Recalls appear after FDA classifies them, not on the day of the company announcement. Meat, poultry and egg products are USDA FSIS recalls and are not included; consumer products (toys, appliances) are CPSC and not included; vehicles are NHTSA.
- **Firm location, not sales area.** The state and country filters use the recalling firm's address. Where the product was sold is in the free-text `distributionPattern` column.
- **Keyword search is word-based.** openFDA matches whole words, so "peanut" finds "peanut butter" but "pean" finds nothing.
- **Text is as FDA writes it.** Product descriptions and lot codes are free text, sometimes long or inconsistent between firms.
- openFDA is a public service that can be slow or limited at times; if a category fails, the run status says which one, and a run that returns nothing fails so a scheduled alert never silently looks fine.

### Also from this developer

More public-records and data-export tools at [apify.com/adhistory](https://apify.com/adhistory), including [Grants.gov Scraper](https://apify.com/adhistory/grants-gov-search) (federal grant opportunities with deadlines and award amounts), [Google Ads Transparency Center Scraper](https://apify.com/adhistory/google-ads-history-actor) and [Google Sheets Export & Import](https://apify.com/adhistory/google-sheets-export-actor).

# Actor input Schema

## `categories` (type: `array`):

Which FDA recall databases to read: food (includes cosmetics and dietary supplements), drug and device (medical devices). Empty reads all three.

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

Optional. Keep recalls whose product description, recalling firm or reason for recall contains any of these words or phrases, for example: listeria, peanut, insulin pump, Walmart.

## `lastDays` (type: `integer`):

Recalls dated within this many days before today (by the date field below). Ignored when 'From date' is set. 0 means no date limit (the whole history since 2004).

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

Optional start date, YYYY-MM-DD. Overrides 'Last N days'.

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

Optional end date, YYYY-MM-DD. Defaults to today.

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

Which date the date range applies to. Report date is when the recall appeared in the FDA weekly Enforcement Report (best for alerts).

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

Optional. Class I is the most serious (reasonable probability of serious harm or death), Class III the least. Empty keeps all.

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

Optional. Recall status: Ongoing, Completed, Terminated or Pending. Empty keeps all.

## `states` (type: `array`):

Optional. Two-letter codes of the state where the recalling firm is located, for example CA, NY. This is the firm's address, not where the product was sold (see distributionPattern in the output).

## `countries` (type: `array`):

Optional. Country of the recalling firm as FDA writes it, for example United States, India, China, Canada.

## `onlyNewSinceLastRun` (type: `boolean`):

Remember recall numbers returned by earlier runs (in a named key-value store in your account) and return only recalls you have not seen. Use it with a daily or weekly schedule for a recall alert feed.

## `maxResults` (type: `integer`):

Stop after this many recalls in total. You pay only for recalls saved.

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

Optional free key from open.fda.gov/apis/authentication. Not needed for normal use; it raises openFDA's daily request limit for very large exports.

## Actor input object example

```json
{
  "categories": [
    "food",
    "drug",
    "device"
  ],
  "lastDays": 30,
  "dateField": "reportDate",
  "onlyNewSinceLastRun": false,
  "maxResults": 200
}
```

# 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 = {
    "categories": [
        "food",
        "drug",
        "device"
    ],
    "lastDays": 30,
    "maxResults": 200
};

// Run the Actor and wait for it to finish
const run = await client.actor("adhistory/fda-recalls-export").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 = {
    "categories": [
        "food",
        "drug",
        "device",
    ],
    "lastDays": 30,
    "maxResults": 200,
}

# Run the Actor and wait for it to finish
run = client.actor("adhistory/fda-recalls-export").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 '{
  "categories": [
    "food",
    "drug",
    "device"
  ],
  "lastDays": 30,
  "maxResults": 200
}' |
apify call adhistory/fda-recalls-export --silent --output-dataset

```

## MCP server setup

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

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/7Eg48PSCAq0a2NxsH/builds/047pAe7kXRQQ1YdR7/openapi.json
