# US Recalls & Adverse Event Report Counts (`lepidata/us-recalls-adverse-events`) Actor

US drug, device and food recall reports, recall stats and adverse event report COUNTS (no report-level data) from US government public data. Unofficial; not medical advice.

- **URL**: https://apify.com/lepidata/us-recalls-adverse-events.md
- **Developed by:** [Lepi Data](https://apify.com/lepidata) (community)
- **Categories:** Business, Developer tools
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.10 / 1,000 recall record or count rows

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/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

## US Recalls & Adverse Event Report Counts

US drug, device and food recall reports, recall stats and adverse event report COUNTS (no report-level data) from US government public data. Unofficial; not medical advice.

**Modes** (`endpoint`)

- `recalls`: Search recalls; pages automatically up to Max results
- `recall-detail`: Recall by number (ids: recall numbers, e.g. D-0123-2026)
- `recall-stats`: Recall counts by a field
- `adverse-event-counts`: Adverse event report counts

**Filters** are passed as JSON in `filters`, using the same names as the output's `query` object (e.g. {"category":"drug","q":"metformin"}).

**Output.** One row per record (`type: "record"`), plus `source_notice` and `removal` on every row. Free status rows (never charged): `invalid-input`, `not-found`, `no-results`, `api-error`, `service-busy`, `run-limit-reached`, `free-plan-limit`, `charge-limit-reached`.

Example row:

```json
{
 "recall_number": "H-0543-2026",
 "category": "food",
 "classification": "Class I",
 "status_as_published": "Terminated",
 "event_id": "98427",
 "product_description": "Junebar Chocolate Cherry All Natural Snack Bar; INGREDIENTS: ORGANIC ALMOND BUTTER, DATE PASTE, ORGANIC BLACK BEANS, ORGANIC SWEET POTATOES, GLUTEN FREE ROLLED OATS, SEMI-SWEET SOY FREE VEGAN CHOCOLATE CHIPS (ORGANIC CANE SUGAR, UNSWEETENED CHOCOLATE, COCOA BUTTER), DRIED CHERRIES, ALMONDS; OAT FLOUR, COCOA POWDER, ORANGE ZEST, VANILLA EXTRACT (VANILLA BEAN EXTRACTIVES IN WATER, ALCOHOL), FLAX, CINNAMON, SEA SALT, BAKING POWDER; ALLERGEN WARNING: CONTAINS TREE NUTS (ALMOND, COCONUT), PRODUCED ON EQUPMENT ALSO HANDLING PEANUT, SESAME. PRODUCED IN A FACILITY THAT ALSO PROCESES GLUTEN PRODUCTS. KEEP REFRIGERATED; UPC: 8 60012 38462 4",
 "reason_for_recall": "Products contain undeclared milk and soy.",
 "product_quantity": "1800 bars total",
 "code_info": "Lot L1300, including L1300A and L1300B. Lot number is stamped on the back, near the bottom of each individual bar pouch.",
 "distribution_pattern": "New York",
 "recalling_firm": "Juniper Granola, LLC",
 "firm_city": "Rochester",
 "firm_state": "NY",
 "firm_postal_code": "14604",
 "firm_country": "United States",
 "voluntary_mandated": "Voluntary: Firm initiated",
 "initial_firm_notification": "Two or more of the following: Email, Fax, Letter, Press Release, Telephone, Visit",
 "recall_initiation_date": "2026-02-11",
 "classification_date": "2026-03-05",
 "report_date": "2026-03-11",
 "termination_date": "2026-05-14",
 "brand_names": [],
 "generic_names": [],
 "manufacturer_names": [],
 "product_ndc": [],
 "device_class": null
}
```

**Data source, notices and limits**

- **FDA does not update the status of a recall after the recall has been classified according to its level of hazard. Not for issuing public alerts or tracking a recall's progress; check the recall notice.**
- **Adverse event reports submitted to FDA do not undergo extensive validation or verification. Therefore, a causal relationship cannot be established between product and reactions listed in a report.**
- US government public data: drug, medical device and food recall enforcement reports and adverse event report counts, from the U.S. Food and Drug Administration (the source publishes it under CC0 1.0).
- Data provided by the U.S. Food and Drug Administration (https://open.fda.gov).
- Unofficial. Not affiliated with, endorsed by, or sponsored by the U.S. Food and Drug Administration or any government agency.
- status_as_published is the recall status as published in the source; it is not tracked or updated by this API.
- Live from the source (updated weekly), cached up to 6 hours for searches and 24 hours for counts and single records; retrieved_at shows when, source_last_updated shows the source date.
- Organisation-level data only. Counts only for adverse events: no individual reports, no patient or reporter data. Recalling-firm street address and ZIP+4 are omitted (5-digit ZIP kept).
- Removal requests: support@lepidata.com (handled within 30 days).
- Unofficial data provided as is. Not medical or legal advice. Do not rely on openFDA to make decisions regarding medical care. While we make every effort to ensure that data is accurate, you should assume all results are unvalidated.
- Records listed for removal on request are filtered out of every run.
- Source capacity is shared by all users of this tool. When it runs low or the source rate limits, runs stop cleanly with a free `service-busy` row. Hard cap: 500 source calls per run, paced (about one call every 0.5 s).
- Free-plan accounts get up to 100 results per run.

**Pricing.** Pay per result row, flat on every plan, no start fee. Status rows are free.

Contact: support@lepidata.com

# Actor input Schema

## `endpoint` (type: `string`):

Which data to fetch.

## `ids` (type: `array`):

For modes that need an ID: recall-detail: recall numbers, e.g. D-0123-2026. Up to 200 per run.

## `filters` (type: `object`):

Query filters for the chosen mode, as JSON (see the README for each mode's filters). Unknown filters return a free invalid-input row.

## `maxItems` (type: `integer`):

Stop after this many paid result rows.

## Actor input object example

```json
{
  "endpoint": "recalls",
  "filters": {
    "category": "drug",
    "q": "metformin"
  },
  "maxItems": 20
}
```

# Actor output Schema

## `items` (type: `string`):

All rows from this run.

# 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 = {
    "endpoint": "recalls",
    "filters": {
        "category": "drug",
        "q": "metformin"
    },
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("lepidata/us-recalls-adverse-events").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 = {
    "endpoint": "recalls",
    "filters": {
        "category": "drug",
        "q": "metformin",
    },
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("lepidata/us-recalls-adverse-events").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 '{
  "endpoint": "recalls",
  "filters": {
    "category": "drug",
    "q": "metformin"
  },
  "maxItems": 20
}' |
apify call lepidata/us-recalls-adverse-events --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,lepidata/us-recalls-adverse-events"
        }
    }
}
```

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/TNMWiYkh2AJacCOka/builds/yHvuDFtHzgaxNFs8Y/openapi.json
