Rate Limit API call resulting error 429Solved

Participant
Discussion
2 months ago

Hi,

In the api doc it says:

I am really confused about this. What does it mean about a particular device ?

does it means you can call https://portal.hexnodemdm.com/api/v1/devices/{ID1}/ 10 time max each day, and others request like https://portal.hexnodemdm.com/api/v1/devices/{ID2}/ also 10 times?

how about device groups like https://portal.hexnodemdm.com/api/v1/devicegroups/{GROUPID}/ does it also have max 10 times?

Is it once you get rate limited on one particular device, (let say im calling ID1, 11 times), the other devices also get limited?

Because what I have now all of my request is having error 429 even with api device that i havent call before.

Replies (1)

Marked SolutionPending Review
Hexnode Expert
2 months ago
Marked SolutionPending Review

Hello @septiadi,

Thank you for reaching out!

Error 429 occurs because you’ve sent too many requests in a short period. The total number of API calls allowed per day is based on the number of devices, with a limit of 10 calls per device per day. For example, if you have 50 devices, you can make a total of 500 API calls per day (50 devices × 10 calls each). Each shell command or HTTP request made to the device counts toward this limit.

Note: There is also a time-based API call limit of 300 calls per 10 minutes.

For device groups, the same rule applies. Whether you use device groups or not, the total number of API calls that can be made in a day is fixed, and you can allocate these calls in any manner.

I hope this clarifies things. Feel free to reach out if you have any further questions.

Best Regards,
Ben Clarke
Hexnode UEM

Save