Get price history
Query parameters
marketstringRequired
Market contract address
token_idstringOptional
Outcome token ID (provide token_id or outcome_index, not both)
outcome_indexintegerOptional
Outcome index, 0-based (provide token_id or outcome_index, not both)
intervalstring · enumOptionalPossible values:
Bucket interval (range mode, changes_only=false). IGNORED when changes_only=true — that mode auto-picks resolution by trade density.
durationstring · enumOptionalPossible values:
Lookback duration (duration mode, default 24h)
end_tsintegerOptional
End unix timestamp (default: now)
start_tsintegerOptional
Range mode: window start (required). Duration mode: filters results after fetch.
fidelityintegerOptional
Max data points returned — downsamples if the window contains more
changes_onlybooleanOptional
Return only step edges — drop flat gap-filled buckets where price/payout/collateral/minted_quantity are unchanged (default false; for step-rendered charts)
Responses
200
OK
application/json
Historical price series.
outcomeNamestringOptional
400
Bad Request
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
get/api/v1/market-data/prices/history
Last updated