Polyrankdocs
Markets

GET /v1/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/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).

AuthorizationBearer <token>

API key: Authorization: Bearer pk_live_… (mint at polyrank.app/api-keys)

In: header

Path Parameters

conditionId*string

Query Parameters

window?string

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    }  ],  "truncated": true}