Prescribable RxNorm API


Information returned
National Drug Codes (NDC) associated with a concept
Service domain
HTTP request
GET  /REST/Prescribe/rxcui/rxcui/ndcs.xml


Get the active National Drug Codes (NDCs) for the RxNorm concept specified by rxcui. Active NDCs are those NDCs present in the current version of RxNorm. Only the NDCs curated by RxNorm (i.e., with SAB = RXNORM) are returned by this function (i.e., the NDCs provided solely by proprietary sources, but not curated by RxNorm are omitted).

The NDCs are returned in the CMS 11-digit NDC derivative form.


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


rxcuiPathRequiredRxNorm identifier of a drug product (term type SBD, SCD, BPCK, or GPCK)

Notation for results

One of:
Get results in XML
Get results in JSON

Note that HTTP requires that query parameters be "URL encoded". 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 rxnormdata. It is described in the XML Schema for the Prescribable 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:

Root element in XML, or anonymous object in JSON
(Always empty)
ndc (array)
National Drug Code (NDC) in CMS 11-digit format

Example: NDCs for Viagra 25 MG Oral Tablet (RxCUI=213269)

XML: https://rxnav.nlm.nih.gov/REST/Prescribe/rxcui/213269/ndcs

JSON: https://rxnav.nlm.nih.gov/REST/Prescribe/rxcui/213269/ndcs.json

An XML result is shown below.