---
title: "Garmin Connect API integration, self-hosted"
description: "Garmin Connect API data in your own cloud: workouts, sleep, daily metrics and time series, including Body Battery and Stress Level. MIT licensed."
canonical_url: "https://openwearables.io/integrations/garmin"
---

# Garmin's full data set, running in your own cloud

Garmin integration

One API for Garmin and for the rest of the wearables your users own, connected through the official Connect Developer Program and returned in a single schema. Self-hosted in a cloud account you control, under an MIT licence.

[Get started](https://openwearables.io/docs/quickstart) [Book a demo](https://openwearables.io/book)

Built on Open Wearables

- Heart Monitor logo
- Hundred logo
- JustGains logo
- Lifelong logo
- MoveTogether logo
- ROXFIT logo
- Smarter Diagnostics logo
- Suna logo
- Yoboo logo

Data coverage

## Garmin data we support

Everything below arrives in one schema, including Garmin's own readouts such as Body Battery, Fitness Age and Stress Level.

### Workouts

Sessions with distance, energy burned and the heart rate range.

### Sleep

Stages, efficiency, time in bed and naps.

### Daily summaries

Steps, energy, active time and floors climbed.

### Time series

Heart rate, heart rate variability, resting heart rate and respiratory rate.

### Body composition

Weight, body fat, skeletal muscle mass and skin temperature.

### Vitals

Blood pressure and oxygen saturation.

### Performance

VO2 max, cadence, power and speed.

### Location

Latitude, longitude, elevation and air temperature.

### Women's health

Cycle phase, fertile window and pregnancy snapshot.

## What working with Open Wearables gives you

Two views of the same deployment. One for the people wiring it in, one for the people signing it off.

### One schema, not one per provider

Garmin arrives in the same shape as every other source, so your code carries no Garmin-specific branches and adding a source later does not change the call.

  - Activities
  - Sleep
  - HRV
  - Dailies
  - Stress

### The awkward parts already handled

Token lifecycle, the callback endpoint Garmin pushes to, and backfill coordination so several of your user profiles behind one Garmin account do not collide.

  - OAuth 2.0
  - Push webhooks
  - 30-day backfill
  - Rate limits handled

### Garmin changes handled for you

When Garmin changes something, the fix ships in a project release rather than landing in your sprint.

  - Garmin test suite
  - Update with git pull

### Health scores computed in your deployment

Garmin's own sleep score, Body Battery and stress level arrive as data, as Garmin calculates them. Health scores from our science team run alongside them inside your deployment, validated before release, as an add-on to Core or included in Enterprise.

  - Garmin scores
  - Health scores

### Access you control

It runs in your cloud account, under your credentials. When we work on your system, we do it under a DPA you sign.

  - Your credentials
  - Your region

### The Garmin relationship stays yours

Credentials issued in your name, data going straight from Garmin into your account.

  - Garmin Developer Program
  - Your OAuth app
  - Approval required

### Costs you can see

Running it costs your own cloud bill, paid to your provider. Deployment and Integration are one-off services, and modules such as health scores and the health agent are add-ons to Core or included in Enterprise.

  - Your cloud bill
  - One-off deployment

### No dependency on us

Stop working with us and the deployment keeps running, with the code already in your repository.

  - MIT license
  - Full source
  - Public roadmap
  - Public issues
  - Discord

How it works

## From nothing to your first Garmin query

[Get started](https://openwearables.io/docs/quickstart) [Book a demo](https://openwearables.io/book)

01

### Bring it up

Clone the repository and run it with Docker Compose. First API call in five minutes, before any provider is connected.

Terminal

```
$ git clone https://github.com/the-momentum/open-wearables.git
$ cd open-wearables && docker compose up -d
```

02

### Get your Garmin credentials

The slow part, so start here. Garmin issues them to organisations rather than individuals, and they stay in your name, so the data relationship is between you and Garmin.

03

### Connect a user

Your user authorises through Garmin's own consent screen. Open Wearables handles the flow and the token lifecycle, and your deployment hosts the callback endpoint Garmin pushes to.

04

### Query the user, not the provider

Garmin data arrives in the same schema as every other source, in your own database, so your application code carries no Garmin-specific branches.

[Garmin setup guide](https://openwearables.io/docs/providers/garmin-api-integration)

The honest comparison

## Hosted SaaS API, in-house build, or self-hosted

Where each one actually wins. If a hosted API fits your situation, use one.

|  | Hosted SaaS API | Build in-house | Open Wearables, self-hosted |
| --- | --- | --- | --- |
| [01] Garmin credentials | Theirs, already approved | Yours to obtain | Yours, in your own name |
| [02] The approval wait | None for you | Yours to sit through | Yours, and we start it on day one |
| [03] Callback endpoint | They host it | You build and host it | Your deployment hosts it, code included |
| [04] Where Garmin data sits | Their cloud, their regions | Yours | Your cloud account, your region |
| [05] The data model | Theirs, you build against their schema | Yours | Yours, in your database |
| [06] Garmin API changes | They absorb them | Your team tracks and adapts | Fixed in a release you pull |
| [07] Cost shape | Scales with monthly active users | Salaries and infrastructure | Fixed, flattens as you grow |

What stays yours

## The deployment, the data and what you build on it stay in your account, whoever runs it

### Sovereignty

Garmin data goes straight to your cloud, with no aggregator in between.

### Residency

Garmin data stays in the region you chose, provable by pointing at an account.

### Control

What you build on top of Open Wearables is yours, and the schema and the data are in your account.

### Your own reasons

No regulator forcing it. You want the data in your own account anyway.

## Garmin is one integration in the same API

You query a user rather than a provider, so somebody with a Garmin watch and a ring comes back in one shape. Adding the ring later does not change your code.

[Browse all integrations](https://openwearables.io/integrations)

- [Whoop integration](https://openwearables.io/integrations/whoop)
- [Oura integration](https://openwearables.io/integrations/oura)
- [Polar integration](https://openwearables.io/integrations/polar)
- [Suunto integration](https://openwearables.io/integrations/suunto)
- [Withings integration](https://openwearables.io/integrations/withings)
- [Strava integration](https://openwearables.io/integrations/strava)
- [Ultrahuman integration](https://openwearables.io/integrations/ultrahuman)
- [SensorBio integration](https://openwearables.io/integrations/sensorbio)
- [Google Health API integration](https://openwearables.io/integrations/google-health)
- [Fitbit integration](https://openwearables.io/integrations/fitbit)
- [Apple Health integration](https://openwearables.io/integrations/apple-health)
- [Google Health Connect integration](https://openwearables.io/integrations/google-health-connect)
- [Samsung Health integration](https://openwearables.io/integrations/samsung-health)
- [Whoop integration](https://openwearables.io/integrations/whoop)
- [Oura integration](https://openwearables.io/integrations/oura)
- [Polar integration](https://openwearables.io/integrations/polar)
- [Suunto integration](https://openwearables.io/integrations/suunto)
- [Withings integration](https://openwearables.io/integrations/withings)
- [Strava integration](https://openwearables.io/integrations/strava)
- [Ultrahuman integration](https://openwearables.io/integrations/ultrahuman)
- [SensorBio integration](https://openwearables.io/integrations/sensorbio)
- [Google Health API integration](https://openwearables.io/integrations/google-health)
- [Fitbit integration](https://openwearables.io/integrations/fitbit)
- [Apple Health integration](https://openwearables.io/integrations/apple-health)
- [Google Health Connect integration](https://openwearables.io/integrations/google-health-connect)
- [Samsung Health integration](https://openwearables.io/integrations/samsung-health)

## Deploy Open Wearables in your own cloud

The repository is public and the deployment is yours from the first commit. Start from the source, or bring us in to stand it up in your account with Garmin connected and validated on real accounts.

[Get started](https://openwearables.io/docs/quickstart) [Book a demo](https://openwearables.io/book)

FAQ

## Do you have more questions?

### Do we need our own Garmin credentials?

Yes. Garmin issues them to your organisation, and you apply directly. Open Wearables handles the connection flow, the token lifecycle and the callback endpoint, but the account and the data relationship are yours.

### What is the state of the Garmin developer programme?

Garmin controls it and the status changes. As of the last check for our documentation, new developer accounts were not being issued while existing accounts continued to work. The Garmin setup guide in our docs carries the current position, and Garmin's own access request form is the authority.

### I want access to my own Garmin data. Can I use this?

Not through the official route. Garmin's developer programme is for organisations and rejects personal-use applications, which is their rule rather than ours. You can still clone the repository and run Open Wearables yourself, and the Discord is open, but the Garmin credentials are the part we cannot solve for an individual.

### Which Garmin APIs does this cover?

Garmin Connect provides the Health, Activity, Women's Health, Training and Courses APIs. What Open Wearables reads from them, and which data types arrive, is in the [coverage matrix](https://openwearables.io/docs/providers/supported).

### Does it handle Garmin's push callbacks?

Yes. Garmin pushes data rather than waiting to be polled, so a callback endpoint has to exist and stay reachable. Your deployment hosts it, and the code for it is in the repository.

### What about historical data?

Garmin backfill runs as a request-and-wait chain rather than a single call, and Garmin does not allow concurrent backfills on one account. Open Wearables coordinates that so several of your user profiles behind one Garmin account do not collide.

### Can we combine Garmin with other sources?

Yes, and that is the normal case. You query a user rather than a provider, so a person with a Garmin watch and a second device returns in one shape.

### We already have Garmin credentials. What changes?

Then the slow part is behind you. Bring the client ID and secret, point the deployment at your callback, and the connection flow works from there.
