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
- Book pages also stop at 100,000 price levels.
- A request rejected with
400,403,404or406costs 1 unit.GET /v2/healthis 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 a429 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.
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
429with the codequota_exceededand noRetry-After. Don’t retry it automatically;details.resets_atsays when it resets.
When you hit a limit
Over your units per minute, or your requests at once, you get429 with the code rate_limited. Wait the number of seconds in Retry-After, then retry. The Python SDK does this for you.