OpenFDA Drug Safety Scraper avatar

OpenFDA Drug Safety Scraper

Pricing

from $10.00 / 1,000 results

Go to Apify Store
OpenFDA Drug Safety Scraper

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

lulz bot

Maintained by Community

Actor 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

ModeDescriptionAPI Endpoint
eventsAdverse drug event reports (FAERS)/drug/event.json
recallsDrug enforcement/recall actions/drug/enforcement.json
labelsDrug labeling/packaging info/drug/label.json

Output Fields

Events Mode

FieldDescription
safetyReportIdUnique FDA safety report ID
receiveDateDate FDA received the report
seriousWhether event was classified as serious
seriousDeathWhether event resulted in death
patientAgePatient age at onset
patientSexPatient sex
drugsArray of drugs involved (name, indication, route)
reactionsArray of adverse reactions (term, outcome)

Recalls Mode

FieldDescription
recallNumberFDA recall number
statusRecall status (Ongoing, Completed, Terminated)
reasonReason for recall
productProduct description
classificationRecall class (I=most serious, II, III)
recallingFirmCompany initiating recall
reportDateDate recall was reported

Labels Mode

FieldDescription
splIdStructured Product Labeling ID
brandNameDrug brand name
genericNameGeneric/chemical name
manufacturerManufacturer name
purposeDrug purpose
warningsWarning text
dosageDosage and administration info
activeIngredientActive 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.

Try Apify free →