GET
/
v2
/
summary
/
meal
/
{user_id}

All values in the returned model are supplied in the following units:

  • meals[*].data[*].energy.value in calories kcal
  • meals[*].data[*].macros.carbs in grams g
  • meals[*].data[*].macros.protein in grams g
  • meals[*].data[*].macros.fats.saturated in grams g
  • meals[*].data[*].macros.fats.monounsaturated in grams g
  • meals[*].data[*].macros.fats.polyunsaturated in grams g
  • meals[*].data[*].macros.fats.omega3 in grams g
  • meals[*].data[*].macros.fats.omega6 in grams g
  • meals[*].data[*].macros.alcohol in litres lt
  • meals[*].data[*].macros.water in litres lt
  • meals[*].data[*].macros.fibre in grams g
  • meals[*].data[*].macros.sugar in grams g
  • meals[*].data[*].micros.minerals key: value pairs in milligrams mg
  • meals[*].data[*].micros.trace_elements key: value pairs in milligrams mg
  • meals[*].data[*].micros.vitamins key: value pairs in milligrams mg

Authorizations

x-vital-api-key
string
headerrequired

Vital Team API Key

Path Parameters

user_id
string
required

Query Parameters

provider
string
default:

Provider oura/strava etc

start_date
string
required

Date 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