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)
durationstring · enumOptionalPossible values:
Lookback duration (default 24h)
end_tsintegerOptional
End unix timestamp (default: now)
start_tsintegerOptional
Start unix timestamp (filters results after fetch)
fidelityintegerOptional
Max data points returned — downsamples if the window contains more
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/historyLast updated