Skip to main content
GET
Time-series price points for the chart UI

Path Parameters

symbol
string
required

Market symbol, e.g. UAE-CUP-FINAL-20260425. Used by sub-resource endpoints (/orderbook, /trades, /ohlc, /traders). The root market-detail endpoint /api/markets/{slug} accepts the slug instead — see MarketSlug.

Query Parameters

range
enum<string>

Preset window. Send either range or from (custom window), not both: both → 400 ambiguous_range, neither → 400 invalid_range. live = last 2 min @ 1s · 1h = last 1h @ 15s · 1d = last 24h @ 5m · 1w = last 7d @ 30m · 1m = last 30d @ 2h · all = full history, bucket chosen at read time (read grain from the response).

Available options:
live,
1h,
1d,
1w,
1m,
all
outcome
string
default:YES

Outcome to project. Binary markets accept YES / NO; N-ary markets accept the integer index (0-based). Defaults to YES.

from
string

Custom-range mode: ISO-8601 lower bound (inclusive). Mutually exclusive with range. For a now-ending live chart, supply from and OMIT to.

to
string

Custom-range upper bound (inclusive); defaults to now, clamped to now if in the future. Only meaningful alongside from.

Response

OK

symbol
string
required
Example:

"WC26-FIN-ARG-FRA"

outcome
string
required

Echoed outcome query parameter (label or raw integer).

Example:

"YES"

range
enum<string>
required

Echoed preset, or custom for a from/to window.

Available options:
live,
1h,
1d,
1w,
1m,
all,
custom
from
string<date-time>
required

Window lower bound (inclusive).

to
string<date-time>
required

Window upper bound (inclusive).

grain
string
required

Bucket size the server used (e.g. s1, s15, m5).

points
object[]
required