Returns detailed nutritional information for the specified food. Use this call to display nutrition
values for a food to users.
The only storable values returned by this call are the food_id unique identifier and the one or
more serving_id unique serving size identifier values.
Why are we introducing this version?
This version contains an update to the JSON output structure.
Including Sub Categories (Premier Only):
An additional optional parameter named
include_sub_categories is available to premier clients only.
This parameter, of type
Boolean should be specified as “true” in order to enable this feature.
When this parameter is included, the response will include the names of all sub categories associated with the food.
Flag Default Serving (Premier Only):
An additional optional parameter named
flag_default_serving is available to premier clients only.
This parameter, of type
Boolean should be specified as “true” in order to enable this feature.
When this parameter is included, the response will flag one of the servings as the default serving (the suggested or most commonly chosen option).
Localization (Premier Only):
Two additional optional parameters named
region and
language are available to premier clients. More information can be found
in the
Localization guide.