Application Development Support: Web Services: RESTful Resources

"/drugclasses"

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

Query Parameters

Filters

  • drug_class_code - Code representing a pharmacologic drug class. This parameter is optional. See the FDA documentation for Pharmacologic Classes 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. See the FDA documentation for Pharmacologic Classes for more information. Acceptable values are listed below.
    • 2.16.840.1.113883.3.26.1.5 - National Drug File Reference Terminology. (Default value)
  • class_code_type - Type of pharmacologic drug class. This parameter is optional. See the FDA documentation for Pharmacologic Classes for more information. Acceptable values are listed below.
    • all - All types of Drug Classes. (Default value)
    • epc - FDA Established Pharmacologic Class.
    • moa - Mechanism of Action.
    • pe - Physiologic Effect.
    • ci or chemical/ingredient - Chemical/Ingredient.
  • class_name - Name of the drug class. This parameter is optional.
  • unii_code - Unique Ingredient Identifier (UNII) code. This parameter is optional. See the documentation for resource /uniis 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

RETURN FORMATS EXAMPLES

  • XML: https://dailymed.nlm.nih.gov/dailymed/services/v2/drugclasses.xml?pagesize=5&page=2
  • JSON: https://dailymed.nlm.nih.gov/dailymed/services/v2/drugclasses.json?pagesize=5&page=2

RETURN TO WEB SERVICES