> For the complete documentation index, see [llms.txt](https://docs.ticksights.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ticksights.com/api/rate-limits.md).

# Rate Limits

Every endpoint is rate limited per hour and per day, counted separately for each endpoint and each token. Which limits apply depends on your licence tier: **Premium**, **Basic**, or **Default** for a valid token without an active subscription.

| Endpoint                        | Premium (Daily/Hourly) | Basic (Daily/Hourly) | Default (Daily/Hourly) |
| ------------------------------- | ---------------------- | -------------------- | ---------------------- |
| `/event` (POST)                 | 70/20                  | 20/10                | 10/1                   |
| `/event/{id}`                   | 4000/800               | 100/60               | 10/10                  |
| `/events`                       | 5000/1000              | 250/40               | 500/50                 |
| `/venues`                       | 1000/200               | 100/20               | 500/50                 |
| `/event/{id}/sales`             | 10000/1500             | 100/60               | 100/10                 |
| `/sales`                        | 720/30                 | 100/30               | 100/10                 |
| `/topsellers`                   | 500/100                | 150/25               | 50/5                   |
| `/event/{id}/avgprice`          | 6000/1000              | 250/40               | 50/5                   |
| `/boost`                        | 300/50                 | not available        | not available          |
| `/event/{id}/sales/development` | 2000/300               | not available        | not available          |

Exceeding a limit returns `429 Too Many Requests`; the message says which of the two windows you hit. `/boost` on a tier without access also returns `429`.

#### Headers

Every response carries your current standing, so you do not have to keep count yourself:

* `X-RateLimit-Daily-Limit` and `X-RateLimit-Hourly-Limit` - your limits for this endpoint
* `X-RateLimit-Daily-Remaining` and `X-RateLimit-Hourly-Remaining` - what is left
* `X-RateLimit-Daily-Reset` and `X-RateLimit-Hourly-Reset` - Unix timestamps of the next reset
* `X-RateLimit-License-Tier` - the tier that was applied
* `X-History-Window-Days` - how many days back the data goes, see History window

The hourly window is the clock hour and the daily window is the calendar day, both in server time - they reset on the hour and at midnight, not one hour or one day after your first call.

#### Staying within them

A `304 Not Modified` still counts, so caching saves bandwidth, not quota. What does save quota is asking for less: `updatedSince` on `/events` returns only what changed since your last sync instead of the whole catalogue, and `dateFrom`/`dateTo` on `/event/{id}/sales` replaces paging through the full history. See Conventions.
