FDA Drug Label API - NDC, Interactions, Recalls, MCP
Pricing
from $1.40 / 1,000 results
FDA Drug Label API - NDC, Interactions, Recalls, MCP
No API key. US drug facts from openFDA as clean JSON in one call: FDA label sections (indications, boxed warning, contraindications, drug interactions, dosage), NDC products and packages, FDA approvals, top reported adverse events (FAERS counts) and recalls. Interaction mode finds where one drug's F
Pricing
from $1.40 / 1,000 results
Rating
0.0
(0)
Developer
Martin Petrov
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Features
Share
Problem: your health app, pharmacy tool, compliance check or AI agent needs to know what the FDA label says about a drug, which NDC packages exist, when it was approved, what side effects are reported most, whether it was recalled, and whether its label warns about another drug. That data sits in 5 different openFDA endpoints with long raw label text, salt-form names ("METFORMIN HYDROCHLORIDE") and a 404 for "not found".
This API: one JSON call, no API key. Give a drug name (brand or generic) or an NDC code and get clean rows from the official openFDA data of the U.S. Food and Drug Administration.
- report (default): ONE row with the newest label summary (indications, boxed warning, contraindications, interactions, dosage), NDC product count + sample, FDA approvals (first approval date, sponsor), adverse event totals (all + serious) with the top 10 reactions, and recall count + latest 3 recalls.
- label: full label sections, each cleaned and cut at a sentence end: indications, boxedWarning, contraindications, warnings, drugInteractions, adverseReactions, dosage, pregnancy, plus setId, RxCUI, product NDCs and a DailyMed link.
- ndc: products with packages (package NDC + description), labeler, dosage form, marketing category, application number, active ingredients with strength.
- approvals: Drugs@FDA applications (NDA/BLA/ANDA), sponsor, products, first approval date, latest submission.
- adverse_events: most reported reactions (FAERS) with report counts, plus total and serious report counts.
- recalls: drug enforcement reports, newest first: recall number, class, reason, firm, date.
- interactions: give 2-10 drugs; for every pair it finds the sentences where one drug's FDA label (contraindications, boxed warning, drug interactions, warnings) names the other drug or its drug class. Measured: simvastatin + clarithromycin is found in both labels.
- Bulk: put up to 10 names in
drugsto get the same mode for every drug in one call (e.g. a report row for each drug on a pharmacy watch list). - Monitor mode:
onlyNew+monitorIdreturns only new recalls, new label versions or new NDC packages since the last run: schedule it daily for a watch list.
Not medical advice: rows repeat FDA data as published; openFDA is not endorsed by FDA for clinical use, and interaction rows are label text matches, not a clinical interaction check.
Example (API)
curl -X POST "https://api.apify.com/v2/acts/martin10291~fda-drug-lookup-api/run-sync-get-dataset-items?token=YOUR_TOKEN" \-H "Content-Type: application/json" \-d '{"drug": "lisinopril"}'
Report row (measured 2026-11-16, shortened):
{"type": "report", "drug": "LISINOPRIL","label": {"brandName": "LISINOPRIL", "genericName": "LISINOPRIL", "route": ["ORAL"], "rxcui": ["311354"],"boxedWarning": "WARNING: FETAL TOXICITY When pregnancy is detected, discontinue lisinopril as soon as possible ...","dailyMedUrl": "https://dailymed.nlm.nih.gov/dailymed/lookup.cfm?setid=bf59ff89-a9fa-4fe3-b167-a5d0cba9e438"},"ndcProducts": 397, "approvalsCount": 38,"adverseEvents": {"totalReports": 297660, "seriousReports": 179915,"top": [{"reaction": "Fatigue", "reports": 19506}, {"reaction": "Nausea", "reports": 18035}]},"recalls": {"count": 41, "latest": [{"recallNumber": "D-0532-2025", "classification": "Class II"}]},"source": "openFDA (U.S. Food and Drug Administration), CC0"}
Interactions ({"mode": "interactions", "drugs": ["simvastatin", "clarithromycin"]}):
{"type": "interaction", "drugA": "simvastatin", "drugB": "clarithromycin", "mentioned": true,"mentions": [{"inLabelOf": "simvastatin", "section": "drugInteractions", "matched": "clarithromycin","sentence": "Examples: Select azole anti-fungals (...), select macrolide antibiotics (e.g., erythromycin and clarithromycin), ..."}],"note": "Text found in the FDA labels, not a clinical interaction check. Ask a pharmacist."}
More inputs:
{"mode": "ndc", "ndc": "0002-1433-80"}(package NDC -> product Trulicity){"mode": "label", "drug": "Ozempic"}{"mode": "adverse_events", "drug": "atorvastatin", "limit": 20}{"mode": "recalls", "drug": "valsartan", "limit": 10, "onlyNew": true, "monitorId": "pharmacy-watch"}{"mode": "approvals", "drug": "Lipitor"}{"drugs": ["metformin", "lisinopril", "atorvastatin", "Ozempic", "amoxicillin"]}(one report row per drug)
Use from AI agents (MCP)
Add the Apify MCP server with this Actor as a tool, then ask your agent "what is the boxed warning for lisinopril?" or "does clarithromycin appear in the simvastatin label?":
https://mcp.apify.com?tools=martin10291/fda-drug-lookup-api
FAQ
How fresh is the data? openFDA updates labels, NDC and recalls weekly and FAERS quarterly; this API caches label/NDC/approval answers up to 7 days and adverse events/recalls up to 1 day, and each row has retrievedAt (and stale: true if openFDA was down and a cached copy was served).
Limits? 1-100 rows per call (limit), 2-10 drugs in interactions mode.
Errors? Bad input returns invalid input: ... and the run stops cleanly; an unknown drug returns 0 rows.
Notes
- Names: brand or generic both work ("Lipitor" or "atorvastatin"); salt forms are matched for you. Unknown names return no rows, not an error.
- Speed: a fresh report takes 2-5 s (6 openFDA calls); repeated drugs answer from cache in milliseconds.
- Source: openFDA (https://open.fda.gov), CC0 1.0 public domain. Data provided by the U.S. Food and Drug Administration. FAERS reports are voluntary and do not prove that a drug caused a reaction.
- Errors: bad input returns a clear
invalid input: ...message;RUN_SUMMARYin the key-value store haslastError.