Single Daily Activity Document
curl --location --request GET 'https://api.ouraring.com/v2/usercollection/daily_activity/2-5daccc095220cc5493a4e9c2b681ca941e' \--header 'Authorization: Bearer <token>'import requestsurl = 'https://api.ouraring.com/v2/usercollection/daily_activity/2-5daccc095220cc5493a4e9c2b681ca941e'headers = { 'Authorization': 'Bearer <token>'}response = requests.request('GET', url, headers=headers, params=params)print(response.text)var myHeaders = new Headers();myHeaders.append('Authorization', 'Bearer <token>');var requestOptions = { method: 'GET', headers: myHeaders,};fetch('https://api.ouraring.com/v2/usercollection/daily_activity/2-5daccc095220cc5493a4e9c2b681ca941e', requestOptions) .then(response => response.text()) .then(result => console.log(result)) .catch(error => console.log('error', error));OkHttpClient client = new OkHttpClient().newBuilder() .build();Request request = new Request.Builder() .url("https://api.ouraring.com/v2/usercollection/daily_activity/2-5daccc095220cc5493a4e9c2b681ca941e") .method("GET", null) .addHeader("Authorization", "Bearer <token>") .build();Response response = client.newCall(request).execute();Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”Successful Response
Object defining a daily activity that is a 24-hour period starting at 4 a.m.
object
Unique identifier of the object.
Active calories expended in kilocalories.
Average MET minutes.
Object containing activity score contributors.
Day that the daily activity belong to.
Equivalent walking distance of energe expenditure in meters.
The total METs of each minute classified as high activity.
The total time in seconds of each minute classified as high activity.
Number of inactivity alerts received.
The total METs of each minute classified as low activity.
The total time in seconds of each minute classified as low activity.
The total METs of each minute classified as medium activity.
The total time in seconds of each minute classified as medium activity.
Sample containing METs.
object
Interval in seconds between the sampled items.
Recorded sample items.
Timestamp when the sample recording started.
Meters remaining to target.
Ring non-wear time in seconds.
Resting time in seconds.
Sedentary MET minutes.
Sedentary time in seconds.
Total number of steps taken.
Daily activity target in kilocalories.
Daily activity target in meters.
Timestamp of the daily activity.
Total calories expended in kilocalories.
Examplegenerated
{ "id": "example", "active_calories": 1, "average_met_minutes": 1, "class_5_min": "example", "contributors": { "meet_daily_targets": 1, "move_every_hour": 1, "recovery_time": 1, "stay_active": 1, "training_frequency": 1, "training_volume": 1 }, "day": "example", "equivalent_walking_distance": 1, "high_activity_met_minutes": 1, "high_activity_time": 1, "inactivity_alerts": 1, "low_activity_met_minutes": 1, "low_activity_time": 1, "medium_activity_met_minutes": 1, "medium_activity_time": 1, "met": { "interval": 1, "items": [ 1 ], "timestamp": "example" }, "meters_to_target": 1, "non_wear_time": 1, "resting_time": 1, "score": 1, "sedentary_met_minutes": 1, "sedentary_time": 1, "steps": 1, "target_calories": 1, "target_meters": 1, "timestamp": "example", "total_calories": 1}Client Exception
Unauthorized access exception. Usually means the access token is expired, malformed or revoked.
Access forbidden. Usually means the user’s subscription to Oura has expired and their data is not available via the API.
Not Found
Validation Error
object
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}Request Rate Limit Exceeded.