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
| Topic | Details |
|---|---|
| Source type | Cloud API (Oura API V2) |
| Devices | Oura Ring. Which signals a participant's ring delivers depends on the ring generation and its settings. |
| In Research Studio | Under Background recordings, select Oura account |
| What participants do | Install 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 range | From the moment participants give their study consent. Data recorded before that is never collected. |
| Collection | The study app fetches new data periodically in the background. |
| Export | CSV, one file per signal and day. See Exported files. |
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
| Signal | Unit | Sampling type | When it's measured |
|---|---|---|---|
| Steps | steps | Daily summary | Once per day, after the day has ended |
| Calories | kcal | Daily summary | Once per day, after the day has ended |
| Activity | activity class | Interval 5 min | All day |
| Workouts | s | Interval one row per workout | When the ring detects or the participant logs a workout |
| Heart rate | bpm | Sample | All day, including sleep |
| Heart rate variability | ms (RMSSD) | Sample 5 min | Sleep periods |
| Cardiovascular age | years, m/s | Daily summary | Once per day |
| Sleep | stage + s | Interval 5 min | Sleep periods |
| Respiratory rate | breaths/min | Sample once per sleep period | Sleep periods |
| SpO2 | % | Daily summary | Sleep |
| Stress | s | Daily summary | Once per day |
| Skin temperature | °C | Daily summary | Sleep |
| Tags | s | Interval one row per tag | When the participant adds a tag |
| Battery level | % | Sample | All 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
| timestamp | dailyStepsTotal |
|---|---|
| 2026-10-19T02:00:00Z | 8420 |
| 2026-10-20T02:00:00Z | 10233 |
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
| timestamp | dailyCaloriesTotal_kcal |
|---|---|
| 2026-10-19T02:00:00Z | 2405 |
| 2026-10-20T02:00:00Z | 2581 |
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
| timestamp | activityLevel |
|---|---|
| 2026-10-19T08:00:00Z | inactive |
| 2026-10-19T08:05:00Z | low |
| 2026-10-19T08:10:00Z | medium |
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
| timestamp | workout_s |
|---|---|
| 2026-10-19T16:30:00Z | 2700 |
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
| timestamp | heartRate_bpm |
|---|---|
| 2026-10-19T07:39:12Z | 68 |
| 2026-10-19T07:44:12Z | 71 |
| 2026-10-19T07:49:12Z | 66 |
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
| timestamp | hrvRmssd |
|---|---|
| 2026-10-18T23:05:00Z | 48 |
| 2026-10-18T23:10:00Z | 52 |
| 2026-10-18T23:15:00Z | 45 |
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
| timestamp | cardiovascularAge_vascularAge | cardiovascularAge_pulseWaveVelocity |
|---|---|---|
| 2026-10-19T10:00:00Z | 34 | 7.1 |
| 2026-10-20T10:00:00Z | 34 | NaN |
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
| timestamp | sleepLevel | duration_s |
|---|---|---|
| 2026-10-18T21:52:00Z | wake | 300 |
| 2026-10-18T21:57:00Z | light | 300 |
| 2026-10-18T22:02:00Z | light | 300 |
| 2026-10-18T22:07:00Z | deep | 300 |
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
| timestamp | respiratoryRate_bpm_full | respiratoryRate_bpm_rem | respiratoryRate_bpm_light | respiratoryRate_bpm_deep |
|---|---|---|---|---|
| 2026-10-19T04:35:00Z | 14.6 | 14.6 | 14.6 | 14.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
| timestamp | spo2_% |
|---|---|
| 2026-10-19T10:00:00Z | 96.4 |
| 2026-10-20T10:00:00Z | 97.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
| timestamp | stress_level |
|---|---|
| 2026-10-19T10:00:00Z | 5400 |
| 2026-10-20T10:00:00Z | 1800 |
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
| timestamp | tag_s |
|---|---|
| 2026-10-19T19:00:00Z | 0 |
| 2026-10-19T21:30:00Z | 3600 |
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
| timestamp | skinTemperatureDeviation_˚C |
|---|---|
| 2026-10-18T22:00:00Z | -0.3 |
| 2026-10-19T22:00:00Z | 0.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
| timestamp | batteryLevel_% |
|---|---|
| 2026-10-19T08:00:00Z | 87 |
| 2026-10-19T09:00:00Z | 85 |
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 exampleOura Ring_heartRate_heartRate.csv. - All files start with a
timestampcolumn (UTC, ISO 8601). Files from Oura have nodataSourcecolumn.
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:
| Column | Codes |
|---|---|
sleepLevel | Exported as text: wake, light, deep, rem. Windows in which Oura couldn't detect a stage are exported as wake. |
activityLevel | Exported as text: non_wear (ring not worn), rest, inactive, low, medium, high |