Axes Docs

Get Prices History

Get historical midpoint prices

GET
/prices-history

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.

Formatint64
endTs?integer

End of the time range (unix timestamp in seconds). Defaults to now when omitted.

Formatint64
interval?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.

Formatint32
Range1 <= value

Response Body

application/json

application/json

curl -X GET "https://clob.axes.co/prices-history?market=string"
{
  "history": [
    {
      "t": 0,
      "p": 0
    }
  ]
}
{
  "error": "string"
}