Developers
Request limits
Each key has a maximum number of requests per minute, each IP address has another, and failed sign-in attempts have their own. The /health check allows 60 requests a minute per address.
| Limit | Value |
|---|---|
| Send requests a minute per key | 120 |
| Send requests a minute per IP address, shared by all the keys of a partner from that address | 300 |
| Most readings in one batch | 500 |
Sending in batches is required. One reading per request soon passes the limit, and most requests are refused with 429. Collect the readings of every vehicle and send them as one batch every 15 seconds, or when the batch reaches 500 readings, whichever comes first.
Responses carry X-RateLimit-Limit and X-RateLimit-Remaining. Going over a limit returns 429 with Retry-After, the seconds to wait before trying again.
| Header | Meaning |
|---|---|
X-RateLimit-Limit | The limit for the current window. |
X-RateLimit-Remaining | Requests left in the window. |
Retry-After | Seconds before the next attempt (with 429). |
X-RateLimit-Reset | When the next window opens, in Unix seconds (with 429). |
Group readings into batches rather than one request per reading, and wait the Retry-After time before retrying.