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

# Rate limits

> How many requests you can make, the rate limit headers, and how to handle 429 responses.

Most endpoints allow **250 requests per 5 minutes**. Some have their own limits, such as sign-in and other sensitive endpoints; each endpoint's limit is listed in the [API reference](https://docs.linkvite.io/api-reference).

## Headers

Rate-limited responses include:

| Header | |
| - | - |
| `X-RateLimit-Limit` | Requests allowed in the window |
| `X-RateLimit-Remaining` | Requests left in the current window |
| `X-RateLimit-Reset` | Seconds until the window resets |

## When you hit the limit

Requests over the limit return `429` with a `Retry-After` header, in seconds:

```json theme={null}
{
  "ok": false,
  "error": "...",
  "request_id": "..."
}
```

Wait at least `Retry-After` seconds before retrying. The SDKs do this automatically for idempotent requests (`GET`, `PUT`, `DELETE`), retrying twice by default.

## Staying under the limit

* Request up to 100 items per page instead of many small pages.
* Use batch endpoints where they exist, such as [batch edit](https://docs.linkvite.io/api-reference/bookmarks/batch-edit-bookmark.md) and [batch star](https://docs.linkvite.io/api-reference/bookmarks/batch-toggle-bookmark-star.md) for bookmarks.
* Cache data that doesn't change often, like collections and the user.


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