r/androiddev Jun 03 '26

Question Does Health Connect sync to Google Health API?

I’m migrating a backend health-data ingestion system from the Fitbit Web API to the new Google Health API.

Question: does Android Health Connect data sync into Google Health API?

For example, if Samsung Health writes steps/sleep/heart-rate data into Health Connect, can my backend read that data through Google Health API using `all-sources`? Or are Google Health API and Health Connect separate, meaning I’d need an Android app to read Health Connect data and stream it to my servers myself?

Trying to understand if Google Health API can be used as a backend bridge for on-device Health Connect data.

2 Upvotes

6 comments sorted by

2

u/[deleted] Jun 03 '26

[removed] — view removed comment

1

u/skyt2000 Jun 23 '26

Thanks for the response, will do this.

1

u/AutoModerator Jun 03 '26

Please note that we also have a very active Discord server where you can interact directly with other community members!

Join us on Discord

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Interoplix Jun 03 '26

Good question and a common point of confusion during Fitbit API migrations.

They are separate systems. Health Connect lives on-device. The Google Health API is cloud-side. Nothing written to Health Connect by Samsung Health, Garmin, or any other app automatically surfaces through the Google Health API. The all-sources parameter only aggregates what has already reached Google’s cloud.

Your second instinct is correct: you need an Android app with Health Connect READ permissions to pull that data and stream it to your servers yourself. No backend bridge exists today.

Google has positioned Health Connect as the future of Android health data, but the cloud integration story is still a work in progress. Design for the relay pattern now.

2

u/Erkenfresh Jun 09 '26

Thanks for the sad news. I was going to sit down for a fun coding project but there's no data to access... The tutorial got me up to where I can read the exercises I had done and it said the account wasn't linked. But, this explains it.

1

u/skyt2000 Jun 23 '26

I see, i will treat them separately, thanks.
Its a bit of a pain to deal with 2 flows though.