# FDA Recalls API - Food, Drug & Device Recall Monitor (`red.cars/fda-recalls-pro`) Actor

Monitor every FDA recall from one API: food, drug and medical-device enforcement data, with classification, state, status and date-window filters. Built on openFDA.

- **URL**: https://apify.com/red.cars/fda-recalls-pro.md
- **Developed by:** [AutomateLab](https://apify.com/red.cars) (community)
- **Categories:** Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.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

## FDA RECALLS PRO - FOOD, DRUG & DEVICE RECALL MONITOR

Monitor every FDA recall from one actor: food, drug and medical-device enforcement data with classification (Class I-III), state, status and date-window filters. Built on openFDA. No API key, no login, no browser.

### WHY THIS ONE

- **Data source:** openFDA enforcement datasets (food, drug, device) - the FDA's own recall records, mirrored free.
- **Coverage:** every recall reported in your date window across all three domains, Class I through III.
- **Auth:** none. No key needed.
- **Filters:** keyword in product description or recall reason, classification, state, status (Ongoing/Completed), date window or days-back.
- **Pricing:** $0.005 per run + $2.00 per 1,000 results.

### HOW IT COMPARES

| Actor | Users | What you get |
|---|---|---|
| **fda-recalls-pro (this actor)** | new | All three openFDA recall datasets in one actor, normalized rows, classification/state/status/date filters |
| fda-recall-intelligence | 11 | Single-slice recall watch |
| openfda-food-recalls-scraper | 6 | Food recalls only |
| fda-device-recalls | 7 | Device recalls only |

**The difference:** competitors each cover one slice. This actor covers food, drug AND device recalls with one query shape and one output schema, so a compliance or QA team monitors every FDA recall class in one schedule. Rows are pre-filtered server-side by your query, so you never pay for rows your filter would have dropped.

### INPUT

| Field | Type | Default | What it does |
|---|---|---|---|
| domain | food / drug / device | food | Which FDA recall dataset to search |
| keyword | text | - | Matches product descriptions and recall reasons (salmonella, peanut butter, infusion pump) |
| classification | Class I / II / III | - | Class I is the most serious (could cause serious harm or death) |
| state | 2-letter code | - | State where the recalled product was distributed or the firm is located |
| status | Ongoing / Completed | - | Recall status |
| daysBack | 1-1095 | 30 | Date window counting back from today |
| dateFrom / dateTo | YYYYMMDD | - | Explicit window; overrides daysBack |
| maxResults | 1-1000 | 10 | Row cap; filtered results are never billed |
| page | 1-40 | 1 | Walk long lists (25 rows per page) |

### OUTPUT

One row per recall report:

`eventId`, `domain`, `product`, `recallingFirm`, `reason`, `classification`, `status`, `state`, `city`, `country`, `distributionPattern`, `codeInfo`, `productQuantity`, `recallNumber`, `voluntaryOrMandated`, `reportDate`, `recallInitiationDate`, `terminationDate`, and for drug recalls `brandName`, `genericName`, `manufacturer`.

Zero-match runs return one ZERO_RESULTS hint row instead of an empty dataset, so you always know what happened.

### PRICING

$0.005 per run + $2.00 per 1,000 results. No login walls. A typical 25-result week scan costs $0.055.

### FAQ

**Do I need an openFDA API key?** No. The actor uses the public endpoints directly at their unauthenticated rate limit.

**Is this real FDA data?** Yes: openFDA is the FDA's own public API over the official recall/enforcement reports. Dates and amounts are as reported.

**Can I run this on a schedule?** Yes. Set daysBack 7 and run daily for a live recall feed; set status "Ongoing" to only see recalls still in the field.

**How deep can I page?** 25 rows per page, up to 40 pages (1,000 rows). Use page + maxResults to walk long windows.

**What is a Class I recall?** FDA's most serious classification: reasonable probability the product will cause serious health problems or death.

Pair it with Grants.gov Pro (https://apify.com/red.cars/grants-gov-pro) or Academic Research MCP (https://apify.com/red.cars/academic-research-mcp) to move from the recall notice to the money and the research behind it.

# Actor input Schema

## `domain` (type: `string`):

Which FDA recall dataset to search.

## `keyword` (type: `string`):

Searches product descriptions and recall reasons, e.g. salmonella, peanut butter, infusion pump. Leave empty to get everything in the window.

## `classification` (type: `string`):

Recall classification. Class I = most serious.

## `state` (type: `string`):

Two-letter US state code where the recalled product was distributed or the recalling firm is located, e.g. NY, CA.

## `status` (type: `string`):

Filter by recall status.

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

How many days of report dates to include, counting back from today. Ignored when dateFrom/dateTo are set.

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

Optional start date, YYYYMMDD or YYYY-MM-DD. Overrides daysBack.

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

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

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

Maximum number of recall rows to return (1-1000).

## `page` (type: `integer`):

Page number when walking long lists (25 rows per page).

## Actor input object example

```json
{
  "domain": "food",
  "classification": "",
  "status": "",
  "daysBack": 30,
  "maxResults": 10,
  "page": 1
}
```

# Actor output Schema

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

Default dataset of recall rows: product, recalling firm, reason, classification, status, state/city, distribution, report and initiation dates, recall number and event id.

# 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 = {
    "domain": "food",
    "classification": "",
    "status": "",
    "daysBack": 30,
    "maxResults": 10,
    "page": 1
};

// Run the Actor and wait for it to finish
const run = await client.actor("red.cars/fda-recalls-pro").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 = {
    "domain": "food",
    "classification": "",
    "status": "",
    "daysBack": 30,
    "maxResults": 10,
    "page": 1,
}

# Run the Actor and wait for it to finish
run = client.actor("red.cars/fda-recalls-pro").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 '{
  "domain": "food",
  "classification": "",
  "status": "",
  "daysBack": 30,
  "maxResults": 10,
  "page": 1
}' |
apify call red.cars/fda-recalls-pro --silent --output-dataset

```

## MCP server setup

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

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/Vcbhq83oLPXHjz63T/builds/5tEtBZCykOhWafyX8/openapi.json
