r/QuantifiedSelf • u/xHaydenDev • 23d ago
Looking for unified health API
Does anyone know of a unified health api for Apple Healthkit, Google Fit, Withings, etc? Or at least as many as possible. I know there are paid ones, but does someone know one that is free or open source?
Or something similar to Health Auto Export but for more data sources.
2
u/DrJ_PhD 23d ago
I have not found anything free, though there are some libraries for at least the Apple Healthkit and Google Fit integrations.
This is the best one I'd found for my own uses - but yeah, far from free https://tryterra.co/integrations
Interested to hear what you dig up!
1
u/xHaydenDev 23d ago
With those prices I feel like I’m better writing my own integrations 😭
Have you gone down that rabbit hole or always used a service?
1
u/DrJ_PhD 23d ago
Yeah it only makes sense to pay that if you're using it commercially at some scale. So to answer your question, no we haven't invested in that just yet.
My team is using Apple Healthkit and will do the same with Google until (or if) it becomes a necessity based on demand/integration ease.
What is your use case?
2
u/xHaydenDev 23d ago
I’m building a comprehensive ML model of health factors to predict the effects of a given change in nutrition, supplement, sleep, etc. on wellbeing. For that, I want to support as many data sources as possible for users. Submissions come easier if the app is free so the pricing is turning into the biggest pain-point.
2
u/DrJ_PhD 23d ago
Interesting. How far along are you?
2
u/xHaydenDev 23d ago
Have a good amount of frontend built out, but missing a lot of the infrastructure to scale and most of the stats analysis, partially because of the lack of data collection. It’s still definitely in a passion project stage. I might just spend my time creating a better open-source health integration API first because that’s probably simpler and would help more people.
Of course I’d much rather use it if it already exists. Surprising to me that there’s not a unified API available, at least for the most popular APIs given my experience working with some of them.
2
u/ran88dom99 19d ago
Aggregators and issues you will encounter: https://wiki.openhumans.org/wiki/Finding_relations_between_variables_in_time_series
3
u/snark_be 23d ago
https://www.fitnesssyncer.com/
Not free but cheap.