Application Development Support: Web Services: RESTful Resources

"/drugname/{name}/{label_type}/spls"

Returns a list of all SPLs with the given drug name.
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

  • name - Drug name to receive a list of SPLs from. This parameter is required.
  • label_type - Filter results by a specified class type. This parameter is optional. Acceptable values are listed below.
    • rxonly - Prescription drugs only.
    • otc - OTC drugs only.
    • human - Human drugs only.
    • human/rxonly Human prescription drugs only.
    • human/otc - Human OTC drugs only.
    • animal - Animal drugs only.

Errors

  • 404 - NO SPLs found for drug name of {name}

Return Formats

RETURN FORMATS EXAMPLES

  • XML: https://dailymed.nlm.nih.gov/dailymed/services/v1/drugname/sanctura%20xr/spls.xml

    Returns

    <?xml version="1.0" encoding="UTF-8" ?>
    <spls>
    	<spl>
    		<setid>5bc62cef-1c78-4ddb-bdde-0574e5218f63</setid>
    		<spl_version>6</spl_version>
    		<published_date>October 11, 2011</published_date>
    		<title>
    			SANCTURA XR (TROSPIUM CHLORIDE) CAPSULE, EXTENDED RELEASE [ALLERGAN, INC. ]
    		</title>
    	</spl>
    	<spl>
    		<setid>b7f27114-5d3c-4a78-a7dc-3e690a4aa1de</setid>
    		<spl_version>2</spl_version>
    		<published_date>October 17, 2011</published_date>
    		<title>
    			SANCTURA XR (TROSPIUM CHLORIDE) CAPSULE, EXTENDED RELEASE [PHYSICIANS TOTAL CARE, INC.]
    		</title>
    	</spl>
    </spls>
    									
    Close
  • JSON: https://dailymed.nlm.nih.gov/dailymed/services/v1/drugname/sanctura%20xr/spls.json

    Returns

    {
    	"COLUMNS": [
    		"SETID",
    		"TITLE",
    		"SPL_VERSION",
    		"PUBLISHED_DATE"
    	],
    	"DATA": [
    		[
    			"5bc62cef-1c78-4ddb-bdde-0574e5218f63",
    			"SANCTURA XR (TROSPIUM CHLORIDE) CAPSULE, EXTENDED RELEASE [ALLERGAN, INC. ]",
    			6,
    			"October 11, 2011"
    		],
    		[
    			"b7f27114-5d3c-4a78-a7dc-3e690a4aa1de",
    			"SANCTURA XR (TROSPIUM CHLORIDE) CAPSULE, EXTENDED RELEASE [PHYSICIANS TOTAL CARE, INC.]",
    			2,
    			"October 17, 2011"
    		]
    	]
    }
    									
    Close

RETURN TO PREVIOUS WEB SERVICES