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

# Limits

> Rate limits in units per minute, what each request costs, requests at once, and monthly quotas.

Rate limits are counted in **units per minute per organisation**. Each response's `Qelso-Units` header gives its cost, and `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset` (in epoch seconds) give your budget.

## What each request costs

| Class | Endpoints | Page size | Window per request | Units |
| - | - | - | - | - |
| Reference | venues, categories, series, events, markets, market, lifecycle, usage | ≤ 1,000 items (default 100) | — | 1 |
| Minute | prices, candles and statistics at `1m`–`1d`; books at intervals of `1m`–`1d` | ≤ 1,000 points | your plan's history window | 1 |
| Sub-minute | prices and candles at `1s` and `100ms`; books `at` a millisecond or at intervals below `1m` | ≤ 10,000 points (books ≤ 1,000) | ≤ 6 hours; books also ≤ 100,000 intervals | 5 |
| Ticks | best bid and ask, book changes | ≤ 10,000 rows | ≤ 6 hours | 10 |
| Ticks | trades | ≤ 10,000 rows | ≤ 31 days | 10 |
| Streams | any history or tick endpoint, with `Accept: application/x-ndjson` or `text/csv` | — | 24 hours (sub-minute and ticks; books below `1m` also ≤ 100,000 intervals), 31 days (trades), 366 days (`1m`–`1d`) | the endpoint's page cost |

* Book pages also stop at 100,000 price levels.
* A request rejected with `400`, `403`, `404` or `406` costs 1 unit. `GET /v2/health` is free.

## Requests at once

Each organisation may run at most **2 streams**, **4 sub-minute or tick requests** and **2 list or search requests** (series, events and markets) at once. A request over any of these limits gets a `429` with `Retry-After`.

Paging a list is one request at a time anyway, since each page needs the last page's cursor, and a list across both venues is one request.

## Monthly quotas

Your plan may have monthly quotas, counted per calendar month in UTC. `GET /v2/usage` shows each one, what you have used and when it resets.

* **Rows** are the data rows you receive, in pages and streams: one interval of prices, candles or statistics for one market, one book per interval, one best bid and ask or book change, one trade. The rows of files you buy in the store count too.
* **Requests** are data requests answered with at least one row.

Lists, search, a market's details and `GET /v2/usage` never count, and a used-up quota never refuses them. A quota may let data through past its `limit` before it refuses.

* A stream won't start when its quota is used up. Once started, a stream is never cut off for rate or quota, so it may finish slightly over.
* A used-up quota answers `429` with the code `quota_exceeded` and no `Retry-After`. Don't retry it automatically; `details.resets_at` says when it resets.

## When you hit a limit

Over your units per minute, or your requests at once, you get `429` with the code `rate_limited`. Wait the number of seconds in `Retry-After`, then retry. The Python SDK does this for you.


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