Returns a gap-free series of (ts, price) tuples for the requested range and outcome. price is (bestBid + bestAsk) / 2 when both book sides are populated, last-trade fallback otherwise, with carry-forward through inactive intervals — the FE never receives an empty points array on an active market.
Replaces the legacy /ohlc endpoint for the new chart UX:
range parameter — backend owns the (grain, window) mapping, so a UX change (“LIVE shows 10 min instead of 5”) does not require a frontend deploy.mid semantics match the displayed pill price the FE renders from the orderbook, so the chart line aligns with the headline percentage.Bucket counts: live ≈ 300 (1s), 1h = 60 (1m), 1d = 48 (30m), 1w = 28 (6h), 1m = 60 (12h).
Documentation Index
Fetch the complete documentation index at: https://docs.adipredictstreet.com/llms.txt
Use this file to discover all available pages before exploring further.
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.
live = last 5 min @ 1s buckets · 1h = last 1h @ 1m · 1d = last 24h @ 30m · 1w = last 7d @ 6h · 1m = last 30d @ 12h.
live, 1h, 1d, 1w, 1m Outcome to project. Binary markets accept YES / NO; N-ary markets accept the integer index (0-based). Defaults to YES.
OK
"WC26-FIN-ARG-FRA"
Echoed outcome query parameter (label or raw integer).
"YES"
live, 1h, 1d, 1w, 1m Window lower bound (inclusive).
Window upper bound (inclusive).