# FDA Recalls Monitor: Food, Drug & Medical Device (openFDA API) (`mediapro-tools/fda-recalls-monitor`) Actor

Search and monitor FDA enforcement reports (recalls) for food, drugs and medical devices in one run via the official openFDA API. No login. Export JSON/CSV/Excel. Pay only per result.

- **URL**: https://apify.com/mediapro-tools/fda-recalls-monitor.md
- **Developed by:** [Jeremy Yarbrough](https://apify.com/mediapro-tools) (community)
- **Categories:** Automation, News, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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 Monitor: Food, Drug & Medical Device (openFDA API)

**Search and monitor FDA enforcement reports (recalls) for food, drugs and medical devices in one run via the official openFDA API, with no login, no browser and no code. Export to JSON, CSV or Excel, or use the API.**

Search and monitor FDA enforcement reports (recalls) for food, drugs and medical devices in one run via the official openFDA API. Filter by keyword, recalling firm, class I/II/III, state and date. Returns product, reason, quantity, lot codes, distribution, status and dates. Monitor mode alerts on new recalls.

### Use cases

- Daily alert for Class I recalls hitting your suppliers or category
- Competitive and supplier risk monitoring for food and device brands
- Recall datasets for compliance, legal or journalism research

### Input

| Field | Type | Notes |
|---|---|---|
| `categories` | array |  |
| `keywords` | array | Matched in product description or recall reason. |
| `recallingFirms` | array |  |
| `classifications` | array | e.g. Class I |
| `states` | array | 2-letter codes. |
| `daysBack` | integer | Used when no start date. |
| `startDate` | string | YYYY-MM-DD |
| `endDate` | string | YYYY-MM-DD |
| `maxResults` | integer |  |
| `openFdaApiKey` | string | Free key raises daily limits. |
| `monitorMode` | boolean | Remember results; later runs flag new ones. |
| `onlyNew` | boolean | Monitor mode only. |
| `stateStoreName` | string |  |

### Example input

```json
{
 "categories": [
  "food",
  "drug",
  "device"
 ],
 "keywords": [],
 "daysBack": 45,
 "classifications": [
  "Class I"
 ],
 "maxResults": 10,
 "monitorMode": true
}
```

### Output

One dataset item per result. Main columns: `recallNumber`, `category`, `classification`, `status`, `recallingFirm`, `state`, `productDescription`, `reasonForRecall`, `productQuantity`, `distributionPattern`, `recallInitiationDate`, `reportDate`, `isNew`, `error`. A `RUN_SUMMARY` record is saved to the default key-value store. See the sample output in the Output tab.

### Example output

```json
{
  "recallNumber": "H-1395-2026",
  "category": "food",
  "productType": "Food",
  "classification": "Class I",
  "status": "Ongoing",
  "recallingFirm": "WFM Purchasing, LP",
  "city": "Austin",
  "state": "TX",
  "country": "United States",
  "productDescription": "Fromagerie Coop de Mean Cabricharme and Belgium Cabricharme Shelf life: 30 days, all dates through and incl...",
  "reasonForRecall": "Undeclared Egg Allergen",
  "productQuantity": "21 Wheels",
  "codeInfo": "Shelf life: 30 days, all dates through and including 10/7/2026",
  "distributionPattern": "CA, AZ, NJ, MA, RI, CT, NY",
  "voluntaryMandated": "Voluntary: Firm initiated",
  "recallInitiationDate": "2026-09-08",
  "reportDate": "2026-09-30",
  "centerClassificationDate": "2026-09-22"
}
```

### Pricing

Pay per result, with no monthly rental or subscription:

- **Recall record**: $0.002
- **New recall (monitor)**: $0.01

Example: 1,000 results cost about $2.00 in fees. Apify's free plan includes $5 of monthly credit, which is enough to test this Actor.

### FAQ

**Do I need an account, cookies or a login for the source site?** No. FDA Recalls Monitor uses public data sources only, so there is nothing to connect and no account to risk.

**How much will a run cost?** You pay only for results delivered (see Pricing above), plus Apify platform usage, which the free plan's monthly credit easily covers for test runs. Start with a small limit to see the exact cost per run.

**Can I export to CSV, Excel or Google Sheets?** Yes. Every run's dataset can be downloaded as JSON, CSV, Excel, XML or HTML, or pushed to Google Sheets, Make, Zapier, n8n, Slack or a webhook through Apify integrations.

**Can I run it on a schedule or from my own code?** Yes. Add an Apify Schedule (hourly, daily, weekly) or call it through the Apify API / Python & JavaScript clients. It also works with AI agents through the Apify MCP server.

**What happens if an input is invalid or a source is down?** The run keeps going. The bad input gets a row with an `error` field so you can see what failed, and you are not charged for results that were not delivered.

**Is this legal to use?** It collects publicly available data. You are responsible for using the output in line with the source's terms and privacy laws such as GDPR/CCPA; don't use it for spam.

**Something missing or broken?** Open an issue on the Issues tab. Feature requests are usually added within a few days.

### Scheduling / monitoring

Create a Schedule (daily/weekly) and connect a webhook or Slack/email integration.

### Fair use

Official public APIs only, no login. Do not use output for spam or harassment. Respect the data sources' rate limits and terms.

### Related tools

- [Bulk VIN Decoder + NHTSA Recalls & Complaints (official API)](https://apify.com/mediapro-tools/bulk-vin-decoder-recalls)
- [Bulk Barcode Lookup: UPC/EAN to Product (Open Food Facts)](https://apify.com/mediapro-tools/barcode-upc-ean-product-lookup)
- [RSS & Atom Feed Reader, Keyword Filter & New Item Monitor](https://apify.com/mediapro-tools/rss-atom-feed-reader-monitor)
- [USAspending Federal Contracts & Grants + New Award Alerts](https://apify.com/mediapro-tools/usaspending-federal-awards)

### REST API

`GET https://api.mediaprotools.com/v1/fda-recalls?items=...` (header `X-API-Key`). Up to 5 items per call, separated by `,`. Or POST `{"items":[...],"options":{...}}`.

| Parameter | Type | Notes |
|---|---|---|
| `items` | token | Matched in product description or recall reason. |
| `categories` | array | Categories |
| `recallingFirms` | array | Recalling firms |
| `classifications` | array | e.g. Class I |
| `states` | array | 2-letter codes. |
| `daysBack` | integer 1-3650 | Used when no start date. |
| `startDate` | string | YYYY-MM-DD |
| `endDate` | string | YYYY-MM-DD |
| `maxResults` | integer 1-500 | Max results per category |
| `openFdaApiKey` | string | Free key raises daily limits. |

Output fields: brandNames, category, centerClassificationDate, city, classification, codeInfo, country, distributionPattern, eventId, genericNames, manufacturerNames, productDescription, productQuantity, productType, reasonForRecall, recallInitiationDate, recallNumber, recallingFirm, reportDate, scrapedAt, state, status, terminationDate, voluntaryMandated.

# Actor input Schema

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

No description

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

Matched in product description or recall reason.

## `recallingFirms` (type: `array`):

No description

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

e.g. Class I

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

2-letter codes.

## `daysBack` (type: `integer`):

Used when no start date.

## `startDate` (type: `string`):

YYYY-MM-DD

## `endDate` (type: `string`):

YYYY-MM-DD

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

No description

## `openFdaApiKey` (type: `string`):

Free key raises daily limits.

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

Remember results; later runs flag new ones.

## `onlyNew` (type: `boolean`):

Monitor mode only.

## `stateStoreName` (type: `string`):

No description

## Actor input object example

```json
{
  "categories": [
    "food",
    "drug",
    "device"
  ],
  "keywords": [
    "listeria"
  ],
  "recallingFirms": [],
  "classifications": [],
  "states": [],
  "daysBack": 30,
  "maxResults": 500,
  "monitorMode": false,
  "onlyNew": false,
  "stateStoreName": "fda-recall-monitor"
}
```

# Actor output Schema

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

All result records in the default dataset (table view: overview).

## `summary` (type: `string`):

Counts and stats for this run (JSON).

# 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 = {
    "keywords": [
        "listeria"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("mediapro-tools/fda-recalls-monitor").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 = { "keywords": ["listeria"] }

# Run the Actor and wait for it to finish
run = client.actor("mediapro-tools/fda-recalls-monitor").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 '{
  "keywords": [
    "listeria"
  ]
}' |
apify call mediapro-tools/fda-recalls-monitor --silent --output-dataset

```

## MCP server setup

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

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/yW56palnEsFaoLvrT/builds/Ao7ZxYHcH2k5fyWmW/openapi.json
