/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
Response
Slot fields
The
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.