latestOpenAPI 3.0.3Apache 2.02026-08-2156323220.5 KB

76e4e47cf3aa

Get Mark Price History

Get mark price history for an instrument, bucketed by interval. If no end time is provided, the current time will be used. Maximum of 1000 entries returned per request. Only buckets with at least one mark update are included. For intervals of a minute or coarser, a bucket cut mid-way by end_timestamp may be omitted, or may reflect the window's last mark at one-minute fidelity.

get/v1/info/mark-history

Query parameters

instrument_idinteger required

Instrument ID

interval'1s' | '1m' | '5m' | '15m' | '30m' | '1h' | '4h' | '6h' | '12h' | '1d' | '1w' required

Kline interval

start_timestampinteger required

Start timestamp in milliseconds

Example:1767225600000
end_timestampinteger

End timestamp in milliseconds

Example:1767229200000

Response

Mark price history response.

moreboolean required

More data available

Example response

{
  "data": [
    [
      1767225600000,
      "160.00"
    ]
  ]
}