GET /public/get_mark_price_history

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/deribit/public/get_mark_price_historyCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Historical mark-price time series for one Deribit option instrument in a millisecond window.

Parameters

nameintypedescription
instrument_namequerystrrequiredDeribit option instrument name, e.g. BTC-25DEC26-80000-C.
example: BTC-25DEC26-80000-C
start_timestampqueryintrequiredStart timestamp in milliseconds since epoch.
example: 1795278026522
end_timestampqueryintrequiredEnd timestamp in milliseconds since epoch.
example: 1795882826522

Response

type: object
data key: result
pagination: none
sample: {
  "jsonrpc": "str",
  "result": "array[299]",
  "usIn": "int",
  "usOut": "int",
  "usDiff": "int",
  "testnet": "bool"
}

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/deribit/public/get_mark_price_history?instrument_name=BTC-25DEC26-80000-C&start_timestamp=1795278026522&end_timestamp=1795882826522"