Polyrankdocs
Public (no auth)

GET /v1/public/market/{conditionId}/prices

The YES token's mid-price history for one window: the freshest mid per bucket (15 m for 1d, 1 h for 1w, 4 h for 1m, 1 d for all), at most 500 points (the most recent kept; `truncated` says so).

GET
/v1/public/market/{conditionId}/prices

The YES token's mid-price history for one window: the freshest mid per bucket (15 m for 1d, 1 h for 1w, 4 h for 1m, 1 d for all), at most 500 points (the most recent kept; truncated says so).

Path Parameters

conditionId*string

Query Parameters

window?string

Response Body

application/json

curl -X GET "https://example.com/v1/public/market/string/prices"
{  "condition_id": "string",  "window": "1d",  "bucket_seconds": -9007199254740991,  "points": [    {      "t": "string",      "mid": 0    }  ],  "truncated": true}