10-31-2019 06:16
10-31-2019 06:16
Hello,
I have been reading on the https://dev.fitbit.com/build/reference/web-api/basics/#rate-limits
And didn't find the information on how is the rate actually calculated.
Is it 60 minutes from the first request or within hour of the day (say from 3PM-3:59PM and then it restarts again at 4PM)?
Answered! Go to the Best Answer.
10-31-2019 14:57
10-31-2019 14:57
Hi @Predex,
Welcome to the Forums!
You can make 150 API requests per hour for each user that has authorized your application to access their data. The counter resets at the top of the hour, regardless of when the request was made. Because the rate limit is a per-user limit, the total number of users does not affect your application's overall ability to use the API. We refer to this as "client+viewer" in the documentation at https://dev.fitbit.com/docs/basics/#rate-limits.
I hope this helps! Let me know if you need further clarification.
10-31-2019 14:57
10-31-2019 14:57
Hi @Predex,
Welcome to the Forums!
You can make 150 API requests per hour for each user that has authorized your application to access their data. The counter resets at the top of the hour, regardless of when the request was made. Because the rate limit is a per-user limit, the total number of users does not affect your application's overall ability to use the API. We refer to this as "client+viewer" in the documentation at https://dev.fitbit.com/docs/basics/#rate-limits.
I hope this helps! Let me know if you need further clarification.