APIs

Drug Interaction API

findDrugInteractions

Information returned
Interactions of an RxNorm drug
Service domain
https://rxnav.nlm.nih.gov
HTTP request
GET  /REST/interaction/interaction.xml?rxcui=rxcui&sources=sources

Description

Get the drug interactions for a specified drug.

Currently, the API uses two sources for its interaction information - ONCHigh and DrugBank.

ONCHigh is a list of high-priority drug-drug interactions derived by a panel of experts and contained in a JAMIA article. ONCHigh is updated using CredibleMeds with drugs that have a known risk of Torsades de Pointes (TdP).

DrugBank drug-drug interaction information is drawn from the DrugBank database. The data shared with us by DrugBank do not carry severity information.

Upcoming Changes On or After August 2, 2021:

Parameters

ParameterLocationUseDescriptionDefault
formatPathOptional

Notation for results

One of:
.xml
Get results in XML
.json
Get results in JSON
.xml
rxcuiQueryRequiredRxNorm identifier
sourcesQueryOptionalSources to use (if none specified, all sources will be used)

(Space-separated list. See getInteractionSources for the menu.)

All query parameters are case-insensitive.

Note that parameters must be "URL encoded", so a "space-separated list" in a URL will, in practice, usually appear to use either a plus sign (+) or %20 as the separator. For full information on URL encoding, please refer to IETF RFC 3986, "Uniform Resource Identifier".

Output structure

Results are available as either XML or JSON.

  • The XML result has the root element interactiondata. It is described in the XML Schema for the Drug Interaction API; the relevant element structure is summarized below. Elements that would be empty might be left out.

  • The JSON result is an object {...}, analogous to the content of the XML interactiondata. Fields that might occur multiple times in the XML are expressed as an array. Fields that would be empty might be null or left out. Numbers are expressed as strings.

Both XML and JSON results follow the same outline:

interactiondata
Root element in XML, or anonymous object in JSON
nlmDisclaimer
userInput
User-provided parameters
sources (array)
Sources of drug interaction information
rxcui
RxNorm identifier
interactionTypeGroup (array)
Interactions from one data source
sourceDisclaimer
sourceName
Source of interaction data (ONCHigh or DrugBank)
interactionType (array)
comment
minConceptItem
RxNorm concept
rxcui
RxNorm identifier
name
RxNorm concept name
tty
RxNorm concept's term type
interactionPair (array)
Two interactionConcepts
interactionConcept (array)
RxNorm concept and corresponding drug from an interaction-source data set
minConceptItem
RxNorm concept
rxcui
RxNorm identifier
name
RxNorm concept name
tty
RxNorm concept's term type
sourceConceptItem
Drug from the interaction source's data
id
Source's identifier for the drug
name
Source's name for the drug
url
Location of information from the source of interaction data
severity
Severity (if provided by the source)
description

Example: Drug interactions with Rizatriptan (RxCUI=88014) from ONCHigh

XML: https://rxnav.nlm.nih.gov/REST/interaction/interaction?rxcui=88014&sources=ONCHigh

JSON: https://rxnav.nlm.nih.gov/REST/interaction/interaction.json?rxcui=88014&sources=ONCHigh

An XML result is shown below.

<interactiondata>
    <nlmDisclaimer>It is not the intention of NLM to provide specific medical advice, but rather to provide users with information to better understand their health and their medications. NLM urges you to consult with a qualified physician for advice about medications.</nlmDisclaimer>
    <userInput>
        ...
    </userInput>
    <interactionTypeGroup>
        <sourceDisclaimer>https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3422823/</sourceDisclaimer>
        <sourceName>ONCHigh</sourceName>
        <interactionType>
            <comment>rizatriptan (88014) is resolved to rizatriptan (88014)</comment>
            <minConceptItem>
                <rxcui>88014</rxcui>
                <name>rizatriptan</name>
                <tty>IN</tty>
            </minConceptItem>
            <interactionPair>
                <interactionConcept>
                    <minConceptItem>
                        <rxcui>88014</rxcui>
                        <name>rizatriptan</name>
                        <tty>IN</tty>
                    </minConceptItem>
                    <sourceConceptItem>
                        <id>NA</id>
                        <name>rizatriptan</name>
                        <url>NA</url>
                    </sourceConceptItem>
                </interactionConcept>
                <interactionConcept>
                    <minConceptItem>
                        <rxcui>8123</rxcui>
                        <name>phenelzine</name>
                        <tty>IN</tty>
                    </minConceptItem>
                    <sourceConceptItem>
                        <id>NA</id>
                        <name>phenelzine</name>
                        <url>NA</url>
                    </sourceConceptItem>
                </interactionConcept>
                <severity>high</severity>
                <description>Triptans - monoamine oxidase (MAO) inhibitors</description>
            </interactionPair>
            <interactionPair>
                <interactionConcept>
                    <minConceptItem>
                        <rxcui>88014</rxcui>
                        <name>rizatriptan</name>
                        <tty>IN</tty>
                    </minConceptItem>
                    <sourceConceptItem>
                        <id>NA</id>
                        <name>rizatriptan</name>
                        <url>NA</url>
                    </sourceConceptItem>
                </interactionConcept>
                <interactionConcept>
                    <minConceptItem>
                        <rxcui>30121</rxcui>
                        <name>moclobemide</name>
                        <tty>IN</tty>
                    </minConceptItem>
                    <sourceConceptItem>
                        <id>NA</id>
                        <name>moclobemide</name>
                        <url>NA</url>
                    </sourceConceptItem>
                </interactionConcept>
                <severity>high</severity>
                <description>Triptans - monoamine oxidase (MAO) inhibitors</description>
            </interactionPair>
            ...
        </interactionType>
    </interactionTypeGroup>
