Pricing and Books
Historical Timeseries Data
Fetches historical price data for a specified market token.
GET
The CLOB provides detailed price history for each traded token.
HTTP REQUEST
GET /<clob-endpoint>/prices-history
We also have a Interactive Notebook to visualize the data from this endpoint available here.
Query Parameters
The CLOB token ID for which to fetch price history.
The start time, a Unix timestamp in UTC.
The end time, a Unix timestamp in UTC.
A string representing a duration ending at the current time.
Mutually exclusive with startTs
and endTs
.
Available options:
1m
, 1w
, 1d
, 6h
, 1h
, max
The resolution of the data, in minutes.
Response
200 - application/json
A list of timestamp/price pairs
The response is of type object
.