Healthy recipe only recommendations for DA
Recommend for chosen mealtime
curl -X GET "https://api.whisk.com/health/recommendations/v2/recommend?meal_time=MEAL_TIME_BREAKFAST&health_profile.height=1.60&health_profile.weight=55&health_profile.activity.leisure=LEISURE_ACTIVITY_LIGHT&health_profile.activity.living=LIVING_ACTIVITY_MODERATE&health_profile.daily_kcal_goal=1700" -H "accept: application/json" -H "Authorization: Bearer %USER_TOKEN%"Recommend for chosen local time
curl -X GET "https://api.whisk.com/health/recommendations/v2/recommend?local_time.minutes=25&local_time.hours=10&offset_timezone=-4&health_profile.height=1.60&health_profile.weight=55&health_profile.activity.leisure=LEISURE_ACTIVITY_LIGHT&health_profile.activity.living=LIVING_ACTIVITY_MODERATE&health_profile.daily_kcal_goal=1700" -H "accept: application/json" -H "Authorization: Bearer %USER_TOKEN%"Recommend for the whole day
curl -X GET "https://api.whisk.com/health/recommendations/v2/recommend/daily?date.year=2022&date.month=11&date.day=16&offset_timezone=2&health_profile.height=1.60&health_profile.weight=55&health_profile.activity.leisure=LEISURE_ACTIVITY_ACTIVE&health_profile.activity.living=LIVING_ACTIVITY_HEAVY&health_profile.daily_kcal_goal=1700" -H "accept: application/json" -H "Authorization: Bearer %USER_TOKEN%"Get recommended nutrition goals with levels
health_profile.daily_kcal_goal is optional. We recommend not to pass it to let Whisk recommendation algorithm calculate it based on other parameters.
curl -X GET "https://api.whisk.com/health/recommendations/v2/goal?date.year=2022&date.month=11&date.day=15&health_profile.height=1.60&health_profile.weight=55&health_profile.activity.leisure=LEISURE_ACTIVITY_MODERATE&health_profile.activity.living=LIVING_ACTIVITY_VERY_LIGHT" -H "accept: application/json" -H "Authorization: Bearer %USER_TOKEN%"Example response
The fields below enable to render fine-tuned color-based indication for recommended nutrition values and how logged food data fits into the recommendations
nutrition_goal represents the complete daily goal for different nutrients
nutrition_goals_per_meal represents nutrition goal breakdown by mealtype. It sums up to nutrition_goal values.
levels_daily represents how different levels should be rendered within a certain goal
e.g. daily goal for FAT (from nutrition_goal field) is 72g and NUTRITION_LEVEL_NORMAL is between 0.8 and 1.2. It means logged nutrition values for FAT between 57.6g and 86.4g are considered normal and should be rendered in a green color (depending on the UI)
levels_per_meal represents recommended nutrition levels for each mealtype
e.g. recommended value for Carbohydrates (NUTRITION_CODE_CHOCDF from nutrition_goals_per_meal field) for Breakfast is 107g and NUTRITION_LEVEL_NORMAL is between 0.8 and 1. It means logged nutrition values for Carbohydrates between 85.6g and 107g are considered normal.
Last updated
Was this helpful?