Recommended Daily Intake

Return recommended daily intakes of energy and nutrients personalized from the user's profile (sex, age, weight, height, activity level).

Optionally combine with Daily Nutritional Goal and Remaining Daily Intake to guide users toward targets throughout the day.


Plan & Token Requirements

Feature available in the following LogMeal Plans:

Analyse
Monitor
Recommend
Custom

Accessible by the following User Types:

🔴 APIUser


What It Does

Recommended Daily Intake (RDI) returns a personalized set of daily nutrient recommendations for a user. It provides energy (kcal) and macronutrient targets based on sex, age, weight, height and activity level. With Monitor or higher, additional micronutrient recommendations (e.g., calcium, iron, vitamins, magnesium, fiber, sugar, potassium, etc.) are included.


When to Use It / Outcomes

  • You want to initialize nutrition targets for new users in your app.
  • You need baseline goals when custom daily goals have not been configured.
  • You want to personalize macro splits and micronutrient guidance from profile data.
  • Output: JSON with recommended daily energy and macronutrients recommendations autoconfigured considering the user profile; on Monitor or higher, micronutrient targets are also returned.

Feature-Specific Details

  • Energy estimation: Uses Harris–Benedict to compute BMR and multiplies by activity level to estimate daily calories.

  • Default macro allocation (of daily calories):

    • Carbohydrates: 45% ÷ 4 = grams/day
    • Protein: 20% ÷ 4 = grams/day
    • Fat: 35% ÷ 9 = grams/day
  • Ranges: Min/Max ranges depend on each nutrient and may be adjusted when users set Daily Nutritional Goals.

  • More nutrients with higher plans: Additional micronutrients are available on Monitor and above.


Related Endpoints


Typical Workflow

  1. Ensure the user profile is set (sex, age, weight, height, activity). Optionally customize salt/sugar/oil preferences. Call POST /profile/modifyUserProfileInfo.
  2. Call GET /nutrition/getRecommendedDailyIntake with the 🔴 APIUser token.
  3. Parse response to obtain kcal, macros, and (on higher plans) micronutrients.
  4. Display targets to the user; optionally create Daily Nutritional Goals from these values and show Remaining Daily Intake throughout the day. Recommendations are also stored automatically inside the LogMeal DB for future reference and recommendations.