OpenFDA and FAERS APIs: How to Access Side Effect Reports and Signals

by Linda House March 13, 2026 Health 0
OpenFDA and FAERS APIs: How to Access Side Effect Reports and Signals

Drug Side Effect Query Simulator

How to Use This Tool

This simulator shows you how to structure queries for the OpenFDA API using real drug side effect data. It doesn't make actual API calls, but it demonstrates how searches work using sample responses.

Note: Real OpenFDA data has a 60-90 day delay and is based on voluntary reports. This is for educational purposes only and not medical advice.
Sample Query Structure:
?search=drug.generic_name:"{drug}"+AND+patient.reaction.reactionmeddrapt:"{reaction}"

Every year, over 14 million reports of drug side effects flood into the FDA’s system. These aren’t guesses or rumors-they’re real stories from patients, doctors, and pharmacists who noticed something unusual after taking a medication. But until recently, getting your hands on this data was like trying to read a book with pages glued shut. That’s where OpenFDA and the FAERS API come in. They’ve turned a wall of paperwork into something you can search, filter, and analyze in seconds.

What Is OpenFDA and How Does It Connect to FAERS?

OpenFDA is not a database you download. It’s an API-a digital doorway-that lets developers and researchers pull structured data directly from the FDA’s own systems. At its core, it’s built on data from the FDA Adverse Event Reporting System (FAERS), which collects voluntary reports of side effects from drugs, biologics, and medical devices. Before OpenFDA, you had to request XML files, wrestle with messy formatting, and wait weeks for updates. Now, you can ask for reports on, say, metformin and its link to vitamin B12 deficiency, and get results in under a second.

The system works by indexing public FDA data using Elasticsearch, a powerful search engine. Every adverse event report gets cleaned, standardized, and tagged with codes like MedDRA (a global medical terminology system). The API then lets you search using simple queries like openfda.generic_name:"metformin" or patient.reaction.reactionmeddrapt:"hypoglycemia". It’s not magic-it’s just organized data.

How to Actually Use the OpenFDA API

You don’t need to be a coder to use it, but you do need to know a few basics. Start by visiting open.fda.gov/apis/authentication/ and register for a free API key. Without it, you’re limited to 1,000 requests per day. With it, you get 120,000 per day and 240 per minute-enough for serious research.

Here’s what a real query looks like:

  1. Go to https://api.fda.gov/drug/event.json
  2. Add a search parameter: ?search=drug.generic_name:"ibuprofen"+AND+patient.reaction.reactionmeddrapt:"liver+injury"
  3. Hit Enter. You’ll get back a JSON file with details like age, sex, outcome (hospitalized, recovered, died), and which other drugs the patient was taking.

You can limit results to 1,000 per call (the max) and use the skip parameter to paginate through thousands of reports. No need to download giant files. Just ask for what you need.

What Data Can You Actually Get?

Each report contains a handful of standardized fields:

  • Drug information: Generic name, brand name, dosage, route of administration
  • Reaction: Side effect described using MedDRA terms (e.g., "anaphylactic shock," not "felt weird")
  • Outcome: Did the patient recover? Die? Require hospitalization?
  • Demographics: Age, sex, and approximate location (no names or exact addresses)
  • Reporter type: Was this reported by a doctor, pharmacist, or the patient themselves?

For example, if you search for "lisinopril" and filter for "angioedema", you’ll find hundreds of reports showing this blood pressure drug can trigger dangerous swelling of the face and throat-especially in Black patients. That’s not a rumor. That’s data from real people.

Limitations You Can’t Ignore

OpenFDA is powerful, but it’s not perfect. First, it’s not real-time. Reports take up to three months to appear in the system. A side effect reported in January might not show up until April. Second, it’s voluntary. Many side effects go unreported. If someone had a mild rash and didn’t tell their doctor, it won’t be in the system.

Third, the API doesn’t tell you causation. Just because 200 people reported dizziness after taking a new statin doesn’t mean the drug caused it. Maybe they were dehydrated. Maybe they had a different condition. The API gives you signals-not diagnoses.

And yes, the FDA warns you: "Do not rely on openFDA to make decisions regarding medical care. Always speak to your health provider." This isn’t a substitute for clinical advice. It’s a tool for spotting patterns.

A giant spirit of medical reports with an API key necklace, surrounded by researchers querying data from floating books.

Who’s Using This Data-and Why?

Academics use it. In 2022 alone, over 350 peer-reviewed studies cited OpenFDA data. One study found a 37% higher rate of kidney injury in patients taking a certain diabetes drug when combined with NSAIDs. Another linked a popular antidepressant to increased risk of falls in seniors over 70.

