08-23-2019 05:32
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-23-2019 05:32
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hello,
I just aquired a fitbit Inspire HR and I would like to know if there is a proper way to access my data using the API. I searched for a while and I just found the API explorer, which works but seems useless if I want to do some stats in python fo exemple. By reading some posts in the forum, I learned that it's not possible to create an application for Inspire models but it should be a proper way to acces a user data right ? And How can an Inspire user authorize some app to access their data through the API ?
Thanks for your help, I'm new in fitbit stuff and would be happy to go further in development with that kind of devices.
Answered! Go to the Best Answer.
Accepted Solutions
08-26-2019 09:45
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



08-26-2019 09:45
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @C_Shannon
Yes, you can access other people's data using the Web APIs. However, the users will need to consent to share their data with your application first.
Our Web APIs support OAuth 2.0 as the security mechanism for querying Fitbit data. Your application will execute the authorization endpoint to begin the consent process. Once the user consents to share their data, you will be able to query their data in your application based on the terms defined in our Platform Terms of Service. Please read the Authorization section of our documentation for more info: https://dev.fitbit.com/build/reference/web-api/oauth2/.
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

08-23-2019 08:08
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

SunsetRunner
08-23-2019 08:08
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
If you're interested in your data only, use the web api.
https://dev.fitbit.com/build/reference/web-api/basics/
You will be making a "Personal" app.
API here: https://dev.fitbit.com/build/reference/web-api/heart-rate/#get-heart-rate-intraday-time-series
If you're looking for some example python code, I've used this to access my data. Their repo has instructions for getting setup too.
https://github.com/praveendath92/fitbit-googlefit/blob/master/README.md
08-23-2019 11:22
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



08-23-2019 11:22
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
@SunsetRunner Thank you for responding.
@C_Shannon in addition to the information already provided, we have some sample code on our web site that might be helpful with getting started. Take a look at https://dev.fitbit.com/build/reference/web-api/community-resources/.
Let us know if you need more information.
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
08-26-2019 00:43 - edited 08-26-2019 00:44
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-26-2019 00:43 - edited 08-26-2019 00:44
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Ok, thanks for your answers.
But is there a way if I also want to access other people data ? Can they authorize me to acces their data through the web API ?

08-26-2019 09:45
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



08-26-2019 09:45
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @C_Shannon
Yes, you can access other people's data using the Web APIs. However, the users will need to consent to share their data with your application first.
Our Web APIs support OAuth 2.0 as the security mechanism for querying Fitbit data. Your application will execute the authorization endpoint to begin the consent process. Once the user consents to share their data, you will be able to query their data in your application based on the terms defined in our Platform Terms of Service. Please read the Authorization section of our documentation for more info: https://dev.fitbit.com/build/reference/web-api/oauth2/.
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

08-27-2019 01:23
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-27-2019 01:23
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Ok thank you for your help.

