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": "2023-03-22",
      "calories_active": 2000,
      "calories_total": 100,
      "daily_movement": 200,
      "date": "2023-03-22T00:00:00+00:00",
      "floors_climbed": 10,
      "heart_rate": {
        "avg_bpm": 80,
        "max_bpm": 100,
        "min_bpm": 60,
        "resting_bpm": 60
      },
      "high": 6000,
      "low": 6400,
      "medium": 6400,
      "source": {
        "logo": "https://logo_url.com",
        "name": "Oura",
        "slug": "oura"
      },
      "steps": 10000,
      "time_zone": "Europe/London",
      "timezone_offset": 3600,
      "user_id": "1449752e-0d8a-40e0-9206-91ab099b2537"
    }
  ]
}
curl --request GET \
     --url {{BASE_URL}}/v2/summary/activity/{user_id}/raw \
     --header 'Accept: application/json' \
     --header 'x-vital-api-key: <API_KEY>'

Authorizations

x-vital-api-key
string
header
required

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