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 summary information such as open interest, 24-hour volume, best bid/ask prices, last trade price, mark price, and other market statistics for a specific instrument.
This method provides a quick overview of current market activity and liquidity for a single instrument.
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
}
]
}Instrument name Unique instrument identifier
"BTC-PERPETUAL"
Success response
The JSON-RPC version (2.0)
2.0 Hide child attributes
Unique instrument identifier
"BTC-PERPETUAL"
Price of the 24h highest trade
7022.89
Price of the 24h lowest trade, null if there weren't any trades
7022.89
Base currency
"ETH"
Quote currency
"USD"
The total 24h traded volume (in base currency)
223
The current best bid price, null if there aren't any bids
7022.89
The current best ask price, null if there aren't any asks
7022.89
The average of the best bid and ask, null if there aren't any asks or bids
7022.89
The current instrument market price
7022.89
The price of the latest trade, null if there weren't any trades
7022.89
Optional (only for derivatives). The total amount of outstanding contracts in the corresponding amount units. For perpetual and inverse futures the amount is in USD units. For options and linear futures it is the underlying base currency coin.
0.5
The timestamp (milliseconds since the Unix epoch)
1536569522277
Optional (only for derivatives). Estimated delivery price for the market.
11628.81
Volume in USD
Volume in quote currency (futures and spots only)
Current funding (perpetual only)
0.12344
Funding 8h (perpetual only)
(Only for option) implied volatility for mark price
Interest rate used in implied volatility calculations (options only)
0
Name of the underlying future, or 'index_price' (options only)
"index_price"
underlying price for implied volatility calculations (options only)
6745.34
24-hour price change expressed as a percentage, null if there weren't any trades
10.23
The id that was sent in the request
Was this page helpful?