"/uniis"
Returns a list of all UNIIs.
API Version: 2
Query Parameters
Filters
- active_moiety - The Active Moiety related to a UNII code. This parameter is optional.
- drug_class_code - Code representing a pharmacologic drug class. This parameter is optional. See the documentation for resource /drugclasses for more information.
-
drug_class_coding_system - Used with drug_class_code to specify the coding system of the drug class code. This parameter is optional. Acceptable values are listed below.
- 2.16.840.1.113883.3.26.1.5 - National Drug File Reference Terminology. (Default value)
- rxcui - RxNorm Concept Unique Identifier (RXCUI) code. This parameter is optional. See the documentation for resource /rxcuis for more information.
- unii_code - Unique Ingredient Identifier Code representing an ingredient. This parameter is optional. See the FDA documentation for UNII for more information.
Output Controls
- pagesize - The number of records returned per page. This parameter is optional (Default 100, Maximum 100).
- page - The page returned. This parameter is optional (Default 1).
Return Formats
- XML: https://dailymed.nlm.nih.gov/dailymed/services/v2/uniis.xml
- JSON: https://dailymed.nlm.nih.gov/dailymed/services/v2/uniis.json
RETURN FORMATS EXAMPLES
-
XML: https://dailymed.nlm.nih.gov/dailymed/services/v2/uniis.xml?pagesize=5&page=2
Returns
<?xml version="1.0" encoding="UTF-8"?> <uniis> <metadata> <total_elements>4605</total_elements> <elements_per_page>5</elements_per_page> <total_pages>921</total_pages> <current_page>2</current_page> <current_url>https://dailymed.nlm.nih.gov/dailymed/services/v2/uniis.xml?pagesize=5&page=2</current_url> <previous_page>1</previous_page> <previous_page_url>https://dailymed.nlm.nih.gov/dailymed/services/v2/uniis.xml?pagesize=5&page=1</previous_page_url> <next_page>3</next_page> <next_page_url>https://dailymed.nlm.nih.gov/dailymed/services/v2/uniis.xml?pagesize=5&page=3</next_page_url> </metadata> <unii> <unii_code>WR1WPI7EW8</unii_code> <active_moiety>.ALPHA.-TOCOPHEROL ACETATE, DL-</active_moiety> </unii> <unii> <unii_code>LU4B53JYVE</unii_code> <active_moiety>.ALPHA.-TOCOPHEROL SUCCINATE, D-</active_moiety> </unii> <unii> <unii_code>N9PR3490H9</unii_code> <active_moiety>.ALPHA.-TOCOPHEROL, D-</active_moiety> </unii> <unii> <unii_code>7QWA1RIO01</unii_code> <active_moiety>.ALPHA.-TOCOPHEROL, DL-</active_moiety> </unii> <unii> <unii_code>F43I396OIS</unii_code> <active_moiety>.ALPHA.1-PROTEINASE INHIBITOR HUMAN</active_moiety> </unii> </uniis>
Close -
JSON: https://dailymed.nlm.nih.gov/dailymed/services/v2/uniis.json?pagesize=5&page=2
Returns
{ "metadata": { "elements_per_page": "5", "next_page_url": "https://dailymed.nlm.nih.gov/dailymed/services/v2/uniis.json?pagesize=5&page=3", "total_pages": "921", "total_elements": "4605", "current_url": "https://dailymed.nlm.nih.gov/dailymed/services/v2/uniis.json?pagesize=5&page=2", "next_page": "3", "previous_page": "1", "previous_page_url": "https://dailymed.nlm.nih.gov/dailymed/services/v2/uniis.json?pagesize=5&page=1", "current_page": "2" }, "data": [{ "unii_code": "WR1WPI7EW8", "active_moiety": ".ALPHA.-TOCOPHEROL ACETATE, DL-" }, { "unii_code": "LU4B53JYVE", "active_moiety": ".ALPHA.-TOCOPHEROL SUCCINATE, D-" }, { "unii_code": "N9PR3490H9", "active_moiety": ".ALPHA.-TOCOPHEROL, D-" }, { "unii_code": "7QWA1RIO01", "active_moiety": ".ALPHA.-TOCOPHEROL, DL-" }, { "unii_code": "F43I396OIS", "active_moiety": ".ALPHA.1-PROTEINASE INHIBITOR HUMAN" }] }
Close