Meal
Summary
Get user’s meals
GET
/
v2
/
summary
/
meal
/
{user_id}
All values in the returned model are supplied in the following units:
meals[*].data[*].energy.value
in calorieskcal
meals[*].data[*].macros.carbs
in gramsg
meals[*].data[*].macros.protein
in gramsg
meals[*].data[*].macros.fats.saturated
in gramsg
meals[*].data[*].macros.fats.monounsaturated
in gramsg
meals[*].data[*].macros.fats.polyunsaturated
in gramsg
meals[*].data[*].macros.fats.omega3
in gramsg
meals[*].data[*].macros.fats.omega6
in gramsg
meals[*].data[*].macros.alcohol
in litreslt
meals[*].data[*].macros.water
in litreslt
meals[*].data[*].macros.fibre
in gramsg
meals[*].data[*].macros.sugar
in gramsg
meals[*].data[*].micros.minerals
key: value pairs in milligramsmg
meals[*].data[*].micros.trace_elements
key: value pairs in milligramsmg
meals[*].data[*].micros.vitamins
key: value pairs in milligramsmg
Authorizations
x-vital-api-key
string
headerrequiredVital Team API Key
Path Parameters
user_id
string
requiredQuery Parameters
provider
string
default: Provider oura/strava etc
start_date
string
requiredDate from in YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 00:00:00
end_date
string | null
Date to YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 23:59:59
Response
200 - application/json
meals
object[]
required