Introduction
Rate limits
Each account can send 120 requests a minute.
The Orion API accepts up to 120 requests per minute per account. The limit counts every request made with any of your keys together, so two scripts with two keys share one budget.
The MCP server has its own, separate limit. Calls from an AI assistant do not use up your API budget.
When you reach the limit
Requests over the limit answer 429 with the code rate_limited and a Retry-After header that gives the wait in seconds:
HTTP
The request was not carried out. Nothing changed on your device.
Back off
Wait for the time in Retry-After, then send the request again.
Stay under the limit
- Change several zones of one device with one call to Set multiple zones, not one call per zone.
- Do not poll Get live device state in a tight loop. Leave a few seconds between reads.
- Call List devices once at the start and keep the ids, instead of before every request.
- Cancel several timeline events, rate several nights or act on several changes in one call: those operations take a list of ids.