> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getlurk.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Rate limits

> How many calls a key, a project and a signed-in person can make a minute, the feedback limits, the size limits, and what to do on a 429.

Lurk limits how fast one key, and one project, can call it, so everyone's calls stay quick. Each limit counts calls in a fixed window, and the window starts with the first call. Past a limit the answer is `429`.

## Calls a minute

| Kind of call | Per key | Per project |
| - | - | - |
| Sending events (`POST /v1/events`) | 6,000 | 12,000 |
| Everything else, with a project key or an agent key | 120 | 300 |
| Everything else, by a person signed in to the dashboard | 600 for each person | 1,500 |

* Reading events is "everything else". Only sending an event is in the first row.
* Each key counts on its own, and an agent key counts apart from the project key. Project keys and agent keys share the project's 300 and 12,000. People signed in to the dashboard share the project's 1,500, which key traffic does not use.
* A call the key was refused does not use up the project's share.
* The same limits apply to the [MCP server](https://docs.getlurk.com/mcp-server.md#errors-and-limits), call for call.

## Sending feedback

Sending [feedback](https://docs.getlurk.com/guides/send-feedback.md) has limits of its own, on top of the ones above.

| Limit | Value |
| - | - |
| Per key, agent key or team member | 5 a minute |
| Per project | 50 in 24 hours |
| Message length | 2,000 characters |

The first limit counts a team member as one person, whichever way they are signed in.

## Wallet links

Wallet links are not available yet. When they are, they will have limits of their own, on top of the ones above.

| Calls | Limit |
| - | - |
| Linking a wallet | 100 an hour and 1,000 in 24 hours per project |
| Adding an assertion to a link | 100 an hour per project |
| Unlinking a wallet and withdrawing an assertion, together | 200 an hour per project |
| Listing, reading and looking up wallet links, reading holdings, listing and reading activations, reading accrual, earners, token balances, activation overrides, activation review, on-chain settings, wallet settings and on-chain staff access, together | 30 a minute for each key or person, 60 a minute per project |

The hourly and daily limits count the changes made in the hour or the 24 hours before the call, and a call they refuse changes nothing. A retry with the same idempotency key gets the first answer and is not counted again. A link's first assertion counts as the link.

## Size limits

| What | Limit |
| - | - |
| A request body | 256 KB. A larger one is refused with `validation_failed`. |
| Items in a list answer (`limit`) | 1 to 200, and 50 if you leave it out, for most lists. A few have their own range, such as the units leaderboard (1 to 10, 10 if left out). The API reference gives each one. [Pagination](https://docs.getlurk.com/guides/pagination.md) |
| An event name | 100 characters |
| The `user` of an event | 256 characters |
| An idempotency key | 255 characters |
| Properties on an event | 50. A text value is up to 1,024 characters, and a list holds up to 50 values. |

The event fields are described on [Events](https://docs.getlurk.com/events.md).

## What you see

An answer to a call that counts against a limit carries two headers for the limit nearest to running out. They follow the IETF draft for rate limit headers.

```text theme={null}
RateLimit-Policy: "ingest-key";q=6000;w=60
RateLimit: "ingest-key";r=5999;t=42
```

* `RateLimit-Policy`: the limit's name, `q` the calls it allows and `w` the window in seconds.
* `RateLimit`: the same name, `r` the calls left and `t` the seconds until the window ends.

The names are `ingest-key`, `ingest-project`, `management-key`, `management-project`, `dashboard-member`, `dashboard-team`, for feedback `feedback-caller` and, for wallet reads, `wallet-read-caller` and `wallet-read-project`. The 50 a day for a project and the wallet changes per hour or day are not in the headers.

## If you get a 429

The answer has the error code `rate_limited` and the usual [error body](https://docs.getlurk.com/errors.md). A per-minute limit also sends a `Retry-After` header with the seconds to wait, and so do the wallet limits per hour and per day. The project's daily feedback cap does not: wait for the 24 hours to pass.

1. Wait for the `Retry-After` time.
2. Retry with the same idempotency key, so a call that did go through is not done twice. [Idempotency and retries](https://docs.getlurk.com/guides/idempotency-and-retries.md)
3. If it keeps happening, spread calls out. For events, send one event for each thing that happened and let rules do the rest.

The [SDKs](https://docs.getlurk.com/sdks/overview.md) wait for `Retry-After` and retry, up to their retry count (two by default), but only when it is 60 seconds or less. For a longer wait they raise the error. A rate-limited MCP tool call answers `isError: true` with `rate_limited`, and puts the wait in `_meta["getlurk.com/retry-after-seconds"]` rather than a header.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.