OpenFDA Drug Safety Scraper
Pricing
from $10.00 / 1,000 results
Go to Apify Store
OpenFDA Drug Safety Scraper
Scrape FDA drug safety data including adverse events, recalls, and labels. Search by brand name, reactions, recall reasons. Extract patient demographics, drug info, and enforcement actions.
Pricing
from $10.00 / 1,000 results
Rating
0.0
(0)
Developer
lulz bot
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Share
Scrape FDA drug safety data from the OpenFDA API. Search adverse drug events, recalls/enforcement actions, and drug labels by brand name or custom query.
Modes
| Mode | Description | API Endpoint |
|---|---|---|
events | Adverse drug event reports (FAERS) | /drug/event.json |
recalls | Drug enforcement/recall actions | /drug/enforcement.json |
labels | Drug labeling/packaging info | /drug/label.json |
Output Fields
Events Mode
| Field | Description |
|---|---|
safetyReportId | Unique FDA safety report ID |
receiveDate | Date FDA received the report |
serious | Whether event was classified as serious |
seriousDeath | Whether event resulted in death |
patientAge | Patient age at onset |
patientSex | Patient sex |
drugs | Array of drugs involved (name, indication, route) |
reactions | Array of adverse reactions (term, outcome) |
Recalls Mode
| Field | Description |
|---|---|
recallNumber | FDA recall number |
status | Recall status (Ongoing, Completed, Terminated) |
reason | Reason for recall |
product | Product description |
classification | Recall class (I=most serious, II, III) |
recallingFirm | Company initiating recall |
reportDate | Date recall was reported |
Labels Mode
| Field | Description |
|---|---|
splId | Structured Product Labeling ID |
brandName | Drug brand name |
genericName | Generic/chemical name |
manufacturer | Manufacturer name |
purpose | Drug purpose |
warnings | Warning text |
dosage | Dosage and administration info |
activeIngredient | Active ingredient list |
Use Cases
- Pharmacovigilance: Monitor adverse events for specific drugs
- Compliance: Track FDA enforcement actions and recalls
- Research: Analyze drug safety data at scale
- Risk assessment: Identify drugs with serious adverse events or deaths
Example Input
{"mode": "events","brand": "aspirin","limit": 100}
Example Output (Events)
{"safetyReportId": "10218457","receiveDate": "20240115","serious": true,"seriousDeath": false,"patientAge": "65 years","patientSex": "Female","drugs": [{"name": "ASPIRIN", "indication": "Pain", "route": "Oral"}],"reactions": [{"term": "Gastrointestinal haemorrhage", "outcome": "Recovered"}],"sourceUrl": "https://api.fda.gov/drug/event.json?search=safetyreportid:10218457","scrapedAt": "2026-04-26T12:00:00.000Z"}
Notes
- OpenFDA API is free and requires no authentication
- Rate limits: 240 requests per minute (with API key), 40 without
- Maximum 100 results per page; scraper handles pagination automatically
- Text fields (warnings, dosage, etc.) are truncated to 500 chars
Run on Apify
This scraper runs on the Apify platform — a full-stack web scraping and automation cloud. Sign up for a free account to get started with 30-day trial of all features.