11-11-2016 01:06
11-11-2016 01:06
Im getting this error sometimes, and i have read somewhere that im allowed to do 150 requests per hour.
But when i get this error, i havent done 150 requests.
Answered! Go to the Best Answer.
11-12-2016 11:49
11-12-2016 11:49
@JimmyL Yes, the API requests are metered per user. So you can do up to 150 requests per user per hour. 🙂
11-11-2016 15:54
11-11-2016 15:54
@JimmyL Rate limit is 150 requests per user per hour. Once that limit is reached the response will give you a 429. How do you know you haven't hit the limit?
11-11-2016 23:06 - edited 11-11-2016 23:06
11-11-2016 23:06 - edited 11-11-2016 23:06
Well after been sleeping on it and recalculating i might have exeeded the limit. 🙂
Another question..
If my app has 200 users and i api calls for each of them in the night. I would very fast exceed the 150 requests to the API but that is possible because i use different user on each request right?
11-12-2016 11:49
11-12-2016 11:49
@JimmyL Yes, the API requests are metered per user. So you can do up to 150 requests per user per hour. 🙂
04-02-2020 09:54
04-02-2020 09:54
😂
I am getting too many requests. And I only sent like 10.
[errorType] => system
[fieldName] => n/a
[message] => Too Many Requests
04-02-2020 11:31
04-02-2020 11:31
Hi @williambell9708,
Welcome to the forums!
Can you PM me your Client ID so I can check our logs to see why you're seeing this error?
05-25-2020 02:26
05-25-2020 02:26
Hi Jhon,
we have the same problem. Our Client ID is 22BGXS.
Thanks
05-26-2020 06:57
05-26-2020 06:57
Hi @Aduxia,
Welcome to the Forums!
Thanks for providing me with your Client ID, and I'll be happy to take a look. After checking our logs, I noticed you were executing individual API calls to get daily activity and sleep summaries for each day. You're also executing API calls within milliseconds of each other. By doing this, you'll meet the 150 API calls per hour limit per user fairly quickly.
Since you are fetching daily totals for individual days, I can suggest a few endpoints to make this process more efficient for you without having to exceed the hourly rate limit per user.
I hope this helps. Let me know if you have any additional questions.
10-15-2023 17:27
10-15-2023 17:27
I'd like to download my minute-by-minute heartrate data, but the request limit of 150 per hour is only going to allow me to fetch 150 days each hour. What if I'm trying to analyze two years worth?