Prices
Market outcome price/probability history
Last-traded-price history for one outcome token over a preset range, as TradingView-shim history ({ s, t, c }, seconds + probability 0..1) plus latestTradeAt. Step-held onto ~400 uniform points. Long-cached once the window is settled; no-cache while it overlaps the live edge.
GET
/
api/v1/prices/token-historyQuery Parameters
token_idRequiredstring
Outcome token id (agara_market_outcomes.token_id).
rangestring
Window preset; defaults to 1d.
Default:
"1d"Value in: "1h" | "6h" | "1d" | "7d" | "30d" | "all"pointsinteger
Number of sampled points; defaults to 400.
Default:
400Minimum: 2Maximum: 1000Success