API key limits
Beacon API counts requests separately for each API key. Trial projects allow 137 requests per minute. Team projects allow 913 requests per minute. Creating another key does not change the limit assigned to its project plan.
Handle a rate limit #
A request above the current limit returns status 429. Read the X-Beacon-Retry-After response header and wait that many seconds before sending the request again. A new window starts every sixty seconds. Do not retry continuously while the current window is full.
Run node src/beacon.mjs limits in the fixture repository to inspect the configured plan values. The local fixture stores no live credentials. The command reports values; it does not send a request to an external service.
See Rotate an API key when a key needs a new generation. A plan's request allowance stays the same after a rotation.