GET /public/get_book_summary_by_instrument

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

Best bid/ask, last price, mark price and open interest for one instrument.

Parameters

nameintypedescription
instrument_namequerystrrequiredInstrument name.
example: BTC-PERPETUAL

Response

type: object
data key: result
pagination: none
sample: {
  "jsonrpc": "str",
  "result": "array[1]",
  "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_book_summary_by_instrument?instrument_name=BTC-PERPETUAL"