cURL
curl --request GET \ --url https://test.deribit.com/api/v2/public/get_book_summary_by_instrument \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "id": 3659, "method": "public/get_book_summary_by_instrument", "params": { "instrument_name": "ETH-22FEB19-140-P" } } '
{ "jsonrpc": "2.0", "id": 3659, "result": [ { "volume": 0.55, "underlying_price": 121.38, "underlying_index": "index_price", "quote_currency": "USD", "price_change": -26.7793594, "open_interest": 0.55, "mid_price": 0.2444, "mark_price": 80, "low": 0.34, "last": 0.34, "interest_rate": 0.207, "instrument_name": "ETH-22FEB19-140-P", "high": 0.34, "creation_timestamp": 1550227952163, "bid_price": 0.1488, "base_currency": "ETH", "ask_price": 0.34 } ] }
Retrieves the summary information such as open interest, 24h volume, etc. for a specific instrument.
Try in API console
Instrument name Unique instrument identifier
"BTC-PERPETUAL"
Success response
The JSON-RPC version (2.0)
2.0
Show child attributes
The id that was sent in the request
Was this page helpful?