# OpenFDA Recall Enforcement Tracker - Drug Device Food (`digivibetech/openfda-recall-enforcement-tracker`) Actor

Fetch FDA drug, device and food recall enforcement reports from the official openFDA API. Filter by status, class, dates or free text. Optional monitor mode returns only new recalls. $0.0009 per recall.

- **URL**: https://apify.com/digivibetech/openfda-recall-enforcement-tracker.md
- **Developed by:** [DigiVibeTech](https://apify.com/digivibetech) (community)
- **Categories:** News, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.90 / 1,000 recall fetcheds

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

## OpenFDA Recall Enforcement Tracker - Drug Device Food

**OpenFDA Recall Enforcement Tracker** — fetch FDA drug, device and food recall enforcement reports from the official openFDA API.

> **Try it free:** press **Start** — the prefilled input runs a small real job (up to 20 × recall fetched, about $0.018 in events). Apify's free plan includes monthly platform credit, so a first test costs you nothing. You can also set a maximum cost per run.

- **What you get:** `recordType`, `productType`, `recallNumber`, `eventId`, `status`, `classification`
- **Who it's for:** pharma/medtech compliance teams, food-safety analysts and journalists
- **Price:** $0.0009 per recall fetched
- **Data source:** Uses the official openFDA API (public U.S. government data).

### What is OpenFDA Recall Enforcement Tracker?

Fetch **FDA drug, device and food recall enforcement reports** from the official [openFDA](https://open.fda.gov) API. Filter by status, classification, report-date range or a Lucene search. Optional **monitor mode** returns only recalls you have not seen before.

**$0.0009 per recall saved. Failures are free. No start fee.**

> Data provided by the U.S. Food and Drug Administration (https://open.fda.gov). openFDA data is generally CC0 / public domain; commercial reuse is allowed. This actor attributes every record.

### Disclaimer

Review outputs before relying on them for safety-critical decisions — openFDA itself warns that results are unvalidated.

### 📸 Real-run screenshots

From real run `7lnVfTBRudKumwY7T` on Apify, 20 Nov 2026 (build 1.0.2). Images are rendered from that run's own input, dataset and charged events.

![Input of the real run](https://api.apify.com/v2/key-value-stores/8dx7mDMr71NbvtKdp/records/openfda-recall-enforcement-tracker-std-01-input.png)
![Results table (dataset)](https://api.apify.com/v2/key-value-stores/8dx7mDMr71NbvtKdp/records/openfda-recall-enforcement-tracker-std-02-results-table.png)
![One result item](https://api.apify.com/v2/key-value-stores/8dx7mDMr71NbvtKdp/records/openfda-recall-enforcement-tracker-std-03-result-item.png)
![Charged events and run cost](https://api.apify.com/v2/key-value-stores/8dx7mDMr71NbvtKdp/records/openfda-recall-enforcement-tracker-std-04-run-cost.png)

### ⬇️ What data you get

Each dataset item is one enforcement report:

- `productType` — `drug` | `device` | `food`
- `recallNumber`, `eventId`, `status`, `classification`
- `recallingFirm`, city/state/country (public firm fields)
- `productDescription`, `reasonForRecall`, `distributionPattern`
- `reportDate`, `recallInitiationDate`, brand/generic names when present
- `attribution` + `source` URL

**Not included:** adverse-event patient narratives (`/drug/event` etc.), emails, phone numbers (redacted if present).

### 🎯 Use cases

- Get alerts for new FDA drug, device or food recalls
- Filter recalls by class, status and date for a report
- Monitor recalls mentioning your products or suppliers

### ▶️ How to use

1. Open the actor; the input is prefilled with a small real example.
2. Replace it with your own input and set `maxRecalls` to control the cost.
3. Press **Start**. Results appear in the **Output** tab (Overview view).
4. Download JSON, CSV or Excel, call the results via API, or schedule the actor.

### ⚙️ Input

| Field | Use |
| --- | --- |
| `productTypes` | One or more of drug / device / food |
| `status` | Ongoing / Terminated / Completed |
| `classification` | Class I / II / III |
| `search` | openFDA Lucene, e.g. `recalling_firm:Pfizer` |
| `onlyNew` | Monitor mode — skip already-seen `productType:recallNumber` |
| `apiKey` | Optional openFDA key (secret) for higher FDA quotas |

#### Example input

```json
{
  "productTypes": [
    "drug",
    "device",
    "food"
  ],
  "maxRecalls": 20
}
```

### ⬆️ Output

Real record from run `7lnVfTBRudKumwY7T` on 2026-11-20 (values change over time).

```json
{
  "recordType": "enforcement",
  "productType": "drug",
  "recallNumber": "D-321-2016",
  "eventId": "72241",
  "status": "Terminated",
  "classification": "Class II",
  "recallingFirm": "Kalman Health & Wellness, Inc. dba Essential Wellness Pharma",
  "city": "Peoria",
  "state": "IL",
  "country": "United States",
  "postalCode": "61614-5828",
  "productDescription": "Progesterone 100 mg/mL in Corn Oil Injection, 2 mL vials, Rx only, Essential Wellness PHARMACY, 4625 N. University, Peoria, IL 61614.",
  "reasonForRecall": "Lack of Assurance of Sterility:  A recall of all compounded sterile preparations within expiry is being initiated due to observations associated with poor sterile production practices resulting in a lack of sterility assurance for their finished drugs.",
  "distributionPattern": "Nationwide",
  "voluntaryMandated": "Voluntary: Firm initiated",
  "initialFirmNotification": "Letter",
  "reportDate": "20151125",
  "recallInitiationDate": "20150903",
  "codeInfo": "Lot #: 072915, Exp 10/29/2015",
  "productQuantity": "1 vial",
  "brandNames": [],
  "genericNames": [],
  "source": "https://api.fda.gov/drug/enforcement.json",
  "attribution": "Data provided by the U.S. Food and Drug Administration (https://open.fda.gov)",
  "fetchedAt": "2026-11-20T20:50:41.590870+00:00"
}
```

### 💵 Pricing and cost estimate

| Event | Price |
|---|---|
| Recall fetched | **$0.0009** |

#### Cost estimate

| Recall fetcheds | Cost |
|---|---|
| 100 | $0.090 |
| 1,000 | $0.90 |
| 10,000 | $9.00 |

You pay only for these events: no subscription. Set **Maximum cost per run** in the run options and the actor stops before it is reached.

### 🔌 Integrations and API

Run it from **n8n, Make, Zapier, Clay** or any tool that can call an HTTP endpoint, connect a **webhook** to get notified when a run finishes, or let AI agents call it through the **Apify MCP server** (`mcp.apify.com`).

Run it and get the results in one call:

```bash
curl -X POST "https://api.apify.com/v2/acts/digivibetech~openfda-recall-enforcement-tracker/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"productTypes": ["drug", "device", "food"], "maxRecalls": 20}'
```

Python (`pip install apify-client`):

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("digivibetech/openfda-recall-enforcement-tracker").call(run_input={"productTypes": ["drug", "device", "food"], "maxRecalls": 20})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

### ⚠️ Limits

- Data is returned as the source publishes it; fields the source leaves empty stay empty.
- Each run stops at `maxRecalls` results, so the cost stays predictable.

### 🛡️ Data source, privacy and legality

Uses the official openFDA API (public U.S. government data).

#### Compliance

- Official API only (`api.fda.gov`); robots.txt is absent (HTTP 404) → no crawl restrictions under RFC 9309.
- Polite ≤1 request/second; User-Agent includes a contact URL.

### ❓ FAQ

#### How much does OpenFDA Recall Enforcement Tracker cost?

$0.0009 per recall fetched. See the cost estimate table above. There is no monthly fee.

#### Can I try it for free?

Yes. Press Start with the prefilled input: it runs a small real job (up to 20 × recall fetched, about $0.018 in events). Apify's free plan includes monthly platform credit, which covers a first test.

#### Is it legal to use OpenFDA Recall Enforcement Tracker?

Uses the official openFDA API (public U.S. government data). Use the results lawfully (terms of the source, GDPR where it applies). This is not legal advice.

#### Can I use it through the API or an MCP server?

Yes. Every run is available through the Apify API and the official client libraries, and AI agents can call the actor through the Apify MCP server. See Integrations and API above.

#### Something does not work. Where do I get help?

Open an issue on the Issues tab or use [digivibetech.com/support](https://digivibetech.com/support/). Include the run ID so we can reproduce it.

### 📝 Changelog

#### 20 Nov 2026 — listing refresh

- README, listing text and input form restructured to the DigiVibeTech Apify quality standard v1. No feature or price change.

#### 1.0 — builds 1.0.1 to 1.0.2

- First build 2026-10-14, latest build 2026-10-22 (2 successful builds).

### 🧩 More DigiVibeTech actors

- [Hacker News Scraper & Search - Keyword Alerts, Front Page](https://apify.com/digivibetech/hacker-news-search-monitor)
- [RSS Feed Reader & Scraper - RSS/Atom to JSON, Only New Items](https://apify.com/digivibetech/rss-atom-feed-reader)
- [SEC EDGAR Filings & Financials API - 10-K, 10-Q, 8-K, XBRL](https://apify.com/digivibetech/sec-edgar-filings-financials)
- [Article Text Extractor - News & Blog Content, Date, Image](https://apify.com/digivibetech/article-extractor-news-blog)

*Maintained by DigiVibeTech. Questions or bugs: use the Issues tab or [digivibetech.com/support](https://digivibetech.com/support/); we reply within 2–5 business days.*

# Changelog

This Actor's version history is a separate document: https://apify.com/digivibetech/openfda-recall-enforcement-tracker/changelog.md

# Actor input Schema

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

Which openFDA enforcement endpoints to query.

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

Filter by openFDA status field.

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

FDA recall classification.

## `search` (type: `string`):

Optional openFDA search query (e.g. recalling_firm:Pfizer or reason_for_recall:sterility). Combined with the filters above using AND.

## `reportDateFrom` (type: `string`):

Optional YYYY-MM-DD lower bound on report_date.

## `reportDateTo` (type: `string`):

Optional YYYY-MM-DD upper bound on report_date.

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

Optional. Raises FDA rate limits. Leave empty for the public quota (this actor stays ≤1 req/s either way).

## `maxRecalls` (type: `integer`):

Across all selected product types. Charged only for saved recalls.

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

Skip recall numbers already returned in earlier runs with the same state key. Ideal for a daily schedule + webhook.

## `stateKey` (type: `string`):

Separate monitors by using different keys.

## Actor input object example

```json
{
  "productTypes": [
    "drug",
    "device",
    "food"
  ],
  "status": "",
  "classification": "",
  "search": "",
  "maxRecalls": 20,
  "onlyNew": false,
  "stateKey": "default"
}
```

# Actor output Schema

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

All result items (overview view)

## `errors` (type: `string`):

Inputs that could not be processed, with the reason

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

Counts of processed, billed and failed items

# 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": [
        "drug",
        "device",
        "food"
    ],
    "search": "",
    "maxRecalls": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("digivibetech/openfda-recall-enforcement-tracker").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": [
        "drug",
        "device",
        "food",
    ],
    "search": "",
    "maxRecalls": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("digivibetech/openfda-recall-enforcement-tracker").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": [
    "drug",
    "device",
    "food"
  ],
  "search": "",
  "maxRecalls": 20
}' |
apify call digivibetech/openfda-recall-enforcement-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,digivibetech/openfda-recall-enforcement-tracker"
        }
    }
}
```

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/Ardk7k2AaOkPpVcaG/builds/UtLaEcDW0p5d22gc0/openapi.json
