---
title: "Samsung Health API | Self-Hosted"
description: "Read Samsung Health through the Open Wearables Mobile SDK and keep the data in your own cloud account. Sleep, workouts and body measurements, MIT licensed."
canonical_url: "https://openwearables.io/integrations/samsung-health"
---

# Samsung Health data, in your own cloud

Samsung Health integration

Samsung Health is where a Galaxy watch, a Samsung scale and the apps around them keep their data. Open Wearables reads it through the same Android SDK that handles Health Connect and lands it in the same schema as the rest of your sources, self-hosted 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

## Samsung Health data we support

One permission grant reads what the user's Galaxy devices and Samsung Health have recorded, in the same schema as the rest of your sources.

### Sleep

Stages, efficiency, time in bed, naps and Samsung's sleep score.

### Heart

Heart rate and blood pressure.

### Body

Weight, height, BMI, fat, lean and skeletal muscle mass.

### Vitals

SpO2, body temperature and blood glucose.

### Activity

Steps, active and basal energy, floors climbed and hydration.

### Workouts

Heart rate range, energy, distance, speed and elevation.

### Performance

VO2 max and cadence from workouts.

## 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

Samsung Health arrives in the same shape as every cloud source, so your code carries no Samsung-specific branches and adding a watch integration later does not change the call.

  - Sleep
  - Body
  - Vitals
  - Workouts

### One SDK for both Android health stores

The same Android SDK reads Samsung Health and Health Connect, and reports which of them a device actually has, so your app picks the right one at runtime rather than guessing from the model name.

  - Samsung Health
  - Health Connect

### Background sync that survives the OS

WorkManager schedules it and a foreground service carries it while it runs. Each sync moves only what is new, from a first-sync depth you choose, and your backend mints the short-lived token the app uses.

  - WorkManager
  - Incremental

### No health permissions to declare

Samsung Health grants access through its own dialog rather than the Android health permissions Health Connect relies on, so choosing Samsung adds no health declarations to your manifest.

  - Samsung's own dialog

### 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

### Ship Android first, add Samsung when it clears

Samsung reviews production access separately, and Health Connect does not. The same integration covers both, so you can launch on Health Connect and switch Samsung on once your approval lands, without a second build.

  - Health Connect first
  - Same build

### 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 services

### No dependency on us

MIT licence, full source, public roadmap and public issues, plus community support on Discord.

  - MIT license
  - Full source
  - Discord

How it works

## From nothing to your first Samsung Health 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

### Add the SDK to your Android app

Samsung Health data lives on the device, so this is where the integration happens. Add our SDK along with Samsung's own [Health Data SDK](https://developer.samsung.com/health/data), and select Samsung as the provider.

[Android SDK integration guide](https://openwearables.io/docs/sdk/android/integration)

03

### Ask the user for permission

Samsung Health shows its own permission dialog and the user decides what to share. Your app keeps its existing login, so there is no second account to manage.

04

### Clear production access with Samsung

Reading data on a development build needs only a Samsung account. Shipping to production also needs Samsung to approve your app and register its release signing key, so start that early and run the rest in parallel.

[Samsung app registration](https://developer.samsung.com/health/data/process.html)

05

### Query the user, not the provider

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

[Mobile SDKs](https://openwearables.io/platform/mobile-sdks)

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] The mobile SDK | Theirs, in your app | Yours to write and maintain | Open source, in your app, forkable |
| [02] Samsung production approval | Theirs, already cleared | Yours to obtain | Yours, and the same build ships without it |
| [03] Where Samsung data goes first | Their cloud | Yours | Your cloud account, your region |
| [04] Permission dialog | Theirs or yours, depending | Yours | Samsung's own, inside your app |
| [05] The data model | Theirs, you build against their schema | Yours | Yours, in your database |
| [06] Samsung SDK 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

Samsung Health data goes from the device to your cloud, with no aggregator in between.

### Residency

It 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.

## Samsung Health is one integration in the same API

You query a user rather than a provider, so somebody on a Galaxy watch and somebody wearing a ring you connect through the cloud both come back in one shape. Adding either later does not change your code.

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

- [Garmin integration](https://openwearables.io/integrations/garmin)
- [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)
- [Garmin integration](https://openwearables.io/integrations/garmin)
- [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)

## 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 the SDK live in your app and validated on real devices.

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

FAQ

## Do you have more questions?

### What is Samsung Health?

Samsung's health app and data store on Galaxy phones and watches. It holds what Samsung devices measured, and apps read it with the user's permission. Unlike Health Connect, it is specific to Samsung hardware rather than available across Android.

### Do we need approval from Samsung?

For development, no: read access needs only a Samsung account. For a production release, yes. Samsung approves your app and registers its release signing key, and the permission flow stops working on release builds until both are done. It is worth starting on day one, because the rest of the integration does not wait for it.

### Can we launch before that approval lands?

Yes, and it is the usual route. The same integration also reads Health Connect, which has no approval requirement and covers Android devices broadly. Teams typically ship on Health Connect and switch Samsung on afterwards, without a second build. See the [Health Connect integration](https://openwearables.io/integrations/google-health-connect).

### Should we use Samsung Health or Health Connect on a Galaxy device?

Health Connect covers more data types and works across Android, so it is the better default. Samsung Health is the right choice when you specifically want what Samsung's own app holds, such as its sleep score, or when a user keeps their data there rather than sharing it with Health Connect.

### Is the data the same as through Health Connect?

Narrower. Samsung's SDK exposes fewer types: heart rate variability, resting heart rate and respiratory rate come through Health Connect but not here. What Samsung Health adds is its own sleep score alongside the sleep record.

### Do we have to build a mobile app for this?

Yes. Samsung Health has no cloud API, so the data never leaves the device on its own and the SDK has to live in an Android app.

### Which SDKs are available?

Our native Android SDK in Kotlin, plus Flutter and React Native wrappers over the same core. Samsung's own Health Data SDK also has to be added to your app, and Samsung distributes it directly rather than through a package repository.

### How does the data actually get to us?

The SDK reads Samsung Health and pushes to your deployment. Background sync is scheduled through WorkManager, with a foreground service carrying an active sync, and each run moves only what is new.

### Can we test this without a Galaxy device?

Not in an emulator. Samsung Health needs a physical Samsung device with the app installed, and Developer Mode enabled in it while you are still on a development build.

### Can we combine Samsung Health with other sources?

Yes, and that is the normal case. You query a user rather than a provider, so somebody with a Galaxy watch and a connected ring returns in one shape.
