Zum Hauptinhalt springen

Oura

The Oura API gives D4L Collect access to the health and fitness data that participants sync from their Oura ring to their Oura account. This is how D4L Collect gets heart, sleep, activity, and stress data from the Oura ring.

D4L Collect never connects to the ring directly. It only receives what the ring has synced to the Oura cloud through the Oura app.

At a glance​

TopicDetails
Source typeCloud API (Oura API V2)
DevicesOura Ring. Which signals a participant's ring delivers depends on the ring generation and its settings.
In Research StudioUnder Background recordings, select Oura account
What participants doInstall the Oura app, set up their ring, and keep it syncing. In the study app, sign in with their Oura account and allow access to their data.
Data rangeFrom the moment participants give their study consent. Data recorded before that is never collected.
CollectionThe study app fetches new data periodically in the background.
ExportCSV, one file per signal and day. See Exported files.
Oura Membership

Participants with an Oura Ring need an active Oura Membership. Without it, Oura doesn't share their data through the API, and D4L Collect receives nothing.

Oura doesn't deliver data in real time. The ring syncs to the Oura cloud through the Oura app, and some data, such as sleep, only syncs when the participant opens the Oura app. Data can therefore arrive hours or days after it was recorded.

Available signals​

SignalUnitSampling typeWhen it's measured
StepsstepsDaily summaryOnce per day, after the day has ended
CalorieskcalDaily summaryOnce per day, after the day has ended
Activityactivity classInterval 5 minAll day
WorkoutssInterval one row per workoutWhen the ring detects or the participant logs a workout
Heart ratebpmSampleAll day, including sleep
Heart rate variabilityms (RMSSD)Sample 5 minSleep periods
Cardiovascular ageyears, m/sDaily summaryOnce per day
Sleepstage + sInterval 5 minSleep periods
Respiratory ratebreaths/minSample once per sleep periodSleep periods
SpO2%Daily summarySleep
StresssDaily summaryOnce per day
Skin temperature°CDaily summarySleep
TagssInterval one row per tagWhen the participant adds a tag
Battery level%SampleAll day

Not every participant's ring delivers every signal. For which ring supports which data, see the Oura API documentation. Participants must also allow each data type when they connect their Oura account.

Signal reference​

The tables show example rows from the CSV files.

Movement and energy​

Steps​

Total steps of the day, as calculated by Oura. There's one row per day. D4L Collect only stores the total once the day has ended and doesn't update it afterwards. timestamp is the start of Oura's activity day, which begins at 4:00 in the participant's local time. See Oura's day starts at 4:00.

File: Oura Ring_dailyStepsTotal_dailyStepsTotal.csv

timestampdailyStepsTotal
2026-10-19T02:00:00Z8420
2026-10-20T02:00:00Z10233

Calories​

Total energy burned during the day, in kcal. This is the sum of active calories and resting energy (BMR), the same value that the Oura app shows as total burn. One row per day, with the same timestamps as Steps.

File: Oura Ring_dailyCaloriesTotal_dailyCaloriesTotal.csv

timestampdailyCaloriesTotal_kcal
2026-10-19T02:00:00Z2405
2026-10-20T02:00:00Z2581

Activity​

Oura's activity class per 5-minute window, from non_wear (ring not worn) to high. activityLevel is exported as text. There's one row per window, and timestamp is the start of the window. The file has no duration column, because every row covers 5 minutes. To get the time spent at a level, count the rows and multiply by 300 seconds. For the values, see Coded values.

File: Oura Ring_activity_activityLevel.csv

timestampactivityLevel
2026-10-19T08:00:00Zinactive
2026-10-19T08:05:00Zlow
2026-10-19T08:10:00Zmedium

Workouts​

One row per workout, with its duration in seconds. timestamp is the start of the workout. Workouts can be detected automatically by Oura or entered by the participant in the Oura app. The type of activity, intensity, calories, and distance aren't exported.

File: Oura Ring_workout_workout.csv

timestampworkout_s
2026-10-19T16:30:00Z2700

Heart and fitness signals​

Heart rate​

