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

Fetching Heart Rate from Web API

ANSWERED

What is the maximum time of end date that can be defined to fetch from Heart Rate Time Series API? Can we fetch the last 1 second heart rate from our Fitbit device through this Web API? Will Fitbit Web API return it? or it has limitation of maximal End Date that can be returned? How real time is it can be retrieved? 

 

Is there any documentation that explain about it? Thanks. 

Best Answer
1 BEST ANSWER

Accepted Solutions

Hi @adiwibowoplus 

 

The data through the Web APIs is not real-time.  The data is only available after the user syncs their device with the mobile application.  However, once the data is available, you can fetch your own personal intraday heart rate data in 1sec and 1min intervals.  You'll need to set the application type = "personal".

 

If you require real-time heart rate data, you'll want to look at the Device SDK, https://dev.fitbit.com/build/reference/device-api/heart-rate/.  The Device SDK is only supported for the smart watches.  You'll build an app or clock face that is installed on the smart watch, and you'll build a companion application that runs on the mobile device to fetch the data from your device app and push to your server.

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

View best answer in original post

Best Answer
0 Votes
4 REPLIES 4

Hi @adiwibowoplus 

 

The data through the Web APIs is not real-time.  The data is only available after the user syncs their device with the mobile application.  However, once the data is available, you can fetch your own personal intraday heart rate data in 1sec and 1min intervals.  You'll need to set the application type = "personal".

 

If you require real-time heart rate data, you'll want to look at the Device SDK, https://dev.fitbit.com/build/reference/device-api/heart-rate/.  The Device SDK is only supported for the smart watches.  You'll build an app or clock face that is installed on the smart watch, and you'll build a companion application that runs on the mobile device to fetch the data from your device app and push to your server.

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

Hi @GordonFitbit , thanks for your help and information. 

Best Answer
0 Votes

Can we fetch the last 1 second heart rate from this api  https://api.fitbit.com/1/user/user_id/activities/heart/date/today/1d.json   when my  application type = "personal".

Best Answer

Hello Team,

Can you explain which technology we have used for making mobile application?

 

Best Answer