Skip to main content
GET
cURL
Returns provider-first OHLC candles for each outcome token from 0xinsider’s stored daily price snapshots. Open and resolved markets are supported. Use resolution=1d for daily points or resolution=1w for weekly OHLC across the observed daily closes. Daily storage does not provide intraday fidelity, so a one-day candle commonly has equal open, high, low, and close values.
A market with no stored series returns empty outcome arrays. The API does not fabricate candles.

Authorizations

Authorization
string
header
required

API key authentication. Send your key in the Authorization header as Bearer oxi_sk_live_.... Live keys require an active Insider subscription and return live data.

Headers

If-None-Match
string

Conditional GET validator from a previous ETag. Matching values return 304 Not Modified with an empty body.

Path Parameters

condition_id
string
required

Market condition ID. Accepts the raw provider-backed condition_id returned by /api/v1/markets/search or /api/v1/markets/explore, or the mkt_-prefixed market.id emitted by V1 responses.

Query Parameters

resolution
enum<string>
default:1d

Bucketing granularity. 1d aggregates by UTC calendar day, 1w by ISO week (Monday 00:00 UTC start). Defaults to 1d.

Available options:
1d,
1w
from
integer<int64>

Exclusive lower bound as a unix timestamp in seconds; points at or before this timestamp are omitted (the underlying daily snapshot read filters bucket_start > from). Note: for resolution=1w a surviving mid-week point can yield a weekly candle whose t (Monday 00:00 UTC) precedes from.

to
integer<int64>

Inclusive upper bound as a unix timestamp in seconds; points after this timestamp are omitted.

Response

Provider-first market candles

object
string
required
Allowed value: "market_candles"
data
object
required

Provider-first bucketed OHLC price candles for a market's outcome tokens, derived from the stored token_price_snapshots series (covers open and resolved markets).

meta
object
required