getNDCProperties

Information returned
National Drug Code (NDC) details
Service domain
https://rxnav.nlm.nih.gov
HTTP request
GET  /REST/ndcproperties.xml?id=value

Description

Get National Drug Code (NDC) properties. This function returns the NDC properties for an RxNorm concept, an NDC or a structured product label. Only NDC properties of active NDCs curated by RxNorm are returned by this function.

Active NDCs are those NDCs present in the active concepts of RxNorm. The NDC properties come from DailyMed (SAB=MTHSPL) in RXNSAT, except for the packaging information, which is provided by DailyMed external to the RxNorm data set.

The packaging element in the result comes from DailyMed and is not part of the RxNorm data set.

Property names and values in the result propertyConceptList come from DailyMed (SAB=MTHSPL) in the RXNSAT file.

The following forms of ID are accepted:

Form of IDExample ID(s)Details
NDC 2 segment
  • 0781-1506
  • 60429-324
  • 11523-7020
first two segments of the National Drug Code
NDC 3 segment
  • 0781-1506-10
  • 60429-324-77
  • 11523-7020-1
three segment format of the National Drug Code. NDC notation containing asterisks is not accepted.
NDC1100904629161National Drug Code (NDC) in the 11 digit (no dashes) form, also referred to as the CMS 11-digit NDC derivative.
RxCUI213270RxNorm Concept Identifier. When an RxCUI is used, the function will return NDC properties for all the active NDCs in the concept.
SPL_SET_ID
  • 1C5BC1DD-E9EC-44C1-9281-67AD482315D9
FDA Structured Product Label Set Identifier

Scope

Active: concepts in the current RxNorm data set that have an atom with SAB=RXNORM and SUPPRESS=N

Parameters

ParameterLocationUseDescriptionDefault
formatPathOptional

Notation for results

One of:
.xml
Get results in XML
.json
Get results in JSON
.xml
idQueryRequiredNDC (CMS 11-digit, or 5-3 or 4-4-2), or RXCUI, or FDA SPL set ID

All query parameters are case-insensitive.

Output structure

Results are available as either XML or JSON.

  • The XML result has the root element rxnormdata. It is described in the XML Schema for the RxNorm 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 rxnormdata. 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:

rxnormdata
Root element in XML, or anonymous object in JSON
ndcPropertyList
ndcProperty (array)
ndcItem
National Drug Code (NDC) in CMS 11-digit format
ndc9
2-segment NDC
ndc10
3-segment NDC
rxcui
RxNorm identifier
splSetIdItem
SPL Set Identifier
packagingList
packaging (array)
packaging of the product
propertyConceptList
list of properties
propertyConcept (array)
Property name-and-value tuple
propName
Property name
propValue
Value of the property

Example: Properties of an NDC

XML: https://rxnav.nlm.nih.gov/REST/ndcproperties?id=0378-4517-93

JSON: https://rxnav.nlm.nih.gov/REST/ndcproperties.json?id=0378-4517-93

An XML result is shown below.

