11-03-2021 08:17
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-03-2021 08:17
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
My application is a personal application. I require the realtime heart rate data for my application.
Today is 11/03/2021
When I run the API call for yesterday I get:
{"activities-heart":[{"customHeartRateZones":[],"dateTime":"2021-11-02","heartRateZones":[{"caloriesOut":5.8709999999999996,"max":116,"min":30,"minutes":5,"name":"Out of Range"},{"caloriesOut":0,"max":144,"min":116,"minutes":0,"name":"Fat Burn"},{"caloriesOut":0,"max":178,"min":144,"minutes":0,"name":"Cardio"},{"caloriesOut":0,"max":220,"min":178,"minutes":0,"name":"Peak"}],"value":"54.67"}],"activities-heart-intraday":{"dataset":[{"time":"00:45:00","value":53},{"time":"00:46:00","value":54},{"time":"00:47:00","value":55},{"time":"00:48:00","value":56},{"time":"00:49:00","value":55},{"time":"00:50:00","value":55}],"datasetInterval":1,"datasetType":"minute"}}
The problem is that if I try to run the same API for the current day:
I get:
{"activities-heart":[{"customHeartRateZones":[],"dateTime":"2021-11-03","heartRateZones":[{"caloriesOut":5.8709999999999996,"max":116,"min":30,"minutes":5,"name":"Out of Range"},{"caloriesOut":0,"max":144,"min":116,"minutes":0,"name":"Fat Burn"},{"caloriesOut":0,"max":178,"min":144,"minutes":0,"name":"Cardio"},{"caloriesOut":0,"max":220,"min":178,"minutes":0,"name":"Peak"}],"value":"0"}],"activities-heart-intraday":{"dataset":[],"datasetInterval":1,"datasetType":"minute"}}
I can not get my data for the current day. Is there a way to do this?
11-03-2021 09:42
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



11-03-2021 09:42
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @CooperMy
Real-time heart rate data is not available through the Web APIs. The data is only available after the user has synced their device with the mobile application. Were you wearing the device between 00:45 - 00:50, and have you synced your device with the mobile application after that time?
Gordon
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

