OpenFDA Drug Adverse Events Search
Pricing
Pay per usage
OpenFDA Drug Adverse Events Search
Search public FDA FAERS drug adverse-event reports by drug name, raw query, and received-date range. Export normalized safety reports with patient, drug, reaction, and serious-event fields.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
Mori
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Share
Search the openFDA FAERS drug adverse-event endpoint and export normalized safety-report records from the US FDA public dataset.
This Actor wraps the public https://api.fda.gov/drug/event.json endpoint. No API key is required (openFDA's documented rate limits apply, with optional apiKey input to lift the per-IP cap).
What it returns
One normalized record per FAERS safety report, with patient, drug, reaction, and serious-flag fields flattened. Use includeRaw=true to also persist the full openFDA record for downstream debugging.
Inputs
| Field | Type | Default | Notes |
|---|---|---|---|
drugName | string | aspirin | Free-text drug name; translated to patient.drug.medicinalproduct:<value> |
search | string | "" | Raw openFDA search expression. Overrides drugName when set |
startDate | string (YYYYMMDD) | "" | Inclusive lower bound for receivedate |
endDate | string (YYYYMMDD) | "" | Inclusive upper bound for receivedate |
maxItems | integer | 100 | Cap on records exported (max 1000) |
pageSize | integer | 100 | Records per request (max 1000) |
sort | enum | receivedate:desc | openFDA sort field |
includeRaw | boolean | false | Include the full raw openFDA record under raw |
Examples
- All aspirin events (latest 5): leave defaults at
maxItems=5. - Metformin events for 2024 only:
drugName=metformin,startDate=20240101,endDate=20241231,maxItems=20
- Custom raw query:
search=patient.reaction.reactionmeddrapt:headache AND receivedate:[20240101 TO 20241231]
Compliance notes
openFDA is a US government public dataset; terms of use apply. See https://open.fda.gov/terms/. This Actor exposes public, anonymized safety reports only. It is for research/engineering use, not medical advice.
Local development
make install # one-time: install apify SDKmake run # local scrape test (reads .actor/input.json)make push # build Docker image + push to Apify
To override the openFDA per-IP rate cap, register a free key at https://open.fda.gov and pass it via input field apiKey.