OpenFDA Drug & Device Data Scraper
Pricing
Pay per usage
Go to Apify Store
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.
Query the FDA Open Data API for drug safety data — no API key required.
What it does
Scrapes four FDA Open Data endpoints:
| Mode | Endpoint | Data |
|---|---|---|
adverse_events | /drug/event.json | FAERS/MedWatch adverse event reports |
drug_labels | /drug/label.json | FDA drug labels (SPL) with indications & warnings |
drug_recalls | /drug/enforcement.json | Drug enforcement / recall actions |
device_recalls | /device/enforcement.json | Medical device enforcement / recall actions |
Input
| Parameter | Type | Default | Description |
|---|---|---|---|
mode | string | adverse_events | Dataset to query |
searchQuery | string | aspirin | Drug name or manufacturer to search for |
limit | integer | 100 | Max records to return (1–1000) |
dateRange | string | 1year | Time 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
| Event | Price |
|---|---|
| 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:
- https://open.fda.gov/
- Terms of Service: https://open.fda.gov/terms/
FDA data is public domain — no copyright restrictions.