Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using Fitbit Web API for Bachelors degree Final Year Project mobile app

ANSWERED

Hi, I couldn't find a contact page.

I am developing a mobile application for my final year project about Wellbeing and Mindfulness and would like to request permission to use the Web API to retrieve some of the user's information.

 

My app is a challenge-based application and I would like the user to be able to connect to Fitbit to retrieve, for example, heart rate during an exercise for a specific challenge. Or, for a sleep challenge, retrieve the hours for that specific night.

 

I read the terms of service, which says I can use the API for research purposes. Am I allowed to use it for my project?

 

Thanks.

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Hi @juh89,

 

Welcome to the forums!

 

Anyone can develop an application using the Fitbit Web API for research and academic purposes. If you're looking for daily summary totals, the open Web API should meet your project needs.

 

If you're looking into more granular, second-level, data from other users, you'll need to fill out an intraday application here: https://dev.fitbit.com/build/reference/web-api/intraday-requests/

 

If you want to test the endpoints against your own Fitbit account for testing purposes, you can register an application at https://dev.fitbit.com/apps/new and make sure you set your application classification type to "Personal". This will grant you immediate access to the intraday time series endpoints for your account only.

 

I'd also like to note that Mindfulness and Wellbeing data are not available in the Web APIs. This has been brought up by the community in the past and if you'd like to see this data made publicly available, you can upvote it here: https://community.fitbit.com/t5/Feature-Suggestions/SpO2-EDA-Temperature-Breathing-HRV-in-WebAPI/idi...

 

In the meantime, you can only pull the following data from users at this time:

  • Activity
  • Body & Weight
  • Devices
  • Food Logging
  • Friends
  • Heart Rate
  • Sleep 
  • User

I hope this helps. Let me know if you have any questions in the meantime.

View best answer in original post

Best Answer
3 REPLIES 3

Hi @juh89,

 

Welcome to the forums!

 

Anyone can develop an application using the Fitbit Web API for research and academic purposes. If you're looking for daily summary totals, the open Web API should meet your project needs.

 

If you're looking into more granular, second-level, data from other users, you'll need to fill out an intraday application here: https://dev.fitbit.com/build/reference/web-api/intraday-requests/

 

If you want to test the endpoints against your own Fitbit account for testing purposes, you can register an application at https://dev.fitbit.com/apps/new and make sure you set your application classification type to "Personal". This will grant you immediate access to the intraday time series endpoints for your account only.

 

I'd also like to note that Mindfulness and Wellbeing data are not available in the Web APIs. This has been brought up by the community in the past and if you'd like to see this data made publicly available, you can upvote it here: https://community.fitbit.com/t5/Feature-Suggestions/SpO2-EDA-Temperature-Breathing-HRV-in-WebAPI/idi...

 

In the meantime, you can only pull the following data from users at this time:

  • Activity
  • Body & Weight
  • Devices
  • Food Logging
  • Friends
  • Heart Rate
  • Sleep 
  • User

I hope this helps. Let me know if you have any questions in the meantime.

Best Answer

Hi, 

May I know is there any existing way to automatically pull data everyday from multiple tracker into excel file for research purpose? Thanks.

Regards,

Zelig

Best Answer
0 Votes

Hi @Zelig_Lim 

 

Fitbit doesn't offer sample code for this scenario.   However, I have seen samples available through google searches such as this.   You might be able to find some examples or a commercial solution for Microsoft Excel.   

 

Gordon

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes