FDA Recalls & Enforcement Monitor: openFDA Reports (Apify Actor)

Track FDA food, drug and medical device recalls from official openFDA enforcement reports. Filter by class, status, firm, product, reason and state; get all four dates and see which recalls are new or updated since your last run. No API key. JSON or CSV. Price: $0.10 per 1,000 recall records, plus $0.002 per run start. Runs as an Apify Actor, callable from MCP clients via the Apify MCP server (https://mcp.apify.com/?tools=cliqtomedia/fda-recalls-enforcement-monitor).

Hosted MCP Server

npx add-mcp 'https://mcp.apify.com/?tools=cliqtomedia/fda-recalls-enforcement-monitor'

Installs into Claude Code, Codex, Cursor and more

Documentation

FDA Recalls & Enforcement Monitor: openFDA Reports (cliqtomedia/fda-recalls-enforcement-monitor) Actor

Track FDA food, drug and medical device recalls from the official openFDA enforcement reports. Filter by class, status, firm, product, reason and state; get all four dates and see which recalls are new or updated since your last run.

Pricing

from $0.07 / 1,000 recall records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events. Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/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 section below.

Each client library has reference documentation the quickstart does not restate: JavaScript/TypeScript (npm install apify-client) and Python (pip install apify-client).

README

FDA Recalls & Enforcement Monitor searches FDA recalls of food, drugs and medical devices in the official FDA Enforcement Reports, through the openFDA API. Filter by recall class, status, dates, firm, product, reason and firm state. You get one clean row per recalled product, with the four FDA dates kept apart, the recall number, the firm, the reason and a link to the record in openFDA.

It is made for food and pharma quality teams, compliance and supplier monitoring, retailers, journalists and researchers. Save a monitor key and the next run shows only new and updated recalls. No login and no API key are needed. The form example (20 Class I food recalls from the last 30 days) finishes in seconds and costs $0.004 on the Free plan.

FDA Recalls & Enforcement Monitor: category, class and date filters in, one row per recalled product out with four separate FDA dates, plus new and updated recalls since the last run

Run it now: open the prefilled input form and search FDA recalls in seconds, no coding

Table of contents

What it does

The Actor reads the public openFDA enforcement endpoints live: food (also cosmetics and dietary supplements), drug and device. These are the records of the FDA weekly Enforcement Report: every recall that FDA has classified or is about to classify.

  • One request per category. Each category you pick is one search, newest records first. maxResults applies to each category.
  • Four dates, never mixed. recallInitiationDate (the firm started the recall), centerClassificationDate (FDA set the class), reportDate (FDA published it in the Enforcement Report) and terminationDate (FDA closed it). You choose which date your range uses.
  • Not yet classified recalls. The newest recalls appear before FDA gives them a class and a recall number. You can include or skip them. They get a stable recallKey anyway.
  • Monitoring. With a monitorName, the Actor saves the recalls it saw in your account. The next run marks each recall new, updated (for example the status changed to Terminated) or unchanged, and by default writes only new and updated ones.

This is FDA data as published. It is not medical advice. Do not use it to decide whether to use, take or stop a product. Follow the instructions of FDA, the firm and your doctor or pharmacist.

πŸ‘‰ Try it now: open the input form

Good fit

  • Get a weekly list of new Class I food recalls for your quality or safety team.
  • Check if a supplier, brand or competitor had FDA recalls, by firm name.
  • Find recalls by reason: Listeria, undeclared peanut, sterility, mislabeling.
  • Watch medical device or drug recalls of one firm state, such as CA or NJ.
  • Feed FDA recall rows into a spreadsheet, a dashboard or an AI agent.

Not a fit

  • Official consumer alerts or a guarantee that you see every recall in time. FDA publishes Enforcement Reports weekly, and a recall can appear later than the firm's press release.
  • Full recall lifecycle tracking. The Actor sees only what the Enforcement Report says on the day of the run.
  • Cosmetics or tobacco as separate categories, animal food recall press releases, and device recall details from the separate device recall database.
  • A full copy of all FDA recalls since 2004. Use the openFDA downloads for that.

Data source and licence

Data provided by the U.S. FDA (open.fda.gov). openFDA data is in the public domain under CC0 1.0; GMDN device terms are excluded and never output. This Actor is independent and not affiliated with or endorsed by the U.S. Food and Drug Administration. Do not rely on it for medical decisions.

πŸ‘‰ Try it now: open the input form

How it works

  1. The Actor reads the official openFDA enforcement endpoints live, one search per category you pick (food, drug, device), newest records first.
  2. It applies your filters (class, status, dates, firm, product, reason, firm state). With a monitor key or an earlier Dataset, it compares the recalls with the ones saved before and marks each new, updated or unchanged.
  3. It saves one Dataset row per recalled product, a RUN_SUMMARY record with the run status and counts, and one short status line on the run page.

πŸ‘‰ Try it now: open the input form

Quick start

Input form: box 1 Product categories (food), box 2 Recall class (Class I), box 3 Look back (30 days), boxes 4 and 5 more filters and change monitoring

  1. Open the Input tab. The form already has an example: food (box 1), Class I (box 2), last 30 days (box 3), 20 recalls.
  2. Click Start.
  3. Open the Recalls view in the Output tab. Check recallNumber, recallingFirm, productDescription, reasonForRecall and reportDate.
  4. Change the categories, classes or filters to your own (boxes 4 and 5 open more filters and change monitoring). To get only changes next time, add a monitorName such as food-class-1.

Dataset table of the prefilled run: recall number, firm, product, reason and report date for each recall

Expected result: up to 20 recall rows in seconds, newest first.

πŸ‘‰ Try it now: open the input form

Use cases

Buyer jobInputOutputKey fields
Weekly food safety watchcategories: ["food"], classifications: ["I"], monitorName, on a scheduleonly new and updated Class I recallschangeType, reasonForRecall, distributionPattern
Supplier checkfirmNames, all categories, a 90-day rangethat firm's recallsrecallingFirm, productDescription, status
Allergen or pathogen researchreasonQuery: "Listeria" or "undeclared peanut"matching recallsreasonForRecall, codeInfo, productQuantity
Medical device recall searchcategories: ["device"], productQuery, firmStatesdevice recall rowsrecallNumber, classification, centerClassificationDate
Drug recall list with NDCscategories: ["drug"]drug rowsdrugBrandNames, drugGenericNames, drugProductNdcs
Closed recallsdateField: "termination_date"recalls FDA terminated in the rangeterminationDate, status

πŸ‘‰ Try it now: open the input form

Input

All filters are optional and combine with AND. Values inside one list combine with OR.

FieldTypeDefaultAllowed valuesWhat it does
categoriesarray["food"]food, drug, deviceWhich openFDA endpoints to search. food also has cosmetics and dietary supplements.
classificationsarrayallI, II, III, unclassifiedFDA recall class. Class I is the most serious. unclassified = not yet classified. Empty = all.
statusesarrayallOngoing, Completed, TerminatedRecall status. Empty = all.
lookbackDaysinteger301–90Days back from dateTo. Ignored when dateFrom is set.
dateFieldstringreport_datereport_date, recall_initiation_date, center_classification_date, termination_dateWhich FDA date the range uses.
dateFrom, dateTodatedateTo = today (UTC)YYYY-MM-DD, from 2004Exact range, at most 90 days. Split longer periods into several runs.
firmNamesarray of stringsnoneup to 10; 2–120 charactersPhrase in the recalling firm name. Whole Foods matches Whole Foods Market Group Inc.
productQuerystringnone2–120 charactersPhrase in the product description, like ice cream or insulin pump.
reasonQuerystringnone2–120 charactersPhrase in the reason for recall, like Listeria or undeclared milk.
firmStatesarray of stringsnoneup to 20 two-letter codesState of the recalling firm, like CA. It is not where the product was sold; see distributionPattern.
maxResultsinteger1001–1000Maximum recalls per category, newest first.
monitorNamestringnone1–40 letters, digits or dashesSaves this run's recalls and compares the next run with them. One key per saved search.
previousDatasetIdstringnonedataset IDCompares with the dataset of an earlier run of this Actor. Use this or monitorName, not both.
onlyChangesbooleantrueWith a comparison, skip unchanged recalls. You do not pay for skipped recalls.
openFdaApiKeystring (secret)noneyour free openFDA keyOptional. Gives you your own openFDA quota. Never written to output or logs.

Text filters search FDA's English text. Letters with accents are changed to plain Latin letters, and symbols such as ;, # or | are removed, because openFDA rejects them. A filter with no Latin letters or digits ends the run with invalid_input and no results.

Input examples

Drug and device recalls of one firm, last 90 days:

{
  "categories": ["drug", "device"],
  "firmNames": ["Baxter"],
  "lookbackDays": 90,
  "maxResults": 200
}

Weekly watch of Listeria recalls in food, only changes:

{
  "categories": ["food"],
  "reasonQuery": "Listeria",
  "lookbackDays": 30,
  "maxResults": 300,
  "monitorName": "food-listeria"
}

πŸ‘‰ Try it now: open the input form

Output

Each Dataset row is one recalled product (one FDA recall number). One recall event (eventId) can have several products. Use the Recalls view for the main fields and the Changes view for monitoring. The key-value store has a RUN_SUMMARY record with the run status and counts.

Output example

A real row from the form example (trimmed):

{
  "recallKey": "food:H-1395-2026",
  "recallNumber": "H-1395-2026",
  "eventId": "99874",
  "category": "food",
  "classification": "Class I",
  "recallClass": "I",
  "status": "Ongoing",
  "recallingFirm": "WFM Purchasing, LP",
  "productDescription": "Fromagerie Coop de Mean Cabricharme and Belgium Cabricharme ...",
  "productQuantity": "21 Wheels",
  "reasonForRecall": "Undeclared Egg Allergen",
  "distributionPattern": "CA, AZ, NJ, MA, RI, CT, NY",
  "recallInitiationDate": "2026-09-08",
  "centerClassificationDate": "2026-09-22",
  "reportDate": "2026-09-30",
  "terminationDate": null,
  "city": "Austin",
  "state": "TX",
  "changeType": null,
  "sourceUrl": "https://api.fda.gov/food/enforcement.json?search=recall_number%3A%22H-1395-2026%22",
  "provider": "openFDA (U.S. Food and Drug Administration)",
  "sourceUpdatedAt": "2026-09-30",
  "fetchedAt": "2026-10-12T10:54:50.382Z"
}

Fields

FieldMeaningExample
recallKeyStable key: category:recallNumber. For not yet classified recalls: category:unclassified:eventId:hash. Use it to join and compare."food:H-1395-2026"
recallNumberFDA recall number. null while FDA has not classified the recall."D-0860-2026"
eventIdFDA recall event. One event can cover several products."99874"
category, productTypeSearched category, and the product type as FDA writes it"food", "Food"
classification, recallClassFDA class text and short form (I, II, III, or null if not classified yet)"Class I", "I"
statusOngoing, Completed or Terminated"Ongoing"
recallingFirm and address1, address2, city, state, postalCode, countryFirm that recalls the product, and its address"WFM Purchasing, LP"
productDescription, productQuantityWhat is recalled and how much"21 Wheels"
codeInfo, moreCodeInfoLot numbers, dates, UPCs, as the firm gave them"Lot 12345"
reasonForRecallWhy FDA lists the recall"Undeclared Egg Allergen"
distributionPatternWhere the product was distributed, free text"Nationwide"
voluntaryMandated, initialFirmNotificationWho started the recall and how the firm told customers"Voluntary: Firm initiated"
recallInitiationDate, centerClassificationDate, reportDate, terminationDateThe four FDA dates, YYYY-MM-DD, no time zone shift"2026-09-30"
drugBrandNames, drugGenericNames, drugProductNdcsDrug rows only, from openFDA's drug data. null for food and devices.drugGenericNames: ["SODIUM CHLORIDE"]
changeTypeinitial (first monitor run), new, updated, unchanged, or null without a comparison"updated"
changedFields, previousValuesFor updated: which fields changed and their old values["status", "terminationDate"]
sourceUrlThis record in the openFDA API"https://api.fda.gov/..."
provider, sourceUpdatedAt, fetchedAtData provider, openFDA's last update date, and our read time"2026-09-30"

null means FDA has no value. It never means zero, and an empty list is never shown as a value.

A recall is updated when one of these fields changes: status, classification, the four dates, recallingFirm, productDescription, productQuantity, codeInfo, reasonForRecall, distributionPattern, voluntaryMandated.

Run status line

Every run ends with one short status line on the run page. Input problems end the run without failure (status SUCCEEDED) with no rows; a real openFDA failure or a crash ends it as failed.

SituationStatus line
Rows savedβœ… N recall rows saved Β· ⭐ Rate it: <reviews link>
Rows saved in a monitoring runβœ… N recall rows saved (X new, Y updated) Β· ⭐ Rate it: <reviews link>
More recalls match than Max recalls per categorythe βœ… line ends with Β· More recalls match: raise Max recalls per category or narrow the filters
No recall matches the filtersℹ️ 0 recalls: no FDA enforcement reports match these filters Β· Problem? <Issues link>
Comparison run with nothing newℹ️ 0 recalls: nothing new or updated since the baseline Β· Problem? <Issues link>
Some categories not finished (rate limit, openFDA slow or down, time budget)⚠️ N recall rows saved, some categories were not finished · ⭐ Rate it · Problem? <Issues link> · Reason: <plain reason> (the rating link only when rows were saved)
Your maximum cost per run reached⚠️ N recall rows saved, stopped at your maximum cost per run · ⭐ Rate it · Problem? <Issues link> (the rating link only when rows were saved)
You aborted the run⚠️ Run aborted · N saved (with · ⭐ Rate it when N is above 0)
openFDA failed, the time budget or request limit ran out, or another error, and nothing was saved❌ No recalls saved: <plain reason> · Report it: <Issues link> · Run link: <this run>
The Actor crashed❌ Run failed · Report it: <Issues link> · Run link: <this run>
Wrong inputInput error: <what is wrong>. Example for <field>: <example>. Problem? <Issues link>

Run summary

RUN_SUMMARY.status is one of:

StatusMeaningRun result
COMPLETERows were written. truncated: true means openFDA has more recalls than maxResults.succeeded
NO_RESULTSopenFDA answered, and no recall matches your filters. This is not an error.succeeded
NO_CHANGESComparison run: no new or updated recalls.succeeded
PARTIALSome categories failed or time ran out. The rows you got are correct.succeeded
CAPPEDYour maximum cost per run was reached.succeeded
ERRORopenFDA was not available, refused the request (rate limit) or changed its format. This is not an empty result.failed
invalid_inputThe input is wrong, or previousDatasetId was not found. message explains why and inputErrors lists the field, the problem and an example value. No rows, no result charges.succeeded
missing_credentialsopenFDA rejected your own openFdaApiKey. Fix the key or leave it empty. Same message and inputErrors.succeeded

RUN_SUMMARY also has counts (fetched, written, charged, initial, new, updated, unchanged), one categories entry per category with its own status and matchedAtSource, the filters used, the comparison baseline, warnings, and the data source with licence and attribution.

πŸ‘‰ Try it now: open the input form

Pricing

Pay per event. Platform usage is included.

EventPriceWhen
Actor start$0.002Once per run (per GB of memory; the default 256 MB counts once)
Recall record$0.0001 on the Free plan, less on higher plans (table below)Each recall row written to the Dataset
Apify planRecall record price
Free$0.0001
Bronze$0.00009
Silver$0.00008
Gold, Platinum, Diamond$0.00007

Example costs below use the Free plan price.

Unchanged recalls hidden by onlyChanges are free. A run with no results, no changes, an input error or an openFDA error costs only the start.

RunExample cost
10 recalls$0.003
20 recalls (form example)$0.004
100 recalls$0.012
1,000 recalls$0.102
up to 3,000 recalls (3 categories Γ— 1,000)up to $0.302
Weekly monitor run with 5 changes$0.0025
No results or no changes$0.002

Set a maximum cost per run in the run options to cap your spend. The Actor stops before a row that does not fit and reports CAPPED.

πŸ‘‰ Try it now: open the input form

Limits

  • Up to 1,000 recalls per category and 3 categories, so up to 3,000 rows per run.
  • The date range is at most 90 days. Enforcement Reports start in 2004.
  • Without a key, openFDA limits requests per IP address per day, and the IP can be shared with other users. Each category is one request. If openFDA refuses with a rate limit and nothing could be fetched, the run ends with a failed status line (❌ No recalls saved: openFDA rate limit reached …); with some rows already saved you get a ⚠️ line and the run succeeds. Add your free openFdaApiKey to get your own quota.
  • If openFDA does not answer (up to 30 seconds per try, at most 3 tries and 2 timeouts), the run stops early and does not ask for the other categories. You get the rows found so far. The internal time budget is 240 seconds.
  • Monitor snapshots keep up to 20,000 recalls per monitorName. previousDatasetId reads up to 20,000 rows.
  • Not yet classified recalls have no recall number. When FDA classifies them, they come back with a recall number as a new row with a new recallKey.
  • firmStates is the firm's address, not where the product was sold.
  • openFDA updates the enforcement data about once a week. sourceUpdatedAt shows the last update.

πŸ‘‰ Try it now: open the input form

API, export and integrations

Start a run with the same JSON input through the Apify API (POST /v2/acts/cliqtomedia~fda-recalls-enforcement-monitor/runs), then read the Dataset. Export to CSV, Excel or JSON, or send rows to Google Sheets, Slack or a webhook with Apify integrations. Join rows on recallKey.

Monitoring on a schedule

  1. Save your input as a task and add a monitorName, for example food-class-1.
  2. Add an Apify schedule to the task, for example every Monday (FDA publishes the Enforcement Report weekly, usually on Wednesday).
  3. The first run marks all rows initial. Each later run writes only new and updated recalls.
  4. Send the rows to email, Slack, Google Sheets or a webhook with Apify integrations.

The range moves with the run date. A recall that later changes but is now outside your range is not seen. To catch recalls that FDA closed, run a second task with dateField: "termination_date". This is a convenience tool, not an official FDA alert service, and it does not promise that you get every recall or get it in time.

Use with AI agents (MCP)

AI agents can call this Actor through the Apify MCP server: add https://mcp.apify.com?tools=cliqtomedia/fda-recalls-enforcement-monitor to your MCP client (Claude, Cursor, VS Code and others). The MCP server needs your Apify account (OAuth sign-in or an Apify API token); openFDA itself needs no key. The agent builds the input from the input schema. The smallest useful input:

{ "categories": ["drug"], "classifications": ["I"], "maxResults": 10 }

Key output fields for an agent: recallNumber, classification, status, recallingFirm, productDescription, reasonForRecall, reportDate, sourceUrl, and RUN_SUMMARY.status. A call with 10–1,000 recalls costs $0.003–$0.102 on the Free plan.

πŸ‘‰ Try it now: open the input form

Troubleshooting

SymptomCheckAction
NO_RESULTSRUN_SUMMARY.filtersWiden the dates, remove a class or a filter, or try another dateField.
Failed run, ❌ line mentions the rate limitStatus line, RUN_SUMMARY.messageAdd your free openFdaApiKey, or run again later.
Failed run, ❌ line says openFDA was not availableStatus line, RUN_SUMMARY.messageRun again later. A failed run does not remove recalls from your monitor snapshot; it only adds the rows it reported.
invalid_inputRUN_SUMMARY.message, RUN_SUMMARY.inputErrorsFix the field named in the message. The range is at most 90 days.
missing_credentialsRUN_SUMMARY.messageCorrect openFdaApiKey or leave it empty.
Run finished with no results and an input error messageStatus messageFix the named field and run again.
truncated: truecategories[].matchedAtSourceRaise maxResults (up to 1,000) or narrow the filters or dates.
A recent recall is missingsourceUpdatedAt, reportDateFDA adds recalls to the weekly report after classification. Try dateField: "recall_initiation_date" and include unclassified.
Warning about different filtersRUN_SUMMARY.warningsYou changed filters but kept the same monitorName. Use one key per saved search.

πŸ‘‰ Try it now: open the input form

FAQ

Is this medical advice?

No. It is FDA data as published. For decisions about a product you use, follow FDA, the firm, and your doctor or pharmacist.

Where does the data come from?

From openFDA, the official open data API of the U.S. Food and Drug Administration. The records are the FDA Enforcement Reports.

Do I need an API key?

No. A free openFDA key is optional and only gives you your own request quota.

What are Class I, II and III?

Class I: a reasonable chance of serious health problems or death. Class II: temporary or reversible health problems. Class III: unlikely to cause health problems. "Not yet classified" means FDA has not set the class yet.

How fresh is the data?

Each run reads openFDA live. openFDA updates the enforcement data about once a week, after FDA publishes the Enforcement Report. Firm press releases can come earlier.

Does monitoring cost more?

No. Unchanged recalls are not written and not charged when onlyChanges is on.

Why are there no device codes like GMDN?

GMDN terms have their own licence, so the Actor does not output openFDA device classification data. If a firm wrote a code into its own codeInfo text, it stays as FDA published it.

πŸ‘‰ Try it now: open the input form

Related Actors

πŸ‘‰ Try it now: open the input form

Support

Use the Issues tab of this Actor. Add the run ID, your input (without private data or your openFDA key) and RUN_SUMMARY.status and message. Do not send API tokens.

⭐ Found it useful? Rate this Actor. Something wrong? Report a problem β€” we fix reported problems.

Run it now: open the prefilled input form and search FDA recalls in seconds, no coding

Changelog

This Actor's version history is a separate document: https://apify.com/cliqtomedia/fda-recalls-enforcement-monitor/changelog.md

Actor input Schema

categories (type: array):

Which openFDA enforcement reports to search: food (also cosmetics and dietary supplements), drug, device. Each category is one request. Default: food.

classifications (type: array):

FDA recall class. Class I: reasonable probability of serious health consequences or death. Class II: temporary or medically reversible consequences. Class III: unlikely to cause adverse health consequences. Not yet classified: newest recalls FDA has listed before assigning a class and a recall number. Empty = all.

statuses (type: array):

Ongoing, Completed or Terminated. Empty = all statuses.

lookbackDays (type: integer):

Date range ending today (or dateTo), 1–90 days. Ignored when dateFrom is set. Default 30.

dateField (type: string):

report_date: when FDA published the recall in its weekly Enforcement Report (default, best for monitoring). recall_initiation_date: when the firm started the recall. center_classification_date: when FDA classified it. termination_date: when FDA terminated it (use to catch closed recalls).

dateFrom (type: string):

Optional start date (YYYY-MM-DD). The whole range may span at most 90 days; split longer periods into several runs.

dateTo (type: string):

Optional end date (YYYY-MM-DD). Default: today (UTC).

firmNames (type: array):

Up to 10 firm names, matched as a phrase in the recalling firm name, e.g. Whole Foods matches Whole Foods Market Group Inc.

productQuery (type: string):

Optional phrase searched in the product description, e.g. ice cream or insulin pump. 2–120 characters.

reasonQuery (type: string):

Optional phrase searched in the reason for recall, e.g. Listeria, undeclared peanut, sterility. 2–120 characters.

firmStates (type: array):

Up to 20 two-letter US state codes of the recalling firm, e.g. CA, TX. This is where the firm is, not where the product was distributed.

maxResults (type: integer):

Newest first, 1–1000 per category. Each recall row is one charged result. Default 100.

monitorName (type: string):

Optional name, 1–40 letters, digits or dashes, e.g. food-class-1. The Actor stores the recalls it saw under this key in your account, and the next run with the same key marks each recall new, updated (for example a status change) or unchanged. The first run marks rows initial. Use one key per saved search.

previousDatasetId (type: string):

Alternative to monitorName: ID of an earlier run's default Dataset from this Actor. Rows are compared with it.

onlyChanges (type: boolean):

With a monitorName or previousDatasetId, skip unchanged recalls (they are not written and not charged). Default true.

openFdaApiKey (type: string):

Optional free key from open.fda.gov/apis/authentication. Without it openFDA allows a limited number of requests per IP address per day, shared with other users of the same IP. The key is never written to the output or logs.

monitorKey (type: string):

Old name of monitorName. Kept so saved tasks and API calls keep working; use monitorName.

Actor input object example

{
  "categories": [
    "food"
  ],
  "classifications": [
    "I"
  ],
  "statuses": [
    "Ongoing",
    "Completed",
    "Terminated"
  ],
  "lookbackDays": 30,
  "dateField": "report_date",
  "maxResults": 20,
  "onlyChanges": true
}

Actor output Schema

recalls (type: string):

One row per recall: firm, product, reason, class, status, distribution, four dates, location and openFDA link.

changes (type: string):

Change monitoring view: change type, changed fields and previous values.

runSummary (type: string):

Status, counts, matches at source per category, filters used, baseline and source attribution.

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

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"
    ],
    "classifications": [
        "I"
    ],
    "lookbackDays": 30,
    "maxResults": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("cliqtomedia/fda-recalls-enforcement-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

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"],
    "classifications": ["I"],
    "lookbackDays": 30,
    "maxResults": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("cliqtomedia/fda-recalls-enforcement-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

echo '{
  "categories": [
    "food"
  ],
  "classifications": [
    "I"
  ],
  "lookbackDays": 30,
  "maxResults": 20
}' |
apify call cliqtomedia/fda-recalls-enforcement-monitor --silent --output-dataset

MCP server setup

{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,cliqtomedia/fda-recalls-enforcement-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/qCQeEYdUeein7PqQG/builds/9OI0Dr1sBfXxabgHQ/openapi.json