# Rate limits
Source: https://docs.aden.space/docs/developers/api/rate-limits

How fast and how much each team's keys may call, per plan.
All of a team's API keys share one budget, checked on five sliding windows at
once. The minute window is the same on every plan: it caps how fast, the
others cap how much.

| Plan | Per minute | Per hour | Per day | Per week | Per 30 days |
| ---- | ---------- | -------- | ------- | -------- | ----------- |
| Lite | 300        | 1,000    | 5,000   | 20,000   | 50,000      |
| Pro  | 300        | 5,000    | 25,000  | 100,000  | 250,000     |
| Max  | 300        | 20,000   | 100,000 | 400,000  | 1,000,000   |

The Free plan has no API access: its keys answer `403 plan_required`.

## Response headers [#response-headers]

Every API-key response carries the window with the least headroom left:

```
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 42
X-RateLimit-Reset: 1732998000
```

`X-RateLimit-Reset` is a unix timestamp in seconds.

## When you hit a limit [#when-you-hit-a-limit]

```http
HTTP/1.1 429 Too Many Requests
Retry-After: 38
Content-Type: application/json

{ "error": "rate_limited", "message": "minute limit exceeded (300 per minute)" }
```

Wait `Retry-After` seconds, then try again. Requests sent while you are
limited are refused too, so retrying sooner only keeps you limited. The
[errors page](/docs/developers/sdk/errors#rate-limits) has a small backoff
helper.

## Keyless and unknown keys [#keyless-and-unknown-keys]

* The [site feed](/docs/developers/website#the-site-feed) is cached for five
  minutes at the edge. One address may make 60 uncached feed requests a
  minute and 600 an hour.
* An address that sends more than 20 keys Aden doesn't know in a minute (or
  100 in an hour) is refused for the rest of that window.

## Usage [#usage]

Every served API-key request counts toward the team's usage, shown per key on
**Team → API** with this month's total against the plan. `429`s don't count.

## Session tokens [#session-tokens]

Apps people sign in to have their own budget: 300 requests a minute and 9,000
an hour per person and app. Hitting it means a client is stuck in a loop.