Heart rate in beats per minute, recorded throughout the day and night. The interval between values varies: about every 5 minutes during sleep, irregularly during the day, and more often during workouts. Oura's information about the context of a value, for example rest or workout, isn't exported.

File: Oura Ring_heartRate_heartRate.csv

timestampheartRate_bpm
2026-10-19T07:39:12Z68
2026-10-19T07:44:12Z71
2026-10-19T07:49:12Z66

Heart rate variability​

Root mean square of successive differences (RMSSD) between heartbeats, in milliseconds. Measured in 5-minute intervals during each sleep period. Intervals without a valid measurement have no row. Oura's average for the whole night isn't exported.

File: Oura Ring_hrvRmssd_hrvRmssd.csv

timestamphrvRmssd
2026-10-18T23:05:00Z48
2026-10-18T23:10:00Z52
2026-10-18T23:15:00Z45

Cardiovascular age​

Oura's estimate of the participant's vascular age in years, and the pulse wave velocity in m/s that it's based on. One row per day, timestamped at noon. Oura doesn't always provide the pulse wave velocity. A missing value is exported as NaN.

File: Oura Ring_cardiovascularAge_cardiovascularAge.csv

timestampcardiovascularAge_vascularAgecardiovascularAge_pulseWaveVelocity
2026-10-19T10:00:00Z347.1
2026-10-20T10:00:00Z34NaN

Sleep and breathing signals​

Sleep​

Sleep stages in 5-minute windows. There's one row per window: timestamp is the start of the window and duration_s is always 300. sleepLevel is exported as text: wake, light, deep, or rem. Unlike other sources, consecutive windows with the same stage aren't merged into one row.

The file contains every sleep period that Oura assigns to the day, including naps, not only the main sleep. A night is assigned to the day on which the participant wakes up.

File: Oura Ring_sleep_sleepLevel_duration.csv

timestampsleepLevelduration_s
2026-10-18T21:52:00Zwake300
2026-10-18T21:57:00Zlight300
2026-10-18T22:02:00Zlight300
2026-10-18T22:07:00Zdeep300

Respiratory rate​

Average breaths per minute over a whole sleep period. There's one row per sleep period, timestamped at the moment the participant woke up. Oura delivers one value per sleep period, not one per sleep stage. D4L Collect writes this value to all four columns (_full, _rem, _light, _deep), so the stage columns don't hold stage-specific values. Use respiratoryRate_bpm_full.

File: Oura Ring_respiratoryRate_respiratoryRate.csv

timestamprespiratoryRate_bpm_fullrespiratoryRate_bpm_remrespiratoryRate_bpm_lightrespiratoryRate_bpm_deep
2026-10-19T04:35:00Z14.614.614.614.6

SpO2​

Average blood oxygen saturation during the night, in percent. One row per day, timestamped at noon. Oura's individual SpO2 measurements aren't exported. Only rings that measure blood oxygen deliver this signal, and participants may have to turn on blood oxygen sensing in the Oura app.

File: Oura Ring_spo2_spo2.csv

timestampspo2_%
2026-10-19T10:00:00Z96.4
2026-10-20T10:00:00Z97.1

Stress and wellbeing signals​

Stress​

Time the participant spent in high stress during the day, in seconds, as calculated by Oura. One row per day, timestamped at noon. The column is named stress_level, but the value is a duration in seconds, not a score. Oura's time in high recovery and its summary of the day aren't exported.

File: Oura Ring_stress_stress.csv

timestampstress_level
2026-10-19T10:00:00Z5400
2026-10-20T10:00:00Z1800

Tags​

Tags that the participant adds in the Oura app, for example to note caffeine, alcohol, or illness. There's one row per tag: timestamp is the start of the tag and tag_s is its duration in seconds. A tag without an end time has a duration of 0.

Only the time and duration of a tag are exported. Which tag the participant chose, custom tag names, and comments aren't exported.

File: Oura Ring_tag_tag.csv

timestamptag_s
2026-10-19T19:00:00Z0
2026-10-19T21:30:00Z3600

Body measurements​

Skin temperature​

