GET /markets/{slug}/oracle-candles

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/limitless/markets/{slug}/oracle-candlesCache cached 1s, never served stale past that windowCost free · weight 0 · heavy rate classSource billing free

Underlying Chainlink oracle candles used by a market's chart.

Non-Chainlink markets answer HTTP 400.

Parameters

nameintypedescription
slugpathstrrequiredSlug of a currently live recurring ladder market (slugs embed the slot timestamp and rotate).
example: btc-up-or-down-5-min-1795028100
intervalquerystr
1m | 5m | 15m | 1h | 4h | 1d
optionalCandlestick interval.
default: 1m
example: 1m
fromqueryintoptionalStart timestamp (UNIX seconds). Keep 1m windows <= 24h; coarse intervals (1h/4h/1d) get a default lookback window if omitted.
example: 1795000000
toqueryintoptionalEnd timestamp (UNIX seconds).
example: 1795030000

Response

type: object
data key: rows
pagination: none
sample: {
  "interval": "str",
  "source": "str",
  "symbol": "str",
  "timestampEnd": "int",
  "timestampStart": "int",
  "rows": "array[472]"
}

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/oracle-candles?interval=1m&from=1795000000&to=1795030000"