The free NLM drug interaction API is gone. The National Library of Medicine discontinued RxNav's drug interaction features on January 2, 2024, and calls to /REST/interaction now return HTTP 404. The RxNorm API still works. To keep checking interactions, you need licensed interaction content, an open dataset whose license fits your use, or your own rules built on FDA labeling.
If you inherited code that called the old endpoint, or you are picking a drug interaction API for a new product, most of the decisions come down to data licensing and failure handling. This is information about data and software, not medical advice.
What happened to the NLM drug interaction API?
NLM retired the RxNav Drug Interaction API and removed the Interactions tab from the RxNav browser on January 2, 2024. The rest of the RxNav API family kept running. NLM did not publish a reason on its RxNav pages; it only described where the interaction data had come from.
Before the shutdown, the Drug Interaction API overview page carried a notice that the API "will be discontinued on or about January 2, 2024." The same page said the API used two sources:
- ONCHigh, a list of high-priority drug-drug interactions chosen by an expert panel and published in JAMIA, updated with CredibleMeds' list of drugs with a known risk of torsades de pointes.
- DrugBank interaction data, drawn unmodified from the non-commercial version of DrugBank, "which does not carry severity information."
The data refreshed monthly, and no license was needed to call it. Today the RxNav FAQ says the interaction features "were discontinued on January 2, 2024" and that the underlying sources "may remain available." NLM never wrote the interaction content. It passed through one small curated list and one dataset licensed for non-commercial use.
ONCHigh is too narrow to stand in for the whole service. The 2012 JAMIA paper by Phansalkar and colleagues describes a panel that reviewed 31 high-risk interactions and approved 15, several of them defined by drug class. The authors say the list does not represent every contraindicated pair. It was built as a minimum set that every EHR should alert on.
What does code that still calls /REST/interaction get now?
It gets a 404. When we called the old list endpoint on October 31, 2026, RxNav answered with HTTP/2 404, content-type: text/plain, and a body of Not found. There is no JSON error object, so a client that parses the body as JSON will throw, and a client that swallows errors may report "no interactions found."
An empty interaction panel caused by a failed call looks identical to one where the patient's list had no interactions. If your code treats a failure as an empty result, your users may have been looking at false negatives since early 2024. The fix is a separate "could not check" state in the UI, covered in the checklist below.
The two retired endpoints were findDrugInteractions at /REST/interaction/interaction (one RxCUI) and findInteractionsFromList at /REST/interaction/list (up to 50 RxCUIs), according to the archived endpoint documentation. JSON responses used field names like fullInteractionTypeGroup, interactionTypeGroup, and interactionPair, and XML responses had the root element interactiondata. Those names make good search strings. Run something like this across every repository, config store, and infrastructure template you own:
# Find calls to the retired RxNav interaction endpoints
rg -n -i "REST/interaction|findInteractionsFromList|findDrugInteractions" .
# Find code that parses the old response shape
rg -n "fullInteractionTypeGroup|interactionTypeGroup|interactionPair|interactiondata" .
# Confirm what the endpoint returns today (status, content type, body)
curl -s -i "https://rxnav.nlm.nih.gov/REST/interaction/list.json?rxcuis=11289+21212"
# HTTP/2 404
# content-type: text/plain
# ...
# Not found
Check mobile apps and old browser bundles too. The RxNav FAQ confirms the APIs allow cross-origin requests, so some front ends called RxNav straight from the client, where a server-side search will not find it.
Which RxNav APIs still work?
The RxNorm, Prescribable RxNorm, RxTerms, and RxClass APIs still run, and RxNorm remains the free, standard way to normalize drug names and codes in the US. Most interaction sources need ingredient-level identifiers, so you will probably keep RxNorm in the stack whichever source you pick.
The RxNorm API documentation says that, with one exception, no license is needed because RxNorm is a non-proprietary NLM vocabulary. The RxNav terms of service cap traffic at 20 requests per second per IP address, or 100 per second if you send a UMLS Terminology Services API key, and NLM recommends caching results for 12 to 24 hours.
Clinical data rarely arrives at the ingredient level. You get an NDC from a pharmacy claim, a branded product, or a clinical drug such as "simvastatin 40 MG Oral Tablet." The US Core MedicationRequest profile uses an extensible RxNorm binding for coded medications and treats NDC as an optional extra coding. If your medication lists come in over FHIR or HL7 v2, our comparison of HL7 v2 and FHIR covers where those codes show up in each format.
The example below maps an active RxNorm concept to its ingredients and retrieves labeled interaction text from openFDA. It is a retrieval demo with no retries, caching, or label selection logic, and it keeps "no match" distinct from "error."
const RXNAV = "https://rxnav.nlm.nih.gov/REST";
const OPENFDA_KEY = process.env.OPENFDA_API_KEY; // free key from open.fda.gov
// Ingredients (IN) and multi-ingredient concepts (MIN) for an ACTIVE RxCUI.
// Retired RxCUIs return nothing here; resolve them with /rxcui/{id}/historystatus first.
async function ingredients(rxcui) {
const res = await fetch(`${RXNAV}/rxcui/${rxcui}/related.json?tty=IN+MIN`);
if (!res.ok) return { status: "error", http: res.status };
const { relatedGroup } = await res.json();
const concepts = (relatedGroup.conceptGroup ?? [])
.flatMap((g) => g.conceptProperties ?? [])
.map(({ rxcui, name, tty }) => ({ rxcui, name, tty }));
return concepts.length ? { status: "ok", concepts } : { status: "unmapped", rxcui };
}
// Section 7 text from ONE label that openFDA harmonized to this RxCUI.
// Many labels can match; choosing the right one is your job, not this function's.
async function labelInteractions(rxcui) {
const q = encodeURIComponent(`openfda.rxcui:"${rxcui}"`);
const key = OPENFDA_KEY ? `&api_key=${OPENFDA_KEY}` : "";
const res = await fetch(`https://api.fda.gov/drug/label.json?search=${q}&limit=1${key}`);
if (res.status === 404) return { status: "no_label_match", rxcui };
if (!res.ok) return { status: "error", http: res.status };
const label = (await res.json()).results[0];
if (!label.drug_interactions) return { status: "no_section", setId: label.set_id };
return {
status: "ok",
setId: label.set_id,
effectiveTime: label.effective_time,
text: label.drug_interactions.join("\n"),
};
}
// 198211 = simvastatin 40 MG Oral Tablet (SCD)
// 152923 = simvastatin 40 MG Oral Tablet [Zocor] (SBD)
// Both resolve to ingredient 36567, simvastatin.
console.log(await ingredients("198211"));
console.log(await labelInteractions("198211"));
The second function returns prose. Turning that prose into structured interaction results is most of the work in a label-based approach.
What are the alternatives to the NLM drug interaction API?
The main choice is whether you license interaction data and build the checking yourself, or buy checking that someone else has already built and reviewed. Open datasets and FDA labeling fall on the build side; commercial knowledge bases and finished interaction products are bought, with different amounts of work left for you.
Commercial drug knowledge bases are licensed under contract, and their content and terms vary by vendor. We don't name or price them here. Before you sign, ask for the data dictionary, the severity definitions, the update cadence, how repackaged and multi-ingredient products map to interaction records, what provenance each record carries, how retracted content reaches your cache, and the license terms for redistributing results through an API you expose to customers.
Open datasets are free to download, but their licenses usually rule out commercial use. The DrugBank releases page offers a free Academic License only to students, professors, and research associates whose work is "not primarily for the benefit of a commercial third party," and when we checked on October 31, 2026, it said academic downloads were temporarily paused. DrugBank also sells paid access. DDInter publishes its data under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 license. Its documentation describes Major, Moderate, and Minor risk levels plus mechanism and management annotations on the website, but the downloadable CSV files contain only the two drugs, DDInter's own IDs, and the level. You would also have to map those IDs to RxNorm.
FDA labeling is public. openFDA dedicates its data to the public domain under CC0 1.0 "unless otherwise noted," which permits commercial reuse of that data. The cost is the engineering and clinical review it takes to turn label prose into pairwise, severity-rated results. If you want label-derived data without writing that parser, the RxLabelGuard drug interaction API, which Orisan also runs, turns FDA Structured Product Labeling into severity-scored interaction pairs that cite their SPL set IDs, and developers can get a key on their own.
Evaluation table for drug interaction data sources
| Option | Commercial use | Severity | Mechanism and management | Structured pairs | Work left for you |
|---|---|---|---|---|---|
| Retired RxNav Drug Interaction API | Was free; now returns 404 | ONCHigh only; DrugBank feed had none | Short description strings | Yes | Replace it |
| Commercial drug knowledge base | Yes, under contract | Vendor scale; get definitions | Ask for the data dictionary | Yes | Integration, code mapping, alert tuning, license management |
| DrugBank, academic license | No; paid license needed | Not in the old RxNav feed; check the release you get | Description text | Yes | Low if you qualify, but downloads were paused in October 2026 |
| DDInter | No (CC BY-NC-SA 4.0) | Major, Moderate, Minor | On the website; not in the CSV downloads | Yes, by DDInter ID | Map IDs to RxNorm; research use only |
| ONCHigh list (JAMIA 2012) | Published paper; check reuse terms | All 15 rated high severity by the panel | In the paper | 15 entries, some by drug class | Low, but it is a minimum set |
| FDA labeling via openFDA and DailyMed | openFDA data is CC0 unless noted | Not a field; you derive it | In prose; mechanism required if known | No | Parsing, class resolution, label selection, clinical review, update tracking |
| Finished interaction product | Yes, under that vendor's terms | Product-specific | Product-specific | Yes | Integration, local validation, alert configuration |
Can you build drug interaction checking on FDA labeling and DailyMed?
Yes. Labels carry the interaction descriptions, management instructions, and known mechanisms, but as prose for clinicians with no severity field and no computable pairs. Budget for a parsing pipeline and for pharmacist or physician review of everything you extract.
Under 21 CFR 201.57(c)(8), section 7 "Drug interactions" must describe clinically significant interactions with other drugs, drug classes, or foods, give practical instructions for preventing or managing them, and briefly describe the mechanism if it is known. Older labels put the same material in a "Drug interactions" subsection of Precautions under 21 CFR 201.80(f)(4), so your parser has to handle both layouts. Pharmacokinetic detail often sits in Clinical Pharmacology as well.
In Structured Product Labeling, section 7 carries LOINC 34073-7, "DRUG INTERACTIONS SECTION" in FDA's SPL section headings table. You can get labels two ways:
- The openFDA drug label API returns parsed fields, including
drug_interactionsanddrug_interactions_table, searchable byopenfda.rxcui. Its authentication page says an API key is required and lists limits of 240 requests per minute and 1,000 per day per IP without a key, or 120,000 per day with one. openFDA also notes that not all records have harmonized fields, so an RxCUI search can miss labels that exist. - The DailyMed web services return SPL documents by set ID, and
/services/v2/spls.json?rxcui=lists every SPL for a concept. You parse the XML and pull the34073-7section yourself.
A label pipeline has four hard parts. First, one clinical drug maps to many labels: on October 31, 2026, openfda.rxcui:"198211" matched 43 labels and DailyMed's spls.json?rxcui=198211 listed 74 SPLs, mostly generics and repackagers on different revisions. Second, "canonical" needs a definition, because FDA says the current labeling on DailyMed can differ from the last FDA-approved labeling on Drugs@FDA. Third, labels describe interactions from one side and often by class ("strong CYP3A4 inhibitors"), so you have to resolve classes to ingredients and reconcile what label A says about drug B with what label B says about drug A. Fourth, every label revision can change an extracted rule, so you need change detection and re-review. openFDA's own response metadata says: "Do not rely on openFDA to make decisions regarding medical care." Clinical review has to sit between the label text and anything a clinician sees.
What should a good drug interaction API return?
At minimum: the interacting drugs, a severity on a published scale, the mechanism, management information, and provenance. It should also accept a full medication list in one call, since clinicians review the whole regimen at once, and it should never let a failure look like a clean result.
This illustrative response shows the shape we would look for. Field names are ours, not a standard, the content is placeholder text, and status would be one of checked, partial, or could_not_check:
{
"request_id": "example-001",
"status": "checked",
"inputs": [
{ "input": "198211", "system": "rxnorm", "mapped_to": [{ "rxcui": "36567", "name": "simvastatin" }] },
{ "input": "00000000000", "system": "ndc", "mapped_to": [], "problem": "unmapped" }
],
"interactions": [
{
"drugs": ["36567", "INGREDIENT_RXCUI_B"],
"severity": { "level": "major", "scale": "vendor-scale-v3" },
"mechanism": "Placeholder: describes the pharmacokinetic or pharmacodynamic basis.",
"management": "Placeholder: monitoring or dose information for the clinician to weigh.",
"evidence": [{ "type": "label", "set_id": "SPL_SET_ID", "section_loinc": "34073-7", "effective_time": "YYYYMMDD" }],
"content_version": "2026-10",
"last_reviewed": "YYYY-MM-DD"
}
]
}
When you compare vendors or design your own schema, check for these:
- Input normalization that accepts RxCUIs at ingredient, clinical drug, and branded drug level, ideally NDCs too, and reports how each input mapped.
- Multi-drug evaluation of the whole list in one request, including combinations where three or more drugs add to the same effect.
- Severity on a documented scale. DDInter, for example, defines Major, Moderate, and Minor in writing; whatever scale you get, you will need the definitions to map it to your alert tiers.
- Mechanism and management text in plain clinical language, framed as information for the clinician.
- Evidence and provenance: label set ID and version, literature citations, and a review date.
- Distinct "checked, none found," "partial," and "could not check" states.
- Versioned content with a changelog, so you can explain why an interaction appeared or disappeared.
Health IT Modules certified to 45 CFR 170.315(a)(4) must show drug-drug and drug-allergy contraindication interventions before a CPOE order is completed, and must let the severity level of drug-drug interventions be adjusted, limited to specific users or to an administrative function. A drug-drug source alone does not cover the allergy half. ONC proposed removing (a)(4) in HTI-5 but did not finalize that: the final rule (91 FR 67916, published October 28, 2026) still names (a)(4) in the safety-enhanced design criterion at 170.315(g)(3) and in the privacy and security framework at 170.550(h)(3). Effective December 28, 2026, it removes the phrase "drug-drug and drug-allergy contraindication checking" from 170.315(b)(11)(iii), while ONC says the retained Medications and Allergies and Intolerances data types still support those checks. Our HTI-5 final rule summary covers the other changes, and the HTI-4 real-time prescription benefit post covers adjacent e-prescribing requirements.
Migration checklist for teams moving off the RxNav interaction API
Find the old calls and learn what users saw while they failed. Then choose a source, map your codes, and test failure handling before you ship.
- Search every codebase, mobile app, and front-end bundle for the endpoint and field names above.
- Check logs since January 2024 for 404s from
rxnav.nlm.nih.gov/REST/interaction, and find out how the UI displayed them. - If failures showed as "no interactions," tell your clinical lead, decide whether users need notice, and identify any stored reports or documentation generated from those screens.
- List every place interaction results appear: order entry, medication review, patient apps, reports.
- Decide whether your product is commercial. That alone rules out the non-commercial datasets.
- Get the new source's license terms in writing for your deployment model, including redistribution through your own API.
- Keep RxNorm for normalization, handle retired RxCUIs through history status, cache for 12 to 24 hours as NLM recommends, and add a UTS API key if you need more than 20 requests per second.
- Map the new severity scale to your alert tiers. If you certify to 170.315(a)(4), confirm severity adjustment and its access controls still work.
- Write tests for timeouts, 4xx and 5xx responses, and unmapped drugs, and assert that each renders as "could not check."
- Build a validation set of known interacting and non-interacting combinations, have a pharmacist or physician review the new source's output against current labeling, and rerun it after every content update.
Where Orisan Sage fits
Orisan Sage is drug interaction intelligence and drug information for medical professionals, with an API for teams building clinical software. It evaluates multi-drug combinations and explains the mechanism behind each interaction. Its knowledge draws on FDA drug labeling, DailyMed, and Orisan's own clinical review.
In the evaluation table, Sage is a finished interaction product: the labeling work and clinical review happen on our side, and your team still owns integration, validation, and alert configuration. Sage provides information for a qualified professional to evaluate; prescribing decisions stay with the prescriber. The Sage drug interaction API for health software teams page has the integration details.
Whatever source you choose, start with the inventory. Run the searches above, pull your 404 counts from the logs, and find out what your interaction panel showed when the calls failed. If you want help with the integration side, our HL7, FHIR, and EDI integration team audits that kind of work.