Two Minute Reports Logo
API reference

Rate limits

Request limits for the Two Minute Reports API, and how to handle the 429 Too Many Requests response.

The API enforces rate limits to keep the service responsive for everyone. Three limits apply to each request. If a request goes over any one of them, the API refuses it with 429 Too Many Requests.

The three limits

LimitApplies toDefault
Per IPAll requests from one IP address120 / minute
Per teamAll endpoints of one team, together120 / minute
Per endpointOne endpoint, for one team30 / minute

Per IP

The API counts every request from an IP address, including requests with a bad or missing API key. For an IPv6 address, the API counts all addresses in the same /64 range together.

Per team

All endpoints of a team share one count. All keys and users that call the same team share it too. For an endpoint with no team, such as GET /users/me, each user has their own count.

A refused request also counts. If you retry before the wait time ends, the retry uses part of your limit.

Per endpoint

Each endpoint also has its own limit for each team (or for each user, when the endpoint has no team). Most endpoints allow 30 requests per minute. Some endpoints have a lower limit, as the next sections show.

Shared IP addresses

Calls from Zapier, Make, n8n cloud or Google Apps Script can use an IP address that other customers of that platform also use. These customers share the limit of 120 requests a minute for that IP address. A 429 that your own usage does not explain can come from this.

Lower limits for some endpoints

An endpoint that is expensive, or that changes data, has a lower per-endpoint limit. The Rate limit line at the top of each endpoint page shows the limit of that endpoint.

EndpointLimit
POST /teams/{teamId}/data/run-query10 / minute and 100 / hour
DELETE /teams/{teamId}/connections/{connectionId}5 / minute and 30 / hour
Enable account and disable account30 / minute and 300 / hour
Add and delete client account30 / minute and 300 / hour
Create, update and delete client contact20 / minute and 200 / hour
Upload and delete team logo5 / minute and 20 / hour
Update team name, brand color and time zone10 / minute and 60 / hour
Update member role, update member seat and remove member10 / minute and 60 / hour
PUT /users/me/avatar and DELETE /users/me/avatar5 / minute and 20 / hour
Update your name and your preferences10 / minute and 60 / hour

Headers on successful responses

A request that passes the team and endpoint limits has these headers. Use them to slow down before you get a 429.

HeaderMeaning
X-RateLimit-LimitThe per-endpoint limit for the current minute
X-RateLimit-RemainingThe number of requests left for this endpoint in the current minute
X-RateLimit-ResetThe number of seconds until the count resets
X-RateLimit-Limit-team, X-RateLimit-Remaining-team, X-RateLimit-Reset-teamThe same values for the per-team limit
X-RateLimit-Limit-hour, X-RateLimit-Remaining-hour, X-RateLimit-Reset-hourThe same values for the hourly count of the endpoint

For example, an endpoint with a limit of 30 requests a minute can return X-RateLimit-Limit: 30, X-RateLimit-Remaining: 29 and X-RateLimit-Reset: 60.

The hourly headers are most useful on an endpoint that has its own hourly limit. Those limits are in the table in Lower limits for some endpoints. On other endpoints, do not treat the hourly values as a limit that you must plan for.

The API checks the per-IP limit before it checks your API key. For this reason, these headers do not show the per-IP count.

Exceeding a limit

When you go over a limit, the API responds with 429 Too Many Requests:

{
  "success": false,
  "error": {
    "code": "TOO_MANY_REQUESTS",
    "message": "Too many requests — please slow down and try again later"
  }
}

The response has these headers:

HeaderMeaning
Retry-AfterThe number of seconds to wait before you send the request again
Retry-After-<name>Only for the per-team limit and the hourly limits. The name shows which limit it is: Retry-After-team or Retry-After-hour

A 429 can also come from the network protection in front of the API. That response is an HTML page, not JSON. Do not expect a JSON body on every 429: check the status first.

How to handle a 429

After a refusal, the block lasts for the full window, counted from the moment of the refusal. For a limit of 1 minute, wait up to 1 minute. For an hourly limit, wait up to 1 hour. The block does not end at the start of the next hour. A retry during the block does not make the block longer, but it does count against the team limit. Retry-After gives the exact number of seconds.

  1. Stop sending requests for the number of seconds in Retry-After.
  2. Send the request again after that time. If you get a 429 again, wait longer each time.
  3. Do not retry in a tight loop. A refused request still counts against your team limit, so fast retries can use up the limit your other requests to that team need.
For batch work, spread requests over time. Keep your total below 120 requests per minute for each team, and below 120 requests per minute for each IP address.
Copyright © 2026