Health Connect is an Android API on the phone
Health Connect is Android's shared store for health data. Samsung Health, Garmin Connect, Google Health, Oura and Withings write into it, and other apps read from it with Health Connect's Android API, one permission per data type.
There's no server side. The records live on the phone, and only code running on that phone can read them. Health Connect also limits how far back an app can read: anything from more than 30 days before you first gave it access needs a separate history permission.
Apple Health is HealthKit on the iPhone
Apple Health works the same way. The data sits on the iPhone, apps read it through HealthKit after you allow each type, and Apple offers no web API for your Health data. iOS also encrypts Apple Health while the iPhone is locked, so even an app on the phone has to wait for you to unlock it.
The cloud routes that do exist
For data in a Google account, such as from a Fitbit or a Pixel Watch, Google offers the Google Health API in its cloud. It needs a Google Cloud project and an OAuth client, and it only sees what reaches your Google account. The older Fitbit Web API lost support on September 30, 2026 and was turned off on November 2, 2026; tools built on it, such as Home Assistant's Fitbit integration, stopped syncing then. Fitbit and Pixel Watch in Home Assistant covers the route through the phone.
Samsung Health has no cloud API you can connect to, and Samsung's own data SDK is open only to registered partners. Health Connect is the open route there too; see Samsung Health to your own server.
What you need
- An Android phone with Android 9 or newer and Health Connect, or an iPhone on iOS 17 or newer.
- Life Dashboard for Android. It's on Google Play for €4.99 once (US$4.99), no subscription: the easy way, with automatic updates, and buying it supports development. The free routes install the same app with the same signing key: the signed APK from GitHub, Obtainium, which keeps that APK up to date, and F‑Droid, which builds it from the source.
- Or Life Dashboard for iPhone. It's on the App Store for €6.99 once (US$5.99), no subscription. Building it from source with Xcode costs nothing extra if you already have an Apple Developer Program membership.
- Somewhere to send the data: a server that accepts a JSON POST over HTTPS, Home Assistant, an MQTT broker, or the Life Dashboard stack.
Set it up
For your own server, on Android:
- Open the app. At Where should your data go?, enter your URL under Webhook URL and tap Add.
- On the Health tab, tap the address's row. Under HMAC signing secret (optional), tap Generate and put the same value on your server.
- Tap Save at the top, open the row again and tap Send test.
- Tap Grant, allow your data types and reading in the background, then tap Sync Now.
- For older data, tap Send history under What to send and pick how far back, from 30 days up to All history.
On an iPhone, Add destination on the Health tab adds the URL. Tap the destination for its HMAC Signing Secret and Send test. Data types and Send history are under What to send. Health Connect to a webhook has the full receiver guide.

What you get
- Every record as JSON. Up to 41 types from Health Connect, or 38 from Apple Health, each with a stable
uuidand the app that wrote it. - Daily totals that count a walk once. Steps, distance and calories come from the store's own deduplicated figures, so phone and watch don't add up to twice the number.
- One format for both phones. The iPhone app sends the same keys with
"source": "healthkit_ios", so one receiver takes both. - A signature. With a secret set, every request carries
X-Signature: sha256=<hex>, an HMAC-SHA256 of the body. - An API of your own, if you want one. The Life Dashboard stack stores the data in Postgres and serves it back as read-only JSON under
/api/, per day, night, workout or metric, behind a token. Its MCP server gives the same to a model you choose.
Limits
- Your server can't ask the phone for a date range. It receives what the phone sends, and you start a backfill on the phone.
- Data leaves the phone when the app syncs: every 60 minutes by default on Android, every 15 at the shortest. On the iPhone, iOS decides the exact moment.
- You only get what the vendor's app writes into the store.
Life Dashboard
Install the app on the phone and point it at your URL. The payload reference has every field and a receiver in Python and Node.js.
€4.99 once on Google Play: the easy way, with automatic updates, and it supports development.
Other ways to install the same app, with the same signing key: APK on GitHub · Obtainium · F‑Droid
Get the Android app Get the iPhone app
The open-source apps this guide uses, for Android and iPhone. No account and no cloud. More about Android and iPhone.
Common questions
Can my server pull data from Health Connect?
No. Health Connect has no network interface. An app on the phone has to read it and push it out, as the Life Dashboard app does.
Is there an Apple Health REST API?
No. Apps read Apple Health through HealthKit on the iPhone. Life Dashboard for iPhone reads it there and posts the same JSON as the Android app.
Should I use the Google Health API instead?
It fits if all your data is in a Google account, from a Fitbit or a Pixel Watch, and you're fine with a Google Cloud project and an OAuth client. Health Connect on the phone also holds what Samsung Health, Garmin Connect, Oura and Withings write, and the Life Dashboard app sends all of it in one payload.
Does my data pass through a cloud on the way?
No. There's no Life Dashboard server, and the app sends only to the destinations you enter. If you use Home Assistant Cloud to sync away from home, that's a path you chose.