Get Prices History
Get historical midpoint prices
Query Parameters
market*string
Token identifier (market) to query.
startTs?integer
Start of the time range (unix timestamp in seconds). Required when interval is absent.
Format
int64endTs?integer
End of the time range (unix timestamp in seconds). Defaults to now when omitted.
Format
int64interval?string
Preset time window to query. Cannot be used with startTs/endTs.
Value in
"1m" | "5m" | "15m" | "1h" | "6h" | "1d" | "1w" | "max"fidelity?integer
Bucket size in minutes when using explicit timestamps. Auto-calculated when omitted.
Format
int32Range
1 <= valueResponse Body
application/json
application/json
curl -X GET "https://clob.axes.co/prices-history?market=string"{
"history": [
{
"t": 0,
"p": 0
}
]
}{
"error": "string"
}