<rxnormdata>
    <ndcPropertyList>
        <ndcProperty>
            <ndcItem>00378451793</ndcItem>
            <ndc9>0378-4517</ndc9>
            <ndc10>0378-4517-93</ndc10>
            <rxcui>597987</rxcui>
            <splSetIdItem>4be76756-4114-4d50-a36c-fd410f6c773d</splSetIdItem>
            <packagingList>
                <packaging>30  in 1 BOTTLE, PLASTIC</packaging>
            </packagingList>
            <propertyConceptList>
                <propertyConcept>
                    <propName>MARKETING_CATEGORY</propName>
                    <propValue>ANDA</propValue>
                </propertyConcept>
                <propertyConcept>
                    <propName>COLORTEXT</propName>
                    <propValue>BLUE</propValue>
                </propertyConcept>
                <propertyConcept>
                    <propName>SCORE</propName>
                    <propValue>1</propValue>
                </propertyConcept>
                <propertyConcept>
                    <propName>DM_SPL_ID</propName>
                    <propValue>395223</propValue>
                </propertyConcept>
                <propertyConcept>
                    <propName>SIZE</propName>
                    <propValue>11 mm</propValue>
                </propertyConcept>
                <propertyConcept>
                    <propName>ANDA</propName>
                    <propValue>ANDA200465</propValue>
                </propertyConcept>
                <propertyConcept>
                    <propName>IMPRINT_CODE</propName>
                    <propValue>M;AA8</propValue>
                </propertyConcept>
                <propertyConcept>
                    <propName>MARKETING_EFFECTIVE_TIME_LOW</propName>
                    <propValue>20141106</propValue>
                </propertyConcept>
                <propertyConcept>
                    <propName>SHAPE</propName>
                    <propValue>C48345</propValue>
                </propertyConcept>
                <propertyConcept>
                    <propName>MARKETING_STATUS</propName>
                    <propValue>active</propValue>
                </propertyConcept>
                <propertyConcept>
                    <propName>LABEL_TYPE</propName>
                    <propValue>HUMAN PRESCRIPTION DRUG LABEL</propValue>
                </propertyConcept>
                <propertyConcept>
                    <propName>LABELER</propName>
                    <propValue>Mylan Pharmaceuticals Inc.</propValue>
                </propertyConcept>
                <propertyConcept>
                    <propName>SHAPETEXT</propName>
                    <propValue>barrel shaped</propValue>
                </propertyConcept>
                <propertyConcept>
                    <propName>COLOR</propName>
                    <propValue>C48333</propValue>
                </propertyConcept>
            </propertyConceptList>
        </ndcProperty>
    </ndcPropertyList>
</rxnormdata>

Example: Properties of NDCs identified by SPL set ID

XML: https://rxnav.nlm.nih.gov/REST/ndcproperties?id=8d24bacb-feff-4c6a-b8df-625e1435387a

JSON: https://rxnav.nlm.nih.gov/REST/ndcproperties.json?id=8d24bacb-feff-4c6a-b8df-625e1435387a

An XML result is shown below.

<rxnormdata>
    <ndcPropertyList>
        <ndcProperty>
            <ndcItem>00069040001</ndcItem>
            <ndc9>0069-0400</ndc9>
            <ndc10>0069-0400-01</ndc10>
            <rxcui>1668240</rxcui>
            <splSetIdItem>8d24bacb-feff-4c6a-b8df-625e1435387a</splSetIdItem>
            <packagingList>
                <packaging>5 mL in 1 VIAL</packaging>
            </packagingList>
            <propertyConceptList>
                <propertyConcept>
                    <propName>MARKETING_STATUS</propName>
                    <propValue>active</propValue>
                </propertyConcept>
                <propertyConcept>
                    <propName>MARKETING_EFFECTIVE_TIME_LOW</propName>
                    <propValue>20140307</propValue>
                </propertyConcept>
                <propertyConcept>
                    <propName>NDA</propName>
                    <propValue>NDA050733</propValue>
                </propertyConcept>
                ...
            </propertyConceptList>
        </ndcProperty>
        <ndcProperty>
            <ndcItem>00069040010</ndcItem>
            <ndc9>0069-0400</ndc9>
            <ndc10>0069-0400-10</ndc10>
            <rxcui>1668240</rxcui>
            <splSetIdItem>8d24bacb-feff-4c6a-b8df-625e1435387a</splSetIdItem>
            <packagingList>
                <packaging>10  in 1 CARTON</packaging>
            </packagingList>
            <propertyConceptList>
                <propertyConcept>
                    <propName>MARKETING_STATUS</propName>
                    <propValue>active</propValue>
                </propertyConcept>
                <propertyConcept>
                    <propName>MARKETING_EFFECTIVE_TIME_LOW</propName>
                    <propValue>20140307</propValue>
                </propertyConcept>
                <propertyConcept>
                    <propName>NDA</propName>
                    <propValue>NDA050733</propValue>
                </propertyConcept>
                ...
            </propertyConceptList>
        </ndcProperty>
    </ndcPropertyList>
</rxnormdata>