Recurring markets (5-minute, hourly, daily crypto, etc.) run as a series of timed slots.Documentation Index
Fetch the complete documentation index at: https://docs.limitless.exchange/llms.txt
Use this file to discover all available pages before exploring further.
/markets/active only ever returns the slot that is currently open, so it cannot be used to pre-fetch the next one. The timeline endpoints return the upcoming and past slots for a recurring series, including each slot’s slug and a tradable flag, so you can resolve the next slug and warm up an orderbook subscription before it opens.
Both endpoints are public and require no authentication.
By current slug
If you already have the current slug (e.g. from/markets/active):
- Route:
GET /markets/{slug}/timeline - Query:
before(default1),after(default24) — number of slots to return on each side of the anchor.
By symbol and frequency
If you do not have a current slug, anchor on the recurring series directly:- Route:
GET /markets/timeline
| Query param | Type | Required | Description |
|---|---|---|---|
symbol | string | Yes | Underlying symbol, e.g. BTC. |
frequency | string | Yes | One of minutely, hourly, daily, weekly. |
subFrequency | string | Required for minutely / hourly | Slot size, e.g. minutes_5, minutes_15, hours_1. |
before | number | No | Past slots to return (default 10, max 500). |
after | number | No | Future slots to return (default 10, max 500). |
Response
Slot fields
| Field | Type | Description |
|---|---|---|
slug | string | Market slug for this slot. Use it to fetch the orderbook or place orders once tradable. |
state | string | PRE_OPEN, OPEN, SETTLING, SETTLED, or FAILED. |
tradable | boolean | Whether orders are currently accepted for this slot. |
startAt / endAt | string | ISO 8601 slot window bounds. |
countdownSec | number | Seconds to the next boundary (current / next only). |
index | number | Slot offset from the anchor (batch only). |
GET /markets/{slug}/timeline variant additionally returns anchor and job metadata describing the recurring series.
A slot can exist in
PRE_OPEN before orders are accepted. Gate order submission on tradable: true / state: "OPEN" rather than on startAt alone.Pre-fetch pattern
- Poll the timeline a few seconds before the current slot ends.
- Read
next.slugand open its orderbook subscription early. - Submit the moment
nextflips tostate: "OPEN"/tradable: true.