Default Rate Limits
Most endpoints use the following default rate limits:
Some endpoints have custom rate limit policies with different limits. These are documented on the individual endpoint pages.
Rate Limit Headers
Rate limits should never be approached for normal customer read operations, and are only intended to limit heavy data ingestion processes, such as en-masse backfills of data. Nonetheless, we recommend adding retries on all Layer API calls. To assist in retries, the following headers are included in every successful API request:X-RateLimit-Limit: a specified bucket capacity.X-RateLimit-Remaining: the number of tokens remaining in a bucket.X-RateLimit-Reset: a UTC timestamp (in seconds) that specifies the time of refilling a bucket.
- Error code
429: Too Many Requests Retry-Afterheader indicating (in seconds) how long to wait before retrying the request.