GET
/
v2
/
summary
/
activity
/
{user_id}
curl --request GET \
     --url {{BASE_URL}}/v2/summary/activity/{user_id}/raw \
     --header 'Accept: application/json' \
     --header 'x-vital-api-key: <API_KEY>'
{
  "activity": [
    {
      "calendar_date": "2022-08-04",
      "calories_total": 100,
      "calories_active": 2000,
      "steps": 10000,
      "daily_movement": 200,
      "low": 6400,
      "medium": 6400,
      "high": 6000,
      "source": {
        "name": "Garmin",
        "slug": "garmin",
        "logo": "https://logo_url.com"
      },
      "user_id": "70c64d5a-ff06-4c16-b137-361b2441d86e",
      "heart_rate": {
        "avg_bpm": 76.4,
        "max_bpm": 134,
        "min_bpm": 55,
        "resting_bpm": 60
      }
    }
  ]
}

Authorizations

x-vital-api-key
string
headerrequired

API key based authentication

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

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
activity
object[]
required