Hubzone DevelopersBack to hubzone.appTR

Rate limits

How many calls a key may make, and how to read where you stand.

Calls are counted per key and per kind of call, per minute, and there is an overall limit per key too. Every answer says where you stand.

Kind of callNamePer minute
Read one recordget600
List recordslist240
Change a recordupdate240
Search recordssearch120
Create a recordcreate120
Key informationme60
List propertiesproperties60

Headers

X-RateLimit-Limit: 240
X-RateLimit-Remaining: 238
X-RateLimit-Reset: 1794313700
HeaderMeaning
X-RateLimit-LimitCalls allowed in the window for this kind of call.
X-RateLimit-RemainingCalls left in the window (the smaller of the kind's and the key's overall).
X-RateLimit-ResetWhen the window resets, in seconds.
Retry-AfterOn 429: seconds to wait before trying again.

When the limit is passed

HTTP/1.1 429 Too Many Requests
Retry-After: 20

{ "statusCode": 429, "message": "Too many requests: slow down" }

Wait for Retry-After, then try again. Back off for longer each time a retry fails. A program that loops over records should read X-RateLimit-Remaining and slow itself down before it hits 429.