Developers built tools like MedWatcher, which lets patients enter their meds and get alerts about known side effects. Insurance companies use it to monitor drug safety trends. Pharmacies use it to flag risky combinations before dispensing.

Even journalists have used it to uncover hidden patterns. In 2021, a team found that a popular OTC sleep aid was linked to over 1,200 reports of confusion and hallucinations in elderly users-something the manufacturer had never publicly acknowledged.

What’s Missing? Comparing OpenFDA to Paid Tools

Commercial platforms like ARTEMIS or Oracle Argus do more. They combine OpenFDA data with hospital records, lab results, and global reporting systems. They use AI to detect rare signals and flag potential safety issues before they become widespread. But they cost $150,000 a year.

OpenFDA gives you the raw data-for free. You’ll need to do the analysis yourself. That’s the trade-off. No fancy dashboards. No automated alerts. Just the facts, cleaned up and ready to query.

Getting Started: A Quick Checklist

If you’re ready to explore:

  1. Go to open.fda.gov/apis/authentication/ and sign up for an API key.
  2. Use the drug events endpoint for side effect reports.
  3. Start with simple searches: ?search=drug.generic_name:"aspirin"
  4. Use the limit=1000 and skip=0 parameters to navigate large results.
  5. Always check the patient.reaction.reactionmeddrapt field for standardized side effect terms.
  6. Remember: this data is delayed and incomplete. Use it to spot trends-not to make medical decisions.
A network of animal-like drug symbols traveling along a data river, with side effects as mist above them and a caution sign in the distance.

Common Mistakes and How to Avoid Them

  • Mistake: Trying to search for brand names like "Lipitor" instead of "atorvastatin."
    Solution: Always use the generic name. Brand names aren’t reliably indexed.
  • Mistake: Ignoring the "outcome" field and assuming all reactions are serious.
    Solution: Filter by patient.outcome="hospitalization" if you want severe cases.
  • Mistake: Running 500 queries in one minute and getting blocked.
    Solution: Space out requests. Use rate limiting in your code. The API enforces 240 per minute.
  • Mistake: Thinking this is a complete picture of all side effects.
    Solution: Treat it as a starting point. Cross-check with clinical literature.

What’s Next for OpenFDA?

The FDA is expanding. In 2023, they added more device-related reports and are working on pulling in tobacco product adverse events. They’re also improving how fast data flows in-cutting the delay from 90 days to 60. And they’re opening up the code on GitHub, so developers can help fix bugs or add features.

It’s not just a tool for researchers anymore. It’s becoming a public health resource. The more people use it, the better the data gets. And the better the data gets, the safer our medicines become.

Can I use OpenFDA to find out if my medication is dangerous?

No. OpenFDA shows you reports of side effects from thousands of people, but it doesn’t tell you if those side effects happened because of the drug. Many factors can cause symptoms, and the data doesn’t prove cause-and-effect. Always talk to your doctor before making any changes to your medication.

Is OpenFDA data real-time?

No. There’s typically a 60 to 90-day delay between when a side effect is reported and when it appears in the API. The FDA needs time to review, clean, and code each report. Don’t expect to see today’s reports tomorrow.

Do I need to pay for an API key?

No. The OpenFDA API is completely free. You just need to register for a key at open.fda.gov. The key just increases your daily request limit from 1,000 to 120,000.

What’s the difference between FAERS and OpenFDA?

FAERS is the raw database where all adverse event reports are stored. OpenFDA is the API that makes that data easy to search and use. Think of FAERS as a giant library, and OpenFDA as the digital catalog that lets you find books without walking through the aisles.

Can I use OpenFDA to report a side effect I experienced?

No. OpenFDA only gives you access to reports that have already been submitted to the FDA. To report a side effect, you must use the FDA’s MedWatch portal or ask your healthcare provider to submit it for you.

Next Steps for Researchers and Developers

If you’re building a tool or doing research:

  • Use the official GitHub repository for code examples and schema details.
  • Try the R package openFDA if you work in statistics-it handles API calls and rate limits automatically.
  • For Python, use requests to call the API and pandas to analyze results.
  • Always cache results. Don’t re-query the same data every time.
  • Join the FDA’s developer community. They answer questions and share tips.

OpenFDA didn’t just make data accessible. It made it useful. And that’s what changes lives-not just knowing side effects exist, but being able to find them, understand them, and act on them.

Author: Linda House
Linda House
I am a freelance health content writer based in Arizona who turns complex research into clear guidance about conditions, affordable generics, and safe alternatives. I compare medications, analyze pricing, and translate formularies so readers can save confidently. I partner with pharmacists to fact-check and keep my guides current. I also review patient assistance programs and discount cards to surface practical options.