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 (scalar string only; repeated ?outcome= parameters answer 400 invalid_outcome, RND-2056). 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. Accepted: YYYY-MM-DD (00:00 UTC), YYYY or YYYY-MM, or one of those followed by T (or a space) and HH:mm[:ss[.fff]] with Z or an offset (±HH:MM, ±HHMM); 24:00 means the end of the day. A time without a zone, a rolled-over date (2026-02-30), a year outside 0001–9999 or more than 64 characters is refused (RND-4436). Else 400 invalid_timestamp.

to
string

Custom-range upper bound (inclusive); defaults to now, clamped to now if in the future. Only meaningful alongside from. Accepted: YYYY-MM-DD (00:00 UTC), YYYY or YYYY-MM, or one of those followed by T (or a space) and HH:mm[:ss[.fff]] with Z or an offset (±HH:MM, ±HHMM); 24:00 means the end of the day. A time without a zone, a rolled-over date (2026-02-30), a year outside 0001–9999 or more than 64 characters is refused (RND-4436). Else 400 invalid_timestamp.

Response

OK

symbol
string
required
Example:

"WC26-FIN-ARG-FRA"

outcome
string
required

The requested outcome, canonical: YES / NO for a label, else the canonical non-negative integer index without leading zeros (e.g. "05" echoes as "5", RND-2056).

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