Garmin
The Garmin Health API gives D4L Collect access to the health and fitness data that participants sync from their Garmin device to Garmin Connect. This is how D4L Collect gets heart, sleep, stress, and activity data from Garmin watches and wearables.
D4L Collect never connects to the Garmin device directly. It only receives what the device has synced to Garmin Connect.
At a glance
| Topic | Details |
|---|---|
| Source type | Cloud API (Garmin Health API), delivered to a D4L server and fetched by the study app |
| Devices | Garmin watches and wearables that sync with the Garmin Connect app. Which signals a participant's device delivers depends on the model and its settings. |
| In Research Studio | Under Background recordings, select Garmin account |
| What participants do | Pair their Garmin device with the Garmin Connect app and keep it syncing, sign in with their Garmin account in the study app, and allow access to their data |
| Data range | From the moment participants give their study consent. Data recorded before that is never collected. |
| Collection | Garmin sends new data to a D4L server whenever the device has synced. The study app fetches it from there periodically in the background. |
| Export | CSV, one file per signal and day. See Exported files. |
Garmin doesn't deliver data in real time. A device syncs to Garmin Connect when an activity ends, when the participant syncs manually, or on a schedule, so data can arrive hours after it was recorded.
Available signals
| Signal | Unit | Sampling type | When it's measured |
|---|---|---|---|
| Steps | steps | Running total | All day |
| Distance | m | Running total | All day |
| Floors | floors | Running total | All day |
| Calories | kcal | Running total | All day |
| Activity | level 0–2, metabolic equivalent (MET), s | Interval 15 min | All day |
| Heart rate | bpm | Sample | All day, including sleep |
| Resting heart rate | bpm | Daily summary | Once per day, updated with each sync |
| Heart rate variability | ms (RMSSD) | Sample | Main sleep |
| VO2 max | ml/kg/min, years | Daily summary | Once per day |
| Sleep | stage + s | Interval one row per sleep stage | Sleep sessions |
| Sleep score | score 0–100 | Sample once per sleep | Main sleep |
| Respiratory rate | breaths/min | Sample | All day |
| SpO2 | % | Sample | When SpO2 tracking is on |
| Stress | score 0–100 | Sample | All day |
| Body battery | level 0–100 | Sample | All day |
| Skin temperature | °C | Daily summary | Main sleep |
| Body composition | g, %, BMI | Sample per measurement | When the participant weighs in |
| Blood pressure | mmHg, bpm | Sample per measurement | When the participant measures |
| Menstrual cycle | days, phase | Daily summary entered by the participant | When logged |
Not every participant's device delivers every signal. For which devices support which data, see the Garmin Health API documentation.
Signal reference
The tables show example rows from the CSV files.
Movement and energy
Steps
Steps taken so far today. This is a running total, not a value per interval. Garmin sends the total of the day with each sync, so there are a few rows per day. Use the last row of the day as the daily total. timestamp is the end of the period that the sync covers. For the last sync of a day, it's the last millisecond of the participant's local day.
File: Garmin_dailySteps_dailySteps.csv
| timestamp | dailySteps |
|---|---|
| 2026-10-19T08:10:00Z | 1210 |
| 2026-10-19T13:45:00Z | 3870 |
| 2026-10-19T21:59:59.999Z | 8420 |
Distance
Distance covered so far today, in meters. A running total, with the same timestamps as Steps.
File: Garmin_dailyDistance_dailyDistance.csv
| timestamp | dailyDistance |
|---|---|
| 2026-10-19T08:10:00Z | 1004 |
| 2026-10-19T13:45:00Z | 3102 |
| 2026-10-19T21:59:59.999Z | 6841 |
Floors
Floors climbed so far today. A running total, with the same timestamps as Steps.
File: Garmin_dailyFloors_dailyFloors.csv
| timestamp | dailyFloors |
|---|---|
| 2026-10-19T08:10:00Z | 3 |
| 2026-10-19T13:45:00Z | 7 |
| 2026-10-19T21:59:59.999Z | 12 |
Calories
Total energy burned so far today, in kcal. This is the sum of active calories and resting energy (BMR), the same value that Garmin Connect shows as total calories. A running total, with the same timestamps as Steps.
File: Garmin_dailyCalories_dailyCalories.csv
| timestamp | dailyCalories |
|---|---|
| 2026-10-19T08:10:00Z | 1018 |
| 2026-10-19T13:45:00Z | 1655 |
| 2026-10-19T21:59:59.999Z | 2405 |
Activity
Garmin's activity level per 15-minute window, with the average metabolic equivalent (MET) and the number of seconds the participant was active in the window. timestamp is the start of the window. For the codes, see Coded values.
File: Garmin_activity_activityLevel_averageMetabolicEquivalent_duration.csv
| timestamp | activityLevel | averageMetabolicEquivalent_MET | duration_s |
|---|---|---|---|
| 2026-10-19T08:00:00Z | 0 | 1.1 | 0 |
| 2026-10-19T08:15:00Z | 1 | 3.2 | 540 |
| 2026-10-19T08:30:00Z | 2 | 6.8 | 780 |
Heart and fitness signals
Heart rate
Heart rate in beats per minute, recorded throughout the day and night. Values come about every 15 seconds.
File: Garmin_heartRate_heartRate.csv
| timestamp | heartRate_bpm |
|---|---|
| 2026-10-19T07:39:00Z | 68 |
| 2026-10-19T07:39:15Z | 69 |
| 2026-10-19T07:39:30Z | 71 |
Resting heart rate
Resting heart rate of the day in beats per minute. Garmin recalculates it during the day and sends the current value with each sync, so there are a few rows per day. Use the last row of the day. The timestamps work like those of Steps.
File: Garmin_restingHeartRate_restingHeartRate.csv
| timestamp | restingHeartRate_bpm |
|---|---|
| 2026-10-19T08:10:00.000Z | 58 |
| 2026-10-19T13:45:00.000Z | 57 |
| 2026-10-19T21:59:59.999Z | 57 |
Heart rate variability
Root mean square of successive differences (RMSSD) between heartbeats, in milliseconds. Measured in 5-minute intervals during the main sleep. Garmin's average for the whole night isn't exported.
File: Garmin_hrvRmssd_hrvRmssd.csv
| timestamp | hrvRmssd |
|---|---|
| 2026-10-19T01:05:00Z | 48 |
| 2026-10-19T01:10:00Z | 52 |
| 2026-10-19T01:15:00Z | 45 |
VO2 max
VO2 max in ml/kg/min and Garmin's fitness age in years. One row per day, timestamped at noon. A value that Garmin doesn't provide is exported as -1.
File: Garmin_vo2max_vo2max.csv
| timestamp | vo2max_vo2max | vo2max_fitnessAge |
|---|---|---|
| 2026-10-19T10:00:00Z | 44 | 32 |
| 2026-10-20T10:00:00Z | 44 | -1 |
Sleep and breathing signals
Sleep
Sleep stages of each sleep session. There's one row per stage: timestamp is the start of the stage and duration_s is its length in seconds. sleepLevel is exported as text: wake, light, deep, or rem. Garmin's awake stage is exported as wake. A night is assigned to the day on which the sleep session ends.
File: Garmin_sleep_sleepLevel_duration.csv
| timestamp | sleepLevel | duration_s |
|---|---|---|
| 2026-10-18T21:52:00Z | light | 1800 |
| 2026-10-18T22:22:00Z | deep | 2400 |
| 2026-10-18T23:02:00Z | rem | 1500 |
| 2026-10-18T23:27:00Z | wake | 300 |
Sleep score
Garmin's overall sleep score from 0 to 100. There's one row per sleep, timestamped at the moment the participant woke up. Garmin's rating text, for example "good", isn't exported.
File: Garmin_sleepScore_sleepScore.csv
| timestamp | sleepScore |
|---|---|
| 2026-10-19T04:35:00Z | 82 |
| 2026-10-20T04:50:00Z | 76 |
Respiratory rate
Breaths per minute, about once per minute, throughout the day and night. Garmin delivers one value per measurement, 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: Garmin_respiratoryRate_respiratoryRate.csv
| timestamp | respiratoryRate_bpm_full | respiratoryRate_bpm_rem | respiratoryRate_bpm_light | respiratoryRate_bpm_deep |
|---|---|---|---|---|
| 2026-10-19T08:00:00Z | 14.6 | 14.6 | 14.6 | 14.6 |
| 2026-10-19T08:01:00Z | 14.4 | 14.4 | 14.4 | 14.4 |
SpO2
Blood oxygen saturation in percent. Garmin devices only measure it when SpO2 tracking is on, and many devices have it off by default. Participants can turn it on in the device settings, for example for the time during sleep only.
File: Garmin_spo2_spo2.csv
| timestamp | spo2_% |
|---|---|
| 2026-10-19T00:10:00Z | 96 |
| 2026-10-19T00:55:00Z | 94 |
Stress and wellbeing signals
Stress
Garmin's stress score from 0 (rest) to 100 (high stress), as 3-minute averages throughout the day. Windows without a measurement, for example during intense movement, have no row.
File: Garmin_stress_stress.csv
| timestamp | stress_level |
|---|---|
| 2026-10-19T08:00:00Z | 18 |
| 2026-10-19T08:03:00Z | 24 |
| 2026-10-19T08:06:00Z | 31 |
Body battery
Garmin's Body Battery energy level from 0 to 100, as 3-minute values throughout the day. It comes together with the stress score, and windows without a measurement have no row. Garmin's daily totals of charged and drained energy aren't exported.
File: Garmin_bodyBattery_bodyBattery.csv
| timestamp | bodyBattery |
|---|---|
| 2026-10-19T08:00:00Z | 55 |
| 2026-10-19T08:03:00Z | 55 |
| 2026-10-19T08:06:00Z | 54 |
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. Timestamped at noon.
File: Garmin_skinTemperatureDeviation_skinTemperatureDeviation.csv
| timestamp | skinTemperatureDeviation_˚C |
|---|---|
| 2026-10-18T10:00:00Z | -0.3 |
| 2026-10-19T10:00:00Z | 0.2 |
Body composition
Measurements from a Garmin smart scale: weight in grams, body mass index, body fat in percent, muscle mass and bone mass in grams, and body water in percent. There's one row per weigh-in, timestamped at the time of the measurement. A value that the scale doesn't provide is exported as -1.
File: Garmin_bodyComposition_bodyComposition.csv
| timestamp | bodyComposition_weightInGrams | bodyComposition_bodyMassIndex | bodyComposition_bodyFatInPercent | bodyComposition_muscleMassInGrams | bodyComposition_boneMassInGrams | bodyComposition_bodyWaterInPercent |
|---|---|---|---|---|---|---|
| 2026-10-19T05:30:00Z | 72400 | 23.1 | 18.5 | 31200 | 3100 | 56.2 |
Blood pressure
Systolic and diastolic blood pressure in mmHg and pulse in bpm, from a compatible Garmin blood pressure monitor. There's one row per measurement, timestamped at the time of the measurement. A value that the monitor doesn't provide is exported as -1.
File: Garmin_bloodPressure_bloodPressure.csv
| timestamp | bloodPressure_systolic | bloodPressure_diastolic | bloodPressure_pulse |
|---|---|---|---|
| 2026-10-19T05:42:10Z | 118 | 76 | 62 |
Women's health
Menstrual cycle
The state of the participant's current menstrual cycle, as calculated by Garmin. The participant enters the cycle in Garmin Connect. The device doesn't measure it, so there are only rows for the days on which a cycle is logged. There's one row per day, timestamped at noon. The day of a row is the start of the cycle plus the day in the cycle.
Garmin only shares this calculated state. Symptoms, discomfort, flow, and sex drive that the participant logs in Garmin Connect aren't available. Pregnancy isn't exported.
A value that Garmin doesn't provide is exported as -1. For the codes, see Coded values.
File: Garmin_menstrualCycle_menstrualCycle.csv
| timestamp | menstrualCycle_dayInCycle | menstrualCycle_phase | menstrualCycle_cycleLength | menstrualCycle_periodLength | menstrualCycle_daysUntilNextPhase | menstrualCycle_fertileWindowStart | menstrualCycle_isPredictedCycle |
|---|---|---|---|---|---|---|---|
| 2026-10-06T10:00:00Z | 4 | 1 | 28 | 7 | 4 | 11 | 0 |
| 2026-10-07T10:00:00Z | 5 | 1 | 28 | 7 | 3 | 11 | 0 |
Menstrual cycle data is a sensitive category. Make sure that your study's consent wording covers it before you enable it. Participants must also allow the Women's Health data in Garmin Connect. Participants who connected their account before you enabled this signal have to connect again.
Exported files
You find Garmin data in the CSV export of your study data. For details, see Downloading study data.
{Subject ID}/csv/Recordings_Signal_Data/{YYYY-MM-DD}/Garmin_{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
Garmin_, followed by the signal and its value columns, for exampleGarmin_heartRate_heartRate.csv. - All files start with a
timestampcolumn (UTC, ISO 8601). Files from Garmin have nodataSourcecolumn.
Know before you analyze
Data arrives with a delay
Garmin delivers data after the device has synced to Garmin Connect, which can take hours. Data for the current day is therefore incomplete until the participant's device has synced. D4L Collect only adds values that are newer than the latest value it already stored for a signal on that day. Values that Garmin delivers late with an older timestamp aren't added.
Days are local days
Garmin assigns data to the participant's local day, not to the UTC day. Group rows by the participant's local day. A night's sleep belongs to the day on which it ends. For the time zone, see Timestamps.
Running totals
Steps, distance, floors, and calories are running totals for the day. Each row repeats the total of the day so far, so the last row of a day equals the daily total. Don't add the rows up. For more on running totals, see Terms used on these pages.
Resting heart rate works the same way. Garmin updates the value during the day, and the last row is the final one.
Daily summaries are timestamped at noon
Skin temperature, VO2 max, and the menstrual cycle 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.
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 and Body Battery have their own scales
Garmin calculates stress and Body Battery with its own algorithms. Don't compare them with the stress values of other devices. For more, see Comparing across devices.
Coded values
Some columns use codes instead of text:
| Column | Codes |
|---|---|
sleepLevel | Exported as text: wake, light, deep, rem |
activityLevel | 0 = sedentary, 1 = active, 2 = highly active |
menstrualCycle_phase | 1 = menstrual, 2 = follicular, 3 = ovulation, 4 = luteal, 5 = pregnancy, -1 = unknown |
menstrualCycle_isPredictedCycle | 1 = predicted by Garmin, 0 = based on the participant's entries |