"/ndc/{ndc}/imprintdata"
Returns imprint data associated with the given NDC.
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
- ndc - An NDC to receive a list of SPLs from. This parameter is required.
Errors
- 404 - NO SPLs found for NDC of {ndc}
Return Formats
- XML: https://dailymed.nlm.nih.gov/dailymed/services/v1/ndc/{ndc}/imprintdata.xml
- JSON: https://dailymed.nlm.nih.gov/dailymed/services/v1/ndc/{ndc}/imprintdata.json
RETURN FORMATS EXAMPLES
-
XML: https://dailymed.nlm.nih.gov/dailymed/services/v1/ndc/50580-519-08/imprintdata.xml
Returns
<spls> <spl> <setid>46a7a91b-fb37-4a74-b78d-fa7d97c74d04</setid> <spl_version>1</spl_version> <published_date>June 11, 2012</published_date> <products> <product> <code>50580-519</code> <name>Childrens TYLENOL</name> <splcolor>PINK</splcolor> <color_text>PINK</color_text> <splimprint>TY;80</splimprint> <splshape>ROUND</splshape> <shape_text/> <splsize>13 mm</splsize> <splsymbol/> <splscore>1</splscore> <splcoating/> </product> </products> </spl> </spls>
Close -
JSON: https://dailymed.nlm.nih.gov/dailymed/services/v1/ndc/50580-519-08/imprintdata.json
Returns
{ "COLUMNS": [ "SETID", "SPL_VERSION", "NAME", "PRODUCT_CODE", "SPLCOLOR", "COLOR_TEXT", "SPLIMPRINT", "SPLSHAPE", "SHAPE_TEXT", "SPLSIZE", "SPLSCORE", "SPLSYMBOL", "SPLCOATING", "PUBLISHED_DATE" ], "DATA": [ [ "46a7a91b-fb37-4a74-b78d-fa7d97c74d04", 1, "Childrens TYLENOL", "50580-519", "PINK", "PINK", "TY;80", "ROUND", null, "13 mm", 1, null, null, "June 11, 2012" ] ] }
Close