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 freeUnderlying Chainlink oracle candles used by a market's chart.
Non-Chainlink markets answer HTTP 400.
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 |
interval | query | str1m | 5m | 15m | 1h | 4h | 1d | optional | Candlestick interval. default: 1mexample: 1m |
from | query | int | optional | Start timestamp (UNIX seconds). Keep 1m windows <= 24h; coarse intervals (1h/4h/1d) get a default lookback window if omitted. example: 1795000000 |
to | query | int | optional | End 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"