Documentation · API v1

Getting started

Rate limits and quota

Each workspace has a monthly request quota and a per-minute rate limit, shared by all of its live keys. Your plan sets both. The quota resets at midnight UTC on the first day of each month.

Headers on every response

HeaderMeaning
X-RateLimit-LimitRequests allowed per minute.
X-RateLimit-RemainingRequests left in the current minute.
X-Quota-LimitRequests allowed this month.
X-Quota-RemainingRequests left this month.
Retry-AfterOnly on 429: seconds to wait before trying again.
X-Request-IdThis request's id, as shown in your request logs.

At the limit

Over the per-minute limit, calls return 429 with the code rate_limited: wait the number of seconds in Retry-After. Once the monthly quota is used up, live keys get 429 with the code quota_exceeded until it resets. Test keys keep working.

Owners can turn on emails at 80% and 100% of the quota.

What counts towards the quota

  • Successful requests with live keys, and live requests that return 400 or 404.
  • Not counted: 304 Not Modified responses, key and permission errors, 429s, and errors on our side.
  • Not counted: anything made with a test key. Test keys also have their own per-minute limit, so testing never slows down production.
Every successful response carries an ETag. Send it back as If-None-Match and an unchanged response returns 304, which doesn't count towards your quota.