# openFDA Medical Device 510(k), Drug & Food Recalls Scraper (`apex-b2b-data/openfda-recalls-adverse-events-510k`) Actor

Extract official FDA Medical Device 510(k) clearances and Drug, Device & Food Enforcement Recalls from the official openFDA REST API. Filter by dataset, state, recall classification (Class I, II, III), applicant/firm name, and date range. Includes risk severity scores, regulatory contacts, and direc

- **URL**: https://apify.com/apex-b2b-data/openfda-recalls-adverse-events-510k.md
- **Developed by:** [George Barnes](https://apify.com/apex-b2b-data) (community)
- **Categories:** Business, Automation, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 92.9% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.05 / 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.
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

## openFDA 510(k) Clearances, Drug & Medical Device Recalls Scraper (`$1.50 / 1K`)

**Extract official FDA Medical Device 510(k) clearances and Drug, Medical Device, and Food Enforcement Recalls from the official openFDA REST API (`https://api.fda.gov`).**

Unlike generic scrapers that break when FDA web pages change layout, this Actor connects directly to the official openFDA high-speed JSON endpoints with zero proxy costs and zero rate limit headaches:

1. **Medical Device 510(k) Clearances (`/device/510k.json`)** — 170,000+ premarket notifications, applicant company names, regulatory contacts, device names, clearance dates, advisory committees, and regulation numbers.
2. **Drug Enforcement Recalls (`/drug/enforcement.json`)** — Class I, II, and III recalls, active drug safety alerts, recalling firms, distribution patterns, product descriptions, and root cause reasons.
3. **Medical Device Enforcement Recalls (`/device/enforcement.json`)** — Device recalls, software defects, voluntary vs. mandated statuses, and affected lot/batch codes.
4. **Food & Cosmetic Enforcement Recalls (`/food/enforcement.json`)** — Food safety actions, undeclared allergens, bacterial contamination alerts, and nationwide distribution footprints.

***

### Why Choose This openFDA Actor? (Comparison)

| Capability | This Actor | Standard openFDA Scripts | Web / PDF Scrapers |
| :--- | :--- | :--- | :--- |
| **Price per 1,000 FDA Records** | **`$1.50 / 1K` (`$0.0015`/record)** | `$3.00 – $5.00 / 1K` | `$5.00 – $15.00 / 1K` + Proxies |
| **Multi-Registry Support** | ✅ 510(k), Drug, Device & Food Recalls | ⚠️ Usually 1 endpoint only | ❌ Fractured across multiple pages |
| **Unified Normalized Output Schema** | ✅ Identical 11 core overview fields | ❌ Raw polymorphic JSON | ⚠️ Fragile HTML table scraping |
| **Risk Severity Scoring (`0–100`)** | ✅ Built-in automated risk score | ❌ Raw classification only | ❌ None |
| **B2B Lead Scoring & Segments** | ✅ Commercial & regulatory lead scoring | ❌ None | ❌ None |
| **Direct FDA Portal Verification Links** | ✅ Generated CDRH & IRES URLs | ❌ None | ⚠️ Must construct manually |
| **Stateful Monitoring (`monitorMode`)** | ✅ Deduplicates previously seen records | ❌ No state management | ❌ No |
| **Proxy Costs & CAPTCHA Failures** | **`$0.00` (100% reliable public API)** | `$0.00` | High residential proxy failure rates |

***

### Transparent Pricing (`$1.50` per 1,000 Records)

You are charged **only for records actually returned** (`$0.0015` per record via Apify Pay-Per-Event), with no monthly recurring minimums:

| Workflow | Records Returned | Total Cost |
| :--- | :--- | :--- |
| **Quick Test Run** (verify data quality & schema) | `20` records | **`$0.03` (~3 cents)** |
| **Daily Regulatory Monitor Feed** (`monitorMode: true`) | `~200` records/day | **`$0.30 / day` (`~$9/month`)** |
| **Targeted Multi-State Medtech Export** | `1,000` records | **`$1.50`** |
| **Full Regional Compliance TAM Export** | `10,000` records | **`$15.00`** |

***

### High-Intent B2B Playbooks (Copy-Paste Inputs)

#### 1. MedTech & Life Sciences B2B Sales: "Brand-New Medical Device 510(k) Approvals"

Track new medical devices cleared by the FDA to prospect medical device manufacturers right when they are entering commercialization and scaling manufacturing, packaging, and clinical marketing:

```json
{
  "dataset": "device_510k",
  "searchQuery": "",
  "state": "CA",
  "startDate": "2026-01-01",
  "sortBy": "decision_date:desc",
  "limit": 100
}
```

#### 2. Legal, Class Action & Regulatory Remediation: "Critical Class I Recalls"

Extract life-threatening Class I drug and medical device recalls where patients face severe adverse health consequences or death. Essential for product liability law firms, quality assurance auditors, and regulatory consultants:

```json
{
  "dataset": "device_enforcement",
  "recallClassification": "Class I",
  "sortBy": "recall_initiation_date:desc",
  "limit": 50
}
```

#### 3. Pharma Quality Assurance & Supply Chain: "Active Drug Recalls in Major Biotech Hubs"

Monitor active drug recalls across New Jersey, Massachusetts, California, and North Carolina to identify contract manufacturing contamination, labeling errors, and stability failures:

```json
{
  "dataset": "drug_enforcement",
  "state": "NJ",
  "recallClassification": "ALL",
  "sortBy": "recall_initiation_date:desc",
  "limit": 100
}
```

#### 4. Food Safety & Retail Compliance: "Ongoing Food Recalls with Nationwide Distribution"

Identify food and beverage recalls involving undeclared allergens, Listeria, or foreign matter to safeguard grocery, hospitality, and distribution supply chains:

```json
{
  "dataset": "food_enforcement",
  "searchQuery": "Listeria",
  "recallClassification": "ALL",
  "limit": 50
}
```

***

### Sample Output Record

```json
{
  "record_id": "K262080",
  "dataset_type": "device_510k",
  "applicant_or_firm_name": "Cascination AG",
  "product_description": "OTOPLAN",
  "decision_or_recall_date": "2026-10-23",
  "classification_or_class": "Class 2",
  "event_city": "Bern",
  "event_state": "",
  "reason_for_action": "Substantially Equivalent",
  "risk_severity_score": 65,
  "extracted_at": "2026-11-04T00:21:39.821691+00:00",
  "lead_score": 95,
  "lead_segments": [
    "NEW_510K_CLEARANCE",
    "SPECIALTY_RADIOLOGY",
    "NAMED_REGULATORY_CONTACT"
  ],
  "primary_contact_person": "Philip Frost",
  "event_address": "Steigerhubelstrasse 3",
  "event_postal_code": "3008",
  "event_country": "CH",
  "fda_portal_url": "https://www.accessdata.fda.gov/scripts/cdrh/cfdocs/cfpmn/pmn.cfm?ID=K262080",
  "voluntary_mandated_status": null,
  "distribution_pattern": null,
  "product_quantity": null,
  "code_info": "QQE",
  "openfda_details": {
    "device_name": "Image Management Software For Planning Of Otologic And Neurotologic Procedures",
    "medical_specialty_description": "Radiology",
    "regulation_number": "892.2050",
    "device_class": "2"
  }
}
```

***

### Automation & API Integrations (Clay, n8n, Make, Python, MCP)

#### Call via Synchronous REST Endpoint (Clay.com / n8n / Make HTTP Module)

Send a single `POST` request to execute the Actor and receive the JSON array of FDA records directly in your webhook or automation pipeline:

```bash
curl -X POST "https://api.apify.com/v2/acts/YOUR_USERNAME~openfda-recalls-adverse-events-510k/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "dataset": "device_510k",
    "state": "CA",
    "limit": 50
  }'
```

#### Call via Python (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("YOUR_USERNAME/openfda-recalls-adverse-events-510k").call(
    run_input={
        "dataset": "drug_enforcement",
        "recallClassification": "Class I",
        "limit": 25,
    }
)
items = client.dataset(run["defaultDatasetId"]).list_items().items
print(f"Fetched {len(items)} FDA enforcement recall records")
```

#### AI Agents & Model Context Protocol (MCP) (`mcp.apify.com`)

Compatible with Apify's MCP server, Claude Desktop, and OpenAI custom GPT actions. AI agents can invoke this tool to:

- Verify whether a medical device or company has received 510(k) premarket clearance.
- Look up active or historical recalls against pharmaceutical and medical device manufacturers.
- Audit supplier compliance before signing vendor contracts in healthcare, pharma, or food service.

***

### Frequently Asked Questions (FAQ)

**1. Where does this data come from, and is it official?**\
All records are pulled directly from the official **openFDA REST API** (`api.fda.gov`), maintained by the United States Food and Drug Administration (FDA) and HHS. It is 100% public regulatory domain data.

**2. Do I need an openFDA API key to run this Actor?**\
No. By default, the Actor operates keylessly under openFDA's public limits (240 requests/minute). If you are running massive historical harvests, you can supply your free openFDA API key in the `apiKey` input parameter to increase your ceiling to 120,000 requests/day.

**3. What is the difference between Class I, Class II, and Class III recalls?**

- **Class I:** Dangerous or defective products that could cause serious adverse health consequences or death (e.g. microbial contamination, toxin, defective implantable device).
- **Class II:** Products that might cause a temporary or medically reversible health problem, or where the probability of serious adverse health consequences is remote.
- **Class III:** Products that violate FDA regulations (such as labeling defects or off-spec packaging) but are unlikely to cause adverse health consequences.

**4. How does `monitorMode` prevent duplicate leads on recurring schedules?**\
When `"monitorMode": true` is enabled, the Actor checks its persistent Key-Value Store (`openfda-seen-records`) and skips any `k_number` or `recall_number` that has already been delivered in previous runs.

# Actor input Schema

## `dataset` (type: `string`):

Select openFDA registry to query: Medical Device 510(k) clearances, Drug recalls, Device recalls, or Food recalls.

## `searchQuery` (type: `string`):

Search by applicant name, recalling firm, device name, or product description (e.g. 'orthopedic', 'Pfizer', 'catheter').

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

Filter by 2-letter US state code of applicant or recalling firm (e.g. CA, NY, TX, FL, MA).

## `recallClassification` (type: `string`):

Filter enforcement recalls by severity: Class I (most critical/life-threatening), Class II (moderate/reversible risk), Class III (minor regulatory violation).

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

Filter by decision date (510k) or recall initiation date on or after this date (YYYY-MM-DD).

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

Filter by decision date (510k) or recall initiation date on or before this date (YYYY-MM-DD).

## `sortBy` (type: `string`):

Field and sort direction for results (e.g. decision_date:desc or recall_initiation_date:desc).

## `limit` (type: `integer`):

Maximum number of FDA records to extract (default: 20).

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

Optional openFDA developer API key from open.fda.gov to raise rate limit to 120,000 requests/day.

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

Enable incremental monitoring to only output new FDA records not seen in previous runs.

## `monitorStoreName` (type: `string`):

Named Key-Value Store used to persist seen record IDs between runs.

## Actor input object example

```json
{
  "dataset": "device_510k",
  "searchQuery": "",
  "state": "",
  "recallClassification": "ALL",
  "startDate": "",
  "endDate": "",
  "sortBy": "decision_date:desc",
  "limit": 10,
  "apiKey": "",
  "monitorMode": false,
  "monitorStoreName": "openfda-seen-records"
}
```

# Actor output Schema

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

Structured JSON records produced by openFDA Medical Device 510(k), Drug & Food Recalls Scraper in the default dataset.

# 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 = {
    "dataset": "device_510k",
    "recallClassification": "ALL",
    "sortBy": "decision_date:desc",
    "limit": 10,
    "monitorStoreName": "openfda-seen-records"
};

// Run the Actor and wait for it to finish
const run = await client.actor("apex-b2b-data/openfda-recalls-adverse-events-510k").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 = {
    "dataset": "device_510k",
    "recallClassification": "ALL",
    "sortBy": "decision_date:desc",
    "limit": 10,
    "monitorStoreName": "openfda-seen-records",
}

# Run the Actor and wait for it to finish
run = client.actor("apex-b2b-data/openfda-recalls-adverse-events-510k").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 '{
  "dataset": "device_510k",
  "recallClassification": "ALL",
  "sortBy": "decision_date:desc",
  "limit": 10,
  "monitorStoreName": "openfda-seen-records"
}' |
apify call apex-b2b-data/openfda-recalls-adverse-events-510k --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,apex-b2b-data/openfda-recalls-adverse-events-510k"
        }
    }
}
```

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/p5LMAtfpvUsgLOgVM/builds/RaiBiQBlS4M7uSLv3/openapi.json
