Application Development Support: Web Services: RESTful Resources

"/drugclass/{class_type}/list"

Returns a list of all drug classes and codes with the given class type.
API Version: 1

NOTE:The DailyMed API has been updated to Version 2, which includes new resources and provides improved access to the DailyMed data. For information about the current API, visit the Web Services Page.

Path Parameters

  • class_type - Filter results by a specified class type. This parameter is optional. Acceptable values are listed below.
    • epc - FDA Established Pharmacologic Class only.
    • ndfrt - VA NDF-RT Classifications only.
    • ndfrt/moa - Mechanism of Action only.
    • ndfrt/pe - Physiologic Effect only.
    • ndfrt/chemical - Chemical/Ingredient only.

Return Formats

RETURN FORMATS EXAMPLES

  • XML: https://dailymed.nlm.nih.gov/dailymed/services/v1/drugclass/ndfrt/moa/list.xml

    Returns

    <?xml version="1.0" encoding="UTF-8" ?>
    <drug_classes>
    	<drug_class>
    		<name type="MoA">5-Lipoxygenase Inhibitors</name>
    		<code codingSystem="2.16.840.1.113883.3.26.1.5">N0000175955</code>
    	</drug_class>
    	<drug_class>
    		<name type="MoA">5-alpha Reductase Inhibitors</name>
    		<code codingSystem="2.16.840.1.113883.3.26.1.5">N0000000126</code>
    	</drug_class>
    	<drug_class>
    		<name type="MoA">Acetyl Aldehyde Dehydrogenase Inhibitors</name>
    		<code codingSystem="2.16.840.1.113883.3.26.1.5">N0000000183</code>
    	</drug_class>
    	<drug_class>
    		<name type="MoA">Acetylcholine Release Inhibitors</name>
    		<code codingSystem="2.16.840.1.113883.3.26.1.5">N0000175770</code>
    	</drug_class>
    	<drug_class>
    		<name type="MoA">Acidifying Activity</name>
    		<code codingSystem="2.16.840.1.113883.3.26.1.5">N0000175833</code>
    	</drug_class>
    	...
    </drug_classes>
    													
    Close
  • JSON: https://dailymed.nlm.nih.gov/dailymed/services/v1/drugclass/ndfrt/moa/list.json

    Returns

    {
    	"COLUMNS": [
    		"CLASS_NAME",
    		"CLASS_TYPE",
    		"CLASS_CODE",
    		"CODING_SYSTEM"
    	],
    	"DATA": [
    		[
    			"5-Lipoxygenase Inhibitors",
    			"MoA",
    			"N0000175955",
    			"2.16.840.1.113883.3.26.1.5"
    		],
    		[
    			"5-alpha Reductase Inhibitors",
    			"MoA",
    			"N0000000126",
    			"2.16.840.1.113883.3.26.1.5"
    		],
    		[
    			"Acetyl Aldehyde Dehydrogenase Inhibitors",
    			"MoA",
    			"N0000000183",
    			"2.16.840.1.113883.3.26.1.5"
    		],
    		[
    			"Acetylcholine Release Inhibitors",
    			"MoA",
    			"N0000175770",
    			"2.16.840.1.113883.3.26.1.5"
    		],
    		[
    			"Acidifying Activity",
    			"MoA",
    			"N0000175833",
    			"2.16.840.1.113883.3.26.1.5"
    		],
    		...
    	]
    }
    													
    Close

RETURN TO PREVIOUS WEB SERVICES