> For the complete documentation index, see [llms.txt](https://docs.nansen.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nansen.ai/getting-started/rate-limits.md). Agents can also search and read this documentation through its [MCP server](https://docs.nansen.ai/~gitbook/mcp).

# Rate Limits

Requests allowed per second and per minute on each plan, stricter limits on some endpoints, Inference API limits, and how to handle HTTP 429.

### Overview

The Nansen API applies rate limits per account. All API keys of an account share the same limits. Limits vary by subscription tier and are measured over both short and sustained windows.

### Plan limits

These limits apply to the data endpoints. The Inference API has its own limits, listed under [Inference](#inference).

| Plan                 |  Per second |     Per minute |
| -------------------- | ----------: | -------------: |
| Free                 | 15 requests |   300 requests |
| Pro (all paid plans) | 75 requests | 1,500 requests |

### Per-endpoint limits

These endpoints have additional limits for both Free and Pro plans:

| Endpoint                            |                                 Limit |
| ----------------------------------- | ------------------------------------: |
| `GET /api/v1/account`               | 2 requests/second, 10 requests/minute |
| `GET /api/v1/search/token-sectors`  |                    60 requests/minute |
| `POST /api/v1/tgm/perp-trades`      |                    60 requests/minute |
| `POST /api/v1/profiler/perp-trades` |                    60 requests/minute |
| `POST /api/v1/search/web-search`    |                    15 requests/minute |

### Rate-limit response headers

On the data endpoints, responses to requests made with an API key can include two sets of rate-limit headers:

* `X-RateLimit-Limit`, `X-RateLimit-Remaining`, and `X-RateLimit-Reset` show the limit that applies to the endpoint you called: your plan limit, or the endpoint's own limit where it has one (including the endpoints listed above). When several windows apply, they show the one closest to its limit. `X-RateLimit-Reset` is the number of seconds until the oldest request counted in that window stops counting. Use these headers to throttle your requests.
* `X-RateLimit-Limit-Second`, `X-RateLimit-Remaining-Second`, `X-RateLimit-Limit-Minute`, `X-RateLimit-Remaining-Minute`, `RateLimit-Limit`, `RateLimit-Remaining`, and `RateLimit-Reset` show a per-account ceiling that covers all data endpoints together. It is higher than every plan limit, so these headers do not show your plan limit. In normal use you reach your plan limit or an endpoint limit first.

Pay-per-request calls made without an API key have their own lower limits, which the per-second and per-minute headers show. Throttle on those, not on `X-RateLimit-Limit`. See [x402 rate limits](https://docs.nansen.ai/getting-started/agentic-payments/x402-payments.md#rate-limits).

A `429` from your plan limit or an endpoint limit includes `X-Nansen-RateLimit-Scope`. Its current values are `second` for the plan's per-second window, `minute` for the plan's per-minute window, and `endpoint` for an endpoint's own window. Treat these values as an open set: do not reject unknown future values; use the generic `429` behavior and honor `Retry-After`. A `429` without this header comes from another limit; honor `Retry-After` when it is present.

On the Inference API, responses include only the per-second and per-minute headers and the `RateLimit-*` headers, and these do show the inference limits. See [Inference](#inference).

### Inference

The [Inference API](https://docs.nansen.ai/api/inference.md) (not live yet) has its own limits. They also apply per account, and all API keys of an account share them.

| Requests counted                    | Free | Paid plans |
| ----------------------------------- | ---: | ---------: |
| Every inference request, per second |   30 |         30 |
| Every inference request, per minute |  300 |        300 |
| Generation requests, per minute     |  100 |        150 |

The per-second and per-minute limits on every inference request count model listing and usage lookups too. The generation limit counts chat completion, response and message requests, and no response header tracks it. See [Request-rate limits](https://docs.nansen.ai/api/inference.md#request-rate-limits) for the headers and the errors each limit returns.

### Exceeding rate limits

If you exceed a limit, the API returns a **429 Too Many Requests** response. When the response includes `Retry-After`, wait that many seconds before you retry.

For the `Retry-After` value each Inference API `429` and `503` carries, see [Inference: Retry-After](https://docs.nansen.ai/api/inference.md#retry-after).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.nansen.ai/getting-started/rate-limits.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
