API for accessing and searching label stored in the Dietary Supplement Label Database (DSLD). When testing through SwaggerHub, please not that the API returns large result sets. In this case it is recommended to lower the size parameter to 10.
retrieve data for a single label (getLabel)
Retrieves a label by unique dsldId.
Path parameters
dsldId (required)
Path Parameter — label ID
Return type
Example data
Content-Type: application/json
{
"langualProductType" : "langualProductType",
"entryDate" : "2016-08-29T00:00:00.000Z",
"dsldId" : 0,
"statementGroups" : [ {
"groupName" : "groupName",
"statements" : "statements"
}, {
"groupName" : "groupName",
"statements" : "statements"
} ],
"ipSymbol" : "ipSymbol",
"productName" : "productName",
"langualClaimsOrUses" : "langualClaimsOrUses",
"dietarySupplementsFacts" : [ {
"driFootNotes" : "driFootNotes",
"otherTargetGroups" : "otherTargetGroups",
"servingsPerContainer" : 6,
"labelFootNotes" : "labelFootNotes",
"dailyValueTargetGroups" : "dailyValueTargetGroups",
"targetGroupId" : "3970",
"ingredients" : [ {
"childInfo" : [ {
"prefix" : "prefix",
"percentage" : "percentage",
"name" : "name",
"altName" : "altName",
"botanicalInfo" : "botanicalInfo"
}, {
"prefix" : "prefix",
"percentage" : "percentage",
"name" : "name",
"altName" : "altName",
"botanicalInfo" : "botanicalInfo"
} ],
"data" : [ {
"ingredientEntryCategory" : "ingredientEntryCategory",
"sfbQuantityQuantity" : 1,
"relationalOperatorOperatorSymbol" : "relationalOperatorOperatorSymbol",
"ingredientEntrySubspecies" : "ingredientEntrySubspecies",
"unitName" : "unitName",
"blendAncestry" : "blendAncestry",
"sfbDvPercent" : 5.962133916683182377482808078639209270477294921875,
"ingredientEntryPlantPart" : "ingredientEntryPlantPart",
"ingredientEntryNotes" : "ingredientEntryNotes",
"ingredientEntrySpecies" : "ingredientEntrySpecies",
"ingredientEntryGenus" : "ingredientEntryGenus",
"ingredientEntryIpSymbolId" : "ingredientEntryIpSymbolId"
}, {
"ingredientEntryCategory" : "ingredientEntryCategory",
"sfbQuantityQuantity" : 1,
"relationalOperatorOperatorSymbol" : "relationalOperatorOperatorSymbol",
"ingredientEntrySubspecies" : "ingredientEntrySubspecies",
"unitName" : "unitName",
"blendAncestry" : "blendAncestry",
"sfbDvPercent" : 5.962133916683182377482808078639209270477294921875,
"ingredientEntryPlantPart" : "ingredientEntryPlantPart",
"ingredientEntryNotes" : "ingredientEntryNotes",
"ingredientEntrySpecies" : "ingredientEntrySpecies",
"ingredientEntryGenus" : "ingredientEntryGenus",
"ingredientEntryIpSymbolId" : "ingredientEntryIpSymbolId"
} ],
"dvPercent" : 5,
"name" : "name",
"altName" : "altName",
"dvFactor" : 2.3021358869347654518833223846741020679473876953125
}, {
"childInfo" : [ {
"prefix" : "prefix",
"percentage" : "percentage",
"name" : "name",
"altName" : "altName",
"botanicalInfo" : "botanicalInfo"
}, {
"prefix" : "prefix",
"percentage" : "percentage",
"name" : "name",
"altName" : "altName",
"botanicalInfo" : "botanicalInfo"
} ],
"data" : [ {
"ingredientEntryCategory" : "ingredientEntryCategory",
"sfbQuantityQuantity" : 1,
"relationalOperatorOperatorSymbol" : "relationalOperatorOperatorSymbol",
"ingredientEntrySubspecies" : "ingredientEntrySubspecies",
"unitName" : "unitName",
"blendAncestry" : "blendAncestry",
"sfbDvPercent" : 5.962133916683182377482808078639209270477294921875,
"ingredientEntryPlantPart" : "ingredientEntryPlantPart",
"ingredientEntryNotes" : "ingredientEntryNotes",
"ingredientEntrySpecies" : "ingredientEntrySpecies",
"ingredientEntryGenus" : "ingredientEntryGenus",
"ingredientEntryIpSymbolId" : "ingredientEntryIpSymbolId"
}, {
"ingredientEntryCategory" : "ingredientEntryCategory",
"sfbQuantityQuantity" : 1,
"relationalOperatorOperatorSymbol" : "relationalOperatorOperatorSymbol",
"ingredientEntrySubspecies" : "ingredientEntrySubspecies",
"unitName" : "unitName",
"blendAncestry" : "blendAncestry",
"sfbDvPercent" : 5.962133916683182377482808078639209270477294921875,
"ingredientEntryPlantPart" : "ingredientEntryPlantPart",
"ingredientEntryNotes" : "ingredientEntryNotes",
"ingredientEntrySpecies" : "ingredientEntrySpecies",
"ingredientEntryGenus" : "ingredientEntryGenus",
"ingredientEntryIpSymbolId" : "ingredientEntryIpSymbolId"
} ],
"dvPercent" : 5,
"name" : "name",
"altName" : "altName",
"dvFactor" : 2.3021358869347654518833223846741020679473876953125
} ],
"servingSizeUnitName" : "servingSizeUnitName",
"servingSizeQuantity" : 7,
"otheringredients" : "{}",
"targetGroupName" : "targetGroupName",
"usageSuggestion" : "{}"
}, {
"driFootNotes" : "driFootNotes",
"otherTargetGroups" : "otherTargetGroups",
"servingsPerContainer" : 6,
"labelFootNotes" : "labelFootNotes",
"dailyValueTargetGroups" : "dailyValueTargetGroups",
"targetGroupId" : "3970",
"ingredients" : [ {
"childInfo" : [ {
"prefix" : "prefix",
"percentage" : "percentage",
"name" : "name",
"altName" : "altName",
"botanicalInfo" : "botanicalInfo"
}, {
"prefix" : "prefix",
"percentage" : "percentage",
"name" : "name",
"altName" : "altName",
"botanicalInfo" : "botanicalInfo"
} ],
"data" : [ {
"ingredientEntryCategory" : "ingredientEntryCategory",
"sfbQuantityQuantity" : 1,
"relationalOperatorOperatorSymbol" : "relationalOperatorOperatorSymbol",
"ingredientEntrySubspecies" : "ingredientEntrySubspecies",
"unitName" : "unitName",
"blendAncestry" : "blendAncestry",
"sfbDvPercent" : 5.962133916683182377482808078639209270477294921875,
"ingredientEntryPlantPart" : "ingredientEntryPlantPart",
"ingredientEntryNotes" : "ingredientEntryNotes",
"ingredientEntrySpecies" : "ingredientEntrySpecies",
"ingredientEntryGenus" : "ingredientEntryGenus",
"ingredientEntryIpSymbolId" : "ingredientEntryIpSymbolId"
}, {
"ingredientEntryCategory" : "ingredientEntryCategory",
"sfbQuantityQuantity" : 1,
"relationalOperatorOperatorSymbol" : "relationalOperatorOperatorSymbol",
"ingredientEntrySubspecies" : "ingredientEntrySubspecies",
"unitName" : "unitName",
"blendAncestry" : "blendAncestry",
"sfbDvPercent" : 5.962133916683182377482808078639209270477294921875,
"ingredientEntryPlantPart" : "ingredientEntryPlantPart",
"ingredientEntryNotes" : "ingredientEntryNotes",
"ingredientEntrySpecies" : "ingredientEntrySpecies",
"ingredientEntryGenus" : "ingredientEntryGenus",
"ingredientEntryIpSymbolId" : "ingredientEntryIpSymbolId"
} ],
"dvPercent" : 5,
"name" : "name",
"altName" : "altName",
"dvFactor" : 2.3021358869347654518833223846741020679473876953125
}, {
"childInfo" : [ {
"prefix" : "prefix",
"percentage" : "percentage",
"name" : "name",
"altName" : "altName",
"botanicalInfo" : "botanicalInfo"
}, {
"prefix" : "prefix",
"percentage" : "percentage",
"name" : "name",
"altName" : "altName",
"botanicalInfo" : "botanicalInfo"
} ],
"data" : [ {
"ingredientEntryCategory" : "ingredientEntryCategory",
"sfbQuantityQuantity" : 1,
"relationalOperatorOperatorSymbol" : "relationalOperatorOperatorSymbol",
"ingredientEntrySubspecies" : "ingredientEntrySubspecies",
"unitName" : "unitName",
"blendAncestry" : "blendAncestry",
"sfbDvPercent" : 5.962133916683182377482808078639209270477294921875,
"ingredientEntryPlantPart" : "ingredientEntryPlantPart",
"ingredientEntryNotes" : "ingredientEntryNotes",
"ingredientEntrySpecies" : "ingredientEntrySpecies",
"ingredientEntryGenus" : "ingredientEntryGenus",
"ingredientEntryIpSymbolId" : "ingredientEntryIpSymbolId"
}, {
"ingredientEntryCategory" : "ingredientEntryCategory",
"sfbQuantityQuantity" : 1,
"relationalOperatorOperatorSymbol" : "relationalOperatorOperatorSymbol",
"ingredientEntrySubspecies" : "ingredientEntrySubspecies",
"unitName" : "unitName",
"blendAncestry" : "blendAncestry",
"sfbDvPercent" : 5.962133916683182377482808078639209270477294921875,
"ingredientEntryPlantPart" : "ingredientEntryPlantPart",
"ingredientEntryNotes" : "ingredientEntryNotes",
"ingredientEntrySpecies" : "ingredientEntrySpecies",
"ingredientEntryGenus" : "ingredientEntryGenus",
"ingredientEntryIpSymbolId" : "ingredientEntryIpSymbolId"
} ],
"dvPercent" : 5,
"name" : "name",
"altName" : "altName",
"dvFactor" : 2.3021358869347654518833223846741020679473876953125
} ],
"servingSizeUnitName" : "servingSizeUnitName",
"servingSizeQuantity" : 7,
"otheringredients" : "{}",
"targetGroupName" : "targetGroupName",
"usageSuggestion" : "{}"
} ],
"langualCodes" : [ {
"targetGroup" : [ "targetGroup", "targetGroup" ],
"claimsOrUses" : [ "claimsOrUses", "claimsOrUses" ],
"supplementForm" : [ "supplementForm", "supplementForm" ],
"productType" : [ "productType", "productType" ]
}, {
"targetGroup" : [ "targetGroup", "targetGroup" ],
"claimsOrUses" : [ "claimsOrUses", "claimsOrUses" ],
"supplementForm" : [ "supplementForm", "supplementForm" ],
"productType" : [ "productType", "productType" ]
} ],
"langualTargetGroup" : "langualTargetGroup",
"statementOfIdentity" : "statementOfIdentity",
"netContentQuantities" : "netContentQuantities",
"offMarket" : 9,
"langualSupplementForm" : "langualSupplementForm",
"sku" : "sku",
"nhanesId" : "nhanesId",
"brand" : "brand",
"outerPackaging" : "outerPackaging",
"servingSize" : [ {
"size" : "size",
"type" : "type"
}, {
"size" : "size",
"type" : "type"
} ],
"events" : [ {
"date" : "date",
"name" : "name"
}, {
"date" : "date",
"name" : "name"
} ],
"contacts" : [ {
"zip" : "zip",
"country" : "country",
"isDistributor" : "isDistributor",
"city" : "city",
"webAddress" : "webAddress",
"isManufacturer" : "isManufacturer",
"contactType" : "contactType",
"isPackager" : "isPackager",
"isReseller" : "isReseller",
"phoneNumber" : "phoneNumber",
"streetAddress" : "streetAddress",
"name" : "name",
"state" : "state",
"isOther" : "isOther",
"email" : "email"
}, {
"zip" : "zip",
"country" : "country",
"isDistributor" : "isDistributor",
"city" : "city",
"webAddress" : "webAddress",
"isManufacturer" : "isManufacturer",
"contactType" : "contactType",
"isPackager" : "isPackager",
"isReseller" : "isReseller",
"phoneNumber" : "phoneNumber",
"streetAddress" : "streetAddress",
"name" : "name",
"state" : "state",
"isOther" : "isOther",
"email" : "email"
} ],
"suggestedUse" : "suggestedUse"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
data for a single label
Label
500
bad input parameter
primary search API call (searchFilter)
Allows API consumer to retrieve a set of labels by product name matching a complex combination of search terms and filters
Query parameters
q (optional)
Query Parameter — query term, will search for submitted tokens across all label fields, use quotes to find exact multi token matches
from (optional)
Query Parameter — number of start record for pagination, default is 0 default: 0 format: int32
size (optional)
Query Parameter — number of records to return, starting at from default: 1000 format: int32
sort_by (optional)
Query Parameter — specifies sort_by mode
sort_order (optional)
Query Parameter — specifies sort_by mode
status (optional)
Query Parameter — filter for market status, optional parameter, 2 all, 1 on market, 0 off market
date_start (optional)
Query Parameter — filter for entryDate start year, optional parameter, use 4 digit year YYYY
date_end (optional)
Query Parameter — filter for entryDate end year, optional parameter, use 4 digit year YYYY
product_name (optional)
Query Parameter — filter for product name(s), one or more separated by comma. optional, requires product name to contain submitted token
product_type (optional)
Query Parameter — filter for product type, one ore more codes separated by comma. Codes are a1305 Amino Acid/Protein,a1306 Botanical,a1326 Fiber and Other Nutrients,a1310 Omega 3 and Other Fatty Acids,a1302 Vitamin,a1299 Mineral,a1316 Single Vitamin and Mineral,a1315 Multi-Vitamin and Mineral (MVM),a1317 Botanicals with Nutrients,a1309 Non-Nutrient/Non-Botanical,a1325 Other Combinations
ingredient_name (optional)
Query Parameter — filter for ingredient name, one or more separated by comma, optional, requires ingredient name to contain submitted token, or the ingredient to be synonymous with submitted token
ingredient_group (optional)
Query Parameter — filter for ingredient group, one ore more codes separated by comma. Codes are amino_acid,animal_part_or_source,blend,botanical,sugars,complex_carbohydrate,enzyme,fat,fatty_acid,fiber,hormone,chemical,bacteria,protein,vitamin,mineral,other,tbd
brand (optional)
Query Parameter — filter for brand name, one or more separated by comma, optional, requires brand name to contain submitted token
target_group (optional)
Query Parameter — filter for product target group, one ore more codes separated by comma. Codes are p0250 All Adults and Children Four Years and Above,p0192 Children 1 to 4 Years,p0266 Infants,p0253 Pregnant and Lactating
supplement_form (optional)
Query Parameter — filter for product supplement form, one ore more codes separated by comma. Codes are e0164 Bars,e0159 Capsules,e0161 Softgel Capsules,e0155 Tablets and Pills,e0176 Gummies and Jellies,e0165 Liquids,e0174 Lozenges,e0162 Powders,e0172 Other (e.g. tea bag),e0177 Unknown
label_claim (optional)
Query Parameter — filter for label statements and claims, one or more separated by comma, optional, requires label statement type to contain submitted token
claim_type (optional)
Query Parameter — filter for claim type present on label, one ore more codes separated by comma. Codes are p0065 Nutrient,p0265 Structure/Function,p0124 Approved Health,p0264 Qualified Health,p0115 All Other,p0276 No Claims
Return type
Example data
Content-Type: application/json
{
"hits" : [ {
"_index" : "_index",
"_type" : "_type",
"_source" : "{}",
"_id" : "_id",
"sort" : [ 6.02745618307040320615897144307382404804229736328125, 6.02745618307040320615897144307382404804229736328125 ],
"_score" : 0.80082819046101150206595775671303272247314453125
}, {
"_index" : "_index",
"_type" : "_type",
"_source" : "{}",
"_id" : "_id",
"sort" : [ 6.02745618307040320615897144307382404804229736328125, 6.02745618307040320615897144307382404804229736328125 ],
"_score" : 0.80082819046101150206595775671303272247314453125
} ],
"stats" : "{}"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
search results matching criteria
SearchResult
500
bad input parameter
Up
get /search-filter-histogram
search API supporting call, generates histogram of labels over time based on selection criterica (searchFilterHistogram)
Allows API consumer to retrieve a of labels by product name matching a complex combination of search terms and filters
Query parameters
q (optional)
Query Parameter — query term, will search for submitted tokens across all label fields, use quotes to find exact multi token matches
from (optional)
Query Parameter — number of start record for pagination, default is 0 default: 0 format: int32
size (optional)
Query Parameter — number of records to return, starting at from default: 1000 format: int32
sort_by (optional)
Query Parameter — specifies sort_by mode
sort_order (optional)
Query Parameter — specifies sort_by mode
status (optional)
Query Parameter — filter for market status, optional parameter, 2 all, 1 on market, 0 off market
date_start (optional)
Query Parameter — filter for entryDate start year, optional parameter, use 4 digit year YYYY
date_end (optional)
Query Parameter — filter for entryDate end year, optional parameter, use 4 digit year YYYY
product_name (optional)
Query Parameter — filter for product name(s), one or more separated by comma. optional, requires product name to contain submitted token
product_type (optional)
Query Parameter — filter for product type, one ore more codes separated by comma. Codes are a1305 Amino Acid/Protein,a1306 Botanical,a1326 Fiber and Other Nutrients,a1310 Omega 3 and Other Fatty Acids,a1302 Vitamin,a1299 Mineral,a1316 Single Vitamin and Mineral,a1315 Multi-Vitamin and Mineral (MVM),a1317 Botanicals with Nutrients,a1309 Non-Nutrient/Non-Botanical,a1325 Other Combinations
ingredient_name (optional)
Query Parameter — filter for ingredient name, one or more separated by comma, optional, requires ingredient name to contain submitted token, or the ingredient to be synonymous with submitted token
ingredient_group (optional)
Query Parameter — filter for ingredient group, one ore more codes separated by comma. Codes are amino_acid,animal_part_or_source,blend,botanical,sugars,complex_carbohydrate,enzyme,fat,fatty_acid,fiber,hormone,chemical,bacteria,protein,vitamin,mineral,other,tbd
brand (optional)
Query Parameter — filter for brand name, one or more separated by comma, optional, requires brand name to contain submitted token
target_group (optional)
Query Parameter — filter for product target group, one ore more codes separated by comma. Codes are p0250 All Adults and Children Four Years and Above,p0192 Children 1 to 4 Years,p0266 Infants,p0253 Pregnant and Lactating
supplement_form (optional)
Query Parameter — filter for product supplement form, one ore more codes separated by comma. Codes are e0164 Bars,e0159 Capsules,e0161 Softgel Capsules,e0155 Tablets and Pills,e0176 Gummies and Jellies,e0165 Liquids,e0174 Lozenges,e0162 Powders,e0172 Other (e.g. tea bag),e0177 Unknown
label_claim (optional)
Query Parameter — filter for label statements and claims, one or more separated by comma, optional, requires label statement type to contain submitted token
claim_type (optional)
Query Parameter — filter for claim type present on label, one ore more codes separated by comma. Codes are p0065 Nutrient,p0265 Structure/Function,p0124 Approved Health,p0264 Qualified Health,p0115 All Other,p0276 No Claims
Return type
Example data
Content-Type: application/json
""
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
search results matching criteria
SearchHistogramResult
500
bad input parameter