Your browser does not support JavaScript!
DailyMed Logo Header image

Daily Med

Current Medication Information

DailyMed provides high quality information about marketed drugs.

Drug labeling on this Web site is the most recent submitted to the Food and Drug Administration (FDA) and currently in use; it may include, for example, strengthened warnings undergoing FDA review or minor editorial changes. These labels have been reformatted to make them easier to read.

Options

At the present time this Web site does not contain a complete listing of labels for approved prescription drugs. Currently this Web site contains 64386 drugs.

Resource "/drugclasses"

Returns a list of all drug classes associated with at least one SPL in the Pharmacologic Class Indexing Files.

Versions: 2

Query Parameters

Filters Output Control Return Formats Examples
XML:
http://dailymed.nlm.nih.gov/dailymed/services/v2/drugclasses.xml?pagesize=5&page=2
returns
<?xml version="1.0" encoding="UTF-8"?>
<drugclasses>
  <metadata>
    <total_elements>777</total_elements>
    <elements_per_page>5</elements_per_page>
    <total_pages>156</total_pages>
    <current_page>2</current_page>
    <current_url>http://dailymed.nlm.nih.gov/dailymed/services/v2/drugclasses.xml?pagesize=5&page=2</current_url>
    <previous_page>1</previous_page>
    <previous_page_url>http://dailymed.nlm.nih.gov/dailymed/services/v2/drugclasses.xml?pagesize=5&page=1</previous_page_url>
    <next_page>3</next_page>
    <next_page_url>http://dailymed.nlm.nih.gov/dailymed/services/v2/drugclasses.xml?pagesize=5&page=3</next_page_url>
  </metadata>
  <drugclass>
    <name type="EPC">Adenosine Receptor Agonist</name>
    <code codingSystem="2.16.840.1.113883.3.26.1.5">N0000178375</code>
  </drugclass>
  <drugclass>
    <name type="EPC">Adrenal Steroid Synthesis Inhibitor</name>
    <code codingSystem="2.16.840.1.113883.3.26.1.5">N0000175928</code>
  </drugclass>
  <drugclass>
    <name type="EPC">Adrenergic Receptor Agonist</name>
    <code codingSystem="2.16.840.1.113883.3.26.1.5">N0000175883</code>
  </drugclass>
  <drugclass>
    <name type="EPC">Adrenocorticotropic Hormone</name>
    <code codingSystem="2.16.840.1.113883.3.26.1.5">N0000175941</code>
  </drugclass>
  <drugclass>
    <name type="EPC">Aldehyde Dehydrogenase Inhibitor</name>
    <code codingSystem="2.16.840.1.113883.3.26.1.5">N0000175679</code>
  </drugclass>
</drugclasses>
JSON:
http://dailymed.nlm.nih.gov/dailymed/services/v2/drugclasses.json?pagesize=5&page=2
returns
{
  "metadata": {
    "elements_per_page": "5",
    "next_page_url": "http:\/\/dailymed.nlm.nih.gov\/dailymed\/services\/v2\/drugclasses.json?pagesize=5&page=3",
    "total_pages": "156",
    "total_elements": "777",
    "current_url": "http:\/\/dailymed.nlm.nih.gov\/dailymed\/services\/v2\/drugclasses.json?pagesize=5&page=2",
    "next_page": "3",
    "previous_page": "1",
    "previous_page_url": "http:\/\/dailymed.nlm.nih.gov\/dailymed\/services\/v2\/drugclasses.json?pagesize=5&page=1",
    "current_page": "2"
  },
  "data": [
    {
      "codingSystem": "2.16.840.1.113883.3.26.1.5",
      "name": "Adenosine Receptor Agonist",
      "type": "EPC",
      "code": "N0000178375"
    },
    {
      "codingSystem": "2.16.840.1.113883.3.26.1.5",
      "name": "Adrenal Steroid Synthesis Inhibitor",
      "type": "EPC",
      "code": "N0000175928"
    },
    {
      "codingSystem": "2.16.840.1.113883.3.26.1.5",
      "name": "Adrenergic Receptor Agonist",
      "type": "EPC",
      "code": "N0000175883"
    },
    {
      "codingSystem": "2.16.840.1.113883.3.26.1.5",
      "name": "Adrenocorticotropic Hormone",
      "type": "EPC",
      "code": "N0000175941"
    },
    {
      "codingSystem": "2.16.840.1.113883.3.26.1.5",
      "name": "Aldehyde Dehydrogenase Inhibitor",
      "type": "EPC",
      "code": "N0000175679"
    }
  ]
}

Return to Web Services

Visit The National Library of Medicine Copyright, Privacy, Accessibility
U.S. National Library of Medicine, 8600 Rockville Pike, Bethesda, MD 20894
National Institutes of Health, Health & Human Services