GET /markets/{slug}/timeline
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/limitless/markets/{slug}/timelineCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeAnchor, current, next and batch slots around a recurring market.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
slug | path | str | required | Slug of a currently live recurring ladder market (slugs embed the slot timestamp and rotate). example: btc-up-or-down-5-min-1795028100 |
before | query | int | optional | How many slots before the anchor to include. example: 2 |
after | query | int | optional | How many slots after the anchor to include. example: 2 |
Response
type: object
data key: batch
cursor key: next
pagination: cursor
sample: {
"anchor": "object",
"current": "object",
"next": "object",
"batch": "array[5]",
"job": "object"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/limitless/markets/btc-up-or-down-5-min-1795028100/timeline?before=2&after=2"