</interactiondata>

Example: Drug interactions with Tigecycline (RxCUI=384455) from DrugBank

XML: https://rxnav.nlm.nih.gov/REST/interaction/interaction?rxcui=384455&sources=DrugBank

JSON: https://rxnav.nlm.nih.gov/REST/interaction/interaction.json?rxcui=384455&sources=DrugBank

An XML result is shown below.

<interactiondata>
    <nlmDisclaimer>It is not the intention of NLM to provide specific medical advice, but rather to provide users with information to better understand their health and their medications. NLM urges you to consult with a qualified physician for advice about medications.</nlmDisclaimer>
    <userInput>
        ...
    </userInput>
    <interactionTypeGroup>
        <sourceDisclaimer>DrugBank is intended for educational and scientific research purposes only and you expressly acknowledge and agree that use of DrugBank is at your sole risk. The accuracy of DrugBank information is not guaranteed and reliance on DrugBank shall be at your sole risk. DrugBank is not intended as a substitute for professional medical advice, diagnosis or treatment..[www.drugbank.ca]</sourceDisclaimer>
        <sourceName>DrugBank</sourceName>
        <interactionType>
            <comment>tigecycline (384455) is resolved to tigecycline (384455)</comment>
            <minConceptItem>
                <rxcui>384455</rxcui>
                <name>tigecycline</name>
                <tty>IN</tty>
            </minConceptItem>
            <interactionPair>
                <interactionConcept>
                    <minConceptItem>
                        <rxcui>384455</rxcui>
                        <name>tigecycline</name>
                        <tty>IN</tty>
                    </minConceptItem>
                    <sourceConceptItem>
                        <id>DB00560</id>
                        <name>Tigecycline</name>
                        <url>http://www.drugbank.ca/drugs/DB00560#interactions</url>
                    </sourceConceptItem>
                </interactionConcept>
                <interactionConcept>
                    <minConceptItem>
                        <rxcui>2167673</rxcui>
                        <name>botulinum toxin type B</name>
                        <tty>IN</tty>
                    </minConceptItem>
                    <sourceConceptItem>
                        <id>DB00042</id>
                        <name>Botulinum Toxin Type B</name>
                        <url>http://www.drugbank.ca/drugs/DB00042#interactions</url>
                    </sourceConceptItem>
                </interactionConcept>
                <severity>N/A</severity>
                <description>The risk or severity of adverse effects can be increased when Tigecycline is combined with Botulinum Toxin Type B.</description>
            </interactionPair>
            <interactionPair>
                <interactionConcept>
                    <minConceptItem>
                        <rxcui>384455</rxcui>
                        <name>tigecycline</name>
                        <tty>IN</tty>
                    </minConceptItem>
                    <sourceConceptItem>
                        <id>DB00560</id>
                        <name>Tigecycline</name>
                        <url>http://www.drugbank.ca/drugs/DB00560#interactions</url>
                    </sourceConceptItem>
                </interactionConcept>
                <interactionConcept>
                    <minConceptItem>
                        <rxcui>860178</rxcui>
                        <name>rimabotulinumtoxinB</name>
                        <tty>PIN</tty>
                    </minConceptItem>
                    <sourceConceptItem>
                        <id>DB00042</id>
                        <name>Botulinum Toxin Type B</name>
                        <url>http://www.drugbank.ca/drugs/DB00042#interactions</url>
                    </sourceConceptItem>
                </interactionConcept>
                <severity>N/A</severity>
                <description>The risk or severity of adverse effects can be increased when Tigecycline is combined with Botulinum Toxin Type B.</description>
            </interactionPair>
            ...
        </interactionType>
    </interactionTypeGroup>
</interactiondata>