Nightly skin temperature as the difference to the participant's personal baseline, in °C. Only the deviation is recorded, never the absolute temperature. One row per day. The timestamp is the start of the day in the participant's local time, as Oura delivers it with the day's readiness summary. In UTC, this can fall on the previous date, for example 2026-10-18T22:00:00Z for 19 October in Germany during summer time.

File: Oura Ring_skinTemperatureDeviation_skinTemperatureDeviation.csv

timestampskinTemperatureDeviation_˚C
2026-10-18T22:00:00Z-0.3
2026-10-19T22:00:00Z0.2

Ring status​

Battery level​

Battery level of the ring in percent, from 0 to 100. Use it to check when the ring was charging or ran out of battery, for example to explain gaps in other signals. Whether the ring was in the charger isn't exported.

File: Oura Ring_batteryLevel_batteryLevel.csv

timestampbatteryLevel_%
2026-10-19T08:00:00Z87
2026-10-19T09:00:00Z85

Exported files​

You find Oura data in the CSV export of your study data. For details, see Downloading study data.

{Subject ID}/csv/Recordings_Signal_Data/{YYYY-MM-DD}/Oura Ring_{signal}_{columns}.csv
  • Each folder holds the data of one day. The folder name is the UTC date of the last value of that day, so it can differ by one day from the participant's local date.
  • Each signal has its own file. The file name starts with Oura Ring_, followed by the signal and its value columns, for example Oura Ring_heartRate_heartRate.csv.
  • All files start with a timestamp column (UTC, ISO 8601). Files from Oura have no dataSource column.

Know before you analyze​

Data arrives with a delay​

Oura delivers data after the ring has synced through the Oura app, which can take hours or days. Data for the last few days is therefore incomplete until the participant's ring has synced.

Each time the study app fetches data, it checks the last 3 days again, so data that reaches Oura late is still added. D4L Collect only adds values that are newer than the latest value it already stored for a signal on that day. Values that Oura delivers late with an older timestamp, for example a workout that the participant enters afterwards for earlier in the day, aren't added. Data that appears in Oura more than 3 days later than newer data isn't collected.

If a ring doesn't sync for several days, nothing is lost. The study app waits until the data appears and then fetches it.

Participants who connect late​

If participants connect their Oura account some time after giving their consent, the study app fetches the data from the consent onward. It fetches up to 30 days at a time, oldest first, so a long history can take several fetches to fill in.

Oura's day starts at 4:00​

Oura's activity day runs from 4:00 to 4:00 in the participant's local time. Steps and calories therefore include activity between midnight and 4:00 of the following night, and they're timestamped at 4:00. The 5-minute Activity rows are assigned to the calendar day on which they fall.

Steps and calories are daily totals​

Oura only provides steps and calories as one total per day. There are no values for shorter intervals, and no total for the current day. D4L Collect stores the total once, at the first fetch after the day has ended. For more on daily summaries, see Terms used on these pages.

Daily summaries are timestamped at noon​

SpO2, stress, and cardiovascular age have one value per day. Their timestamp is 12:00 on that day in the participant's local time zone. The timestamp column shows this in UTC, for example 2026-10-19T10:00:00Z for a participant in Germany during summer time. Skin temperature, steps, and calories use the timestamps that Oura delivers instead.

Sleep includes naps​

Sleep, heart rate variability, and respiratory rate cover every sleep period that Oura records, including naps and rest periods. To analyze only the night, keep the longest sleep period of each day. To get the sleep duration, count the rows that aren't wake and multiply by 300 seconds.

Calories include resting energy​

Calories are the total energy burned over the day, including resting energy (BMR). They are higher than active calories alone. Google Health and Apple Watch deliver active calories only, so the values can't be compared directly.

Stress has its own definition​

Oura's stress value is the time spent in high stress, calculated with Oura's own algorithm. Don't compare it with the stress score of other devices, such as Garmin. For more, see Comparing across devices.

Coded values​

Some columns hold a fixed set of values:

ColumnCodes
sleepLevelExported as text: wake, light, deep, rem. Windows in which Oura couldn't detect a stage are exported as wake.
activityLevelExported as text: non_wear (ring not worn), rest, inactive, low, medium, high