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

heart rate intraday data

ANSWERED

When I call heart rate API like below, the dataset may sometimes be empty(I think it's maybe often).

https://api.fitbit.com/1/user/-/activities/heart/date/2022-06-09/1d/1sec/time/11:32/11:33.json

 

I thought it was a synchronization problem and check the fitbit app, but the heart rate data is normal.

Can't it be in a short time? or is there minimum time period?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

You can get the heart rate in real time, but not using the Web API as in your first post. Web API data is only updated when the watch syncs, so can be 20+ minutes behind.

Peter McLennan
Gondwana Software

View best answer in original post

Best Answer
4 REPLIES 4

Is it a synchronization problem between the fitbit device and the server?

If it is, how long does it take to synchronize with the server?

 

Can't I check the heart rate in real time?

Best Answer

You can get the heart rate in real time, but not using the Web API as in your first post. Web API data is only updated when the watch syncs, so can be 20+ minutes behind.

Peter McLennan
Gondwana Software
Best Answer

@Gondwana Thank you for answering

 

then how to get the heart rate in real time? using the Device API?

Best Answer
0 Votes

Yes. Device to companion to server.

Peter McLennan
Gondwana Software
Best Answer