v3

latestOpenAPI 3.1.02026-07-31121144224.9 KB
External: Summaries

Get Activity Summary

Returns daily aggregated activity metrics.

Aggregates time-series data (steps, energy, heart rate, etc.) by day.

get/api/v1/users/{user_id}/summaries/activity

Path parameters

user_idstring uuid required

Query parameters

start_datestring date-time required

ISO 8601 datetime (e.g. 2023-11-07T05:31:56Z) or Unix timestamp in seconds. Date-only strings (e.g. 2023-11-07) are also accepted and normalized to midnight UTC.

Example:2023-11-07T05:31:56Z

ISO 8601 datetime (e.g. 2023-11-07T05:31:56Z) or Unix timestamp in seconds. Date-only strings (e.g. 2023-11-07) are also accepted and normalized to midnight UTC.

end_datestring date-time required

ISO 8601 datetime (e.g. 2023-11-07T05:31:56Z) or Unix timestamp in seconds. Date-only strings (e.g. 2023-11-07) are also accepted and normalized to midnight UTC.

Example:2023-11-07T05:31:56Z

ISO 8601 datetime (e.g. 2023-11-07T05:31:56Z) or Unix timestamp in seconds. Date-only strings (e.g. 2023-11-07) are also accepted and normalized to midnight UTC.

cursorstring nullable
limitinteger
sort_orderstring

Headers

X-Open-Wearables-API-Keystring nullable

Response

Successful Response

Example response

{
  "data": [
    {
      "source": {
        "provider": "apple_health",
        "device": "Apple Watch Series 9"
      },
      "steps": 8432,
      "distance_meters": 6240.5,
      "floors_climbed": 12,
      "elevation_meters": 36,
      "active_calories_kcal": 342.5,
      "total_calories_kcal": 2150,
      "active_minutes": 60,
      "sedentary_minutes": 480
    }
  ],
  "pagination": {
    "next_cursor": "eyJpZCI6IjEyMzQ1Njc4OTAiLCJ0cyI6MTcwNDA2NzIwMH0",
    "total_count": 150
  }
}