Variety Score

Intake quality metric that measures how varied a user's diet is.

Service available in the following LogMeal Plans:


Eating foods from a variety of groups helps to provide essential nutrients and achieve a healthy balanced diet. The exposure of different food groups is related to the development of greater diversity of health bacteria in our gut. Also, it helps to prevent certain diseases (malnutrition, metabolic syndrome, heart disease, etc.). To get the right balance, variety should be encouraged within some food groups such as fruits, vegetables or legumes -but not others like sweets. For those reasons, we have implemented the Variety Score, a method of intake analysis that measures how varied a user's diet is.

This feature provides the information about the 'Variety Score' for a duration of time and occasion (if provided) based on the APIUser's food intake over that time. The more varied the diet for a certain user is, the higher this score will be. The range of the value for the variety score is between 0-100 with 100 being the best score possible.

This score considers two main aspects of the user diet.

  1. The variety element: how many different types of nutrient dense food groups the user diet has covered.
  2. The nutritional scoring of dishes belonging to these food groups: This scoring is optional and only considered on user requests. Any nutritional score can be used. It is also possible to define a new score that is tailored to your needs, for any request please contact us: If nutritional scoring is considered, it works as a weighing term for the variety of food groups consumed.

Our customized Variety Score is also inspired by the 'Dietary Variety Score' that was proposed and clinically tested in this scientific study: Drewnowski A, Renderson SA, Driscoll A, Rolls BJ. The Dietary Variety Score: assessing diet quality in healthy young and older adults. Journal of the American Dietetic Association. 1997 Mar 1;97(3):266-71.

The available LogMeal API endpoints for accessing to this service are:

  • GET /score/variety 🔴 Get Variety Score for a provided time period or for a specific occasion.

Accessible by the following Types of Users:

🔴 APIUser

nutrition variety nuts and seeds
vegetables variety

SIGN UP for Free

Try now our FREE API Plan and start applying Food Recognition with one line of code!

Check Available Plans Now!