OpenFDA Drug & Device Data Scraper avatar

OpenFDA Drug & Device Data Scraper

Pricing

Pay per usage

Go to Apify Store
OpenFDA Drug & Device Data Scraper

OpenFDA Drug & Device Data Scraper

Query the FDA Open Data API for drug adverse events, drug labels, drug recalls, and device recalls. No API key required. Search by drug name or manufacturer. Filter by date range. Output structured records with key safety signals.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Hojun Lee

Hojun Lee

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Share

Query the FDA Open Data API for drug safety data — no API key required.

What it does

Scrapes four FDA Open Data endpoints:

ModeEndpointData
adverse_events/drug/event.jsonFAERS/MedWatch adverse event reports
drug_labels/drug/label.jsonFDA drug labels (SPL) with indications & warnings
drug_recalls/drug/enforcement.jsonDrug enforcement / recall actions
device_recalls/device/enforcement.jsonMedical device enforcement / recall actions

Input

ParameterTypeDefaultDescription
modestringadverse_eventsDataset to query
searchQuerystringaspirinDrug name or manufacturer to search for
limitinteger100Max records to return (1–1000)
dateRangestring1yearTime window: 1month, 6months, 1year, all

Example input — adverse events for Pfizer

{
"mode": "adverse_events",
"searchQuery": "pfizer",
"limit": 200,
"dateRange": "1year"
}

Example input — aspirin recalls (all time)

{
"mode": "drug_recalls",
"searchQuery": "aspirin",
"limit": 50,
"dateRange": "all"
}

Output (adverse_events)

{
"mode": "adverse_events",
"report_id": "10000004",
"drug_name": "ASPIRIN",
"manufacturer": "Bayer",
"reaction": "headache, nausea",
"serious": true,
"outcome": "recovered",
"report_date": "2026-01-15",
"country": "US",
"num_drugs": 2,
"num_reactions": 3,
"fetched_at": "2026-09-01T10:00:00+00:00"
}

Output (drug_recalls / device_recalls)

{
"mode": "drug_recalls",
"report_id": "D-1234-2026",
"drug_name": "ASPIRIN 325MG TABLETS",
"manufacturer": "Acme Pharma Inc",
"recall_class": "Class II",
"recall_status": "Ongoing",
"reason": "Subpotent drug product",
"product_quantity": "500,000 bottles",
"report_date": "2025-06-01",
"country": "US",
"fetched_at": "2026-09-01T10:00:00+00:00"
}

Pricing

EventPrice
Actor start$0.005
Per record fetched$0.002

Fetching 100 records costs approximately $0.205.

FDA API Notes

  • No API key required — 1,000 requests/day free
  • Rate limit: ~40 requests/minute (handled automatically via semaphore + delay)
  • For high-volume usage, register for a free FDA API key at https://open.fda.gov/apis/authentication/

Data Source

All data is sourced from the FDA Open Data portal:

FDA data is public domain — no copyright restrictions.