OpenFDA Drug Adverse Events Search avatar

OpenFDA Drug Adverse Events Search

Pricing

Pay per usage

Go to Apify Store
OpenFDA Drug Adverse Events Search

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

Mori

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

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

FieldTypeDefaultNotes
drugNamestringaspirinFree-text drug name; translated to patient.drug.medicinalproduct:<value>
searchstring""Raw openFDA search expression. Overrides drugName when set
startDatestring (YYYYMMDD)""Inclusive lower bound for receivedate
endDatestring (YYYYMMDD)""Inclusive upper bound for receivedate
maxItemsinteger100Cap on records exported (max 1000)
pageSizeinteger100Records per request (max 1000)
sortenumreceivedate:descopenFDA sort field
includeRawbooleanfalseInclude 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 SDK
make 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.