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

Charge 5 - Heart Rate Time Series by Date

Hi

Few questions that we will appreciate some elaboration on:

  1. It seems like the API (Get Heart Rate Time Series by Date) does not provide the “Activity types” (running, walking, etc.) where can we find it?
  2. Where can we find the “resting heart rate” as a “stand-alone feature”?

    Currently, it appears per activity, at the current API but, if we do not track the Activities, and still want to get it ?
  3. “Heart rate:  beats per minute” - in which API it appears?

 Thanks

Best Answer
0 Votes
2 REPLIES 2

Hi @prosperitydev 

 

1.  The Get Heart Rate Time Series endpoints provides the user's heart rate values. It doesn't associate the heart rate with a specific activity.  To get the user's heart rate during an activity, you will want to use the Get Activity Log List endpoint.  The Get Activity Log List response will provide the recorded activity and how many minutes the user was in each heart rate zone.  Use the heartRateLink to retrieve the intraday heart rate values during the activity time period (intraday access will need to be enabled).   Lastly, the tcxLink will also give you the heart rate values during the exercise.

 

2. Resting heart rate is returned by the Get Heart Rate Time Series endpoints and is recorded during sleep.  You should be able to retrieve the resting heart rate value with just the heart scope enabled.  See https://dev.fitbit.com/build/reference/web-api/heartrate-timeseries/get-heartrate-timeseries-by-date....

 

3. If your client ID has intraday enabled, you can retrieve the heart rate per minute using the heart rate intraday endpoint.   See  https://dev.fitbit.com/build/reference/web-api/intraday/get-heartrate-intraday-by-date/.   You will need to request access to intraday at https://dev.fitbit.com/build/reference/web-api/intraday/.

 

Gordon

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

Thank you, Gordon. Appreciate your response.

Best Answer
0 Votes