Allergens and Nutritional Data

These important objects are available in the recipe detail and ingredient detail endpoints. Some additional information is also available in the recipe's get nutritional data endpoint.

Nutritional Info

The values are displayed per 100g. Values that have not been specified in the recipe are omitted from this object. A list of all possible attributes in this object is provided here:

kcal
kj
fat
trans_fatty_acids
saturated_fat
mono_unsaturated_fat
poly_unsaturated_fat
carbohydrate
sugar
added_sugar
cholesterol
protein
animal_protein
plants_protein
fibre
choline
polyol
salt
sodium
starch
vitamin_a
vitamin_c
vitamin_d
vitamin_e
vitamin_k
thiamin
riboflavin
niacin
vitamin_b6
folic_acid
vitamin_b12
biotin
pantothenic_acid
potassium
chloride
calcium
phosphorus
magnesium
iron
zinc
copper
manganese
fluoride
selenium
chromium
molybdenum
iodine
water

πŸ“˜

In a recipe, these values are always calculated.

It is not possible to define these nutritional values directly in a recipe. They are always calculated based on its ingredients and composition.

Nutritional Info per Portion

The API also provides a nutrition_info_per_portion object, which shows the nutrition information per portion of the recipe. The portion size is determined by the user or calculated based on the ingredient composition and is specified by the net_weight attribute of the recipe.

In ingredients, only the nutritional values per 100g are shown.

Allergens

The full list of allergens is included with every object, followed by a number code that specifies their values:

valuemeaning
0Does not contain
1Contains
2May contain traces of
3Unknown

πŸ“˜

In a recipe, these can be manually defined.

Allergens present in the ingredients that make up a recipe will always be present in the recipe itself. Additional allergens can also be specified when editing the recipe.

The default value for an allergen is 0 (Does not contain).

Dietary Info

The full list of possible dietary info specifications is included with every object. These are true or false values.