GET /v1/market/{conditionId}/prices
The YES token's price history for one window: the freshest order-book mid per bucket (15 m for 1d, 1 h for 1w, 4 h for 1m, 1 d for all), at most 500 points. On 1d / 1w / 1m the most recent are kept and `truncated` says so. window=all also draws from fills every UTC day the book tape has NO point for, before the tape begins or in a hole of it (one point per such day with a fill, share-weighted Yes-equivalent price; a day with a book point keeps the book point; a day with neither has no point, nothing is interpolated), stops at the market's close, and coarsens to weekly then monthly buckets instead of dropping the early part (a coarse bucket with any book day is a book point, one with trade days only is a trades point).
The YES token's price history for one window: the freshest order-book mid per bucket (15 m for 1d, 1 h for 1w, 4 h for 1m, 1 d for all), at most 500 points. On 1d / 1w / 1m the most recent are kept and truncated says so. window=all also draws from fills every UTC day the book tape has NO point for, before the tape begins or in a hole of it (one point per such day with a fill, share-weighted Yes-equivalent price; a day with a book point keeps the book point; a day with neither has no point, nothing is interpolated), stops at the market's close, and coarsens to weekly then monthly buckets instead of dropping the early part (a coarse bucket with any book day is a book point, one with trade days only is a trades point).
API key: Authorization: Bearer pk_live_… (mint at polyrank.app/api-keys)
In: header
Path Parameters
Query Parameters
Response Body
application/json
curl -X GET "https://example.com/v1/market/string/prices"{ "condition_id": "string", "window": "1d", "bucket_seconds": -9007199254740991, "points": [ { "t": "string", "mid": 0, "source": "trades" } ], "truncated": true, "bucket": "day", "trades_until": "string", "first_point_at": "string"}GET /v1/market/{conditionId}/liquidity-history GET
Liquidity depth over time: daily rollup (poly.liquidity_daily) or 15-min intraday buckets of the YES token depth. Forward-growing coverage (0087).
GET /v1/market/{conditionId}/recap GET
Resolution recap: outcome, settlement provenance, who-called-it-early, winners/losers, tagged-wallet hit-rate.