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

Getting Heart Rate Intraday data for several days

ANSWERED

Hi all,

 

When I read the API documentation for intraday heart rate data acces, it seems that it is only possible to access data for a single day - is that true? does anyone know of a way to access several days' data in a single call?

 

Obviously I can loop through each day, calling a single day's data each time, but this seems very inefficient. I have this working already, but I have started to receive automated emails saying "....exceeded the Fitbit API client+viewer rate limit..." from the fitbit API .

 

Thanks for anyone who can point me in the right direction.............

 

 

Best Answer
1 BEST ANSWER

Accepted Solutions

@Yael-Tamar If you're trying to backfill, then yeah you'll hit the rate limit since you can only pull 1 days worth of time series data at a time. Rate limit is 150 API requests per hour for each user that has authorized your app.

Andrew | Community Moderator, Fitbit

What motivates you?

View best answer in original post

Best Answer
0 Votes
3 REPLIES 3

Hi! 
I am having the same problem. 

Did you find a solution? 

Thanks

Yael

Best Answer
0 Votes

@Yael-Tamar If you're trying to backfill, then yeah you'll hit the rate limit since you can only pull 1 days worth of time series data at a time. Rate limit is 150 API requests per hour for each user that has authorized your app.

Andrew | Community Moderator, Fitbit

What motivates you?

Best Answer
0 Votes

Hi Yael-Tamar

 

No, there doesn't seem to be a solution. The limits imposed by Fitbit can't be overridden. As Andrew states, the limit is 150 calls per hour. If a user tries to do more than that, they receive an error message and have to wait a period of time (anything up to an hour) before retrying. A bit frustrating!

 

Regards

SquashPlayer..............

Best Answer
0 Votes