Deribit Market Data API is one of 19 APIs that Deribit publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Market Data. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, and rate-limit docs.
This API exposes
31 operations
across 31 paths,
and defines 92 schemas.
It is described by OpenAPI 3.0.0, at version 2.1.1.
Requests are made against a single base URL, https://test.deribit.com/api/v2.
The identity and technical contract details declared by the specification.
PublicTradesHistoryResponse
object
3 properties
2 required
settlement_type
string
The type of settlement. settlement, delivery or bankruptcy.
trades_volumes
object
13 properties
4 required
continuation
string
Continuation token for pagination.
PublicGetIndexPriceResponse
object
3 properties
2 required
book_state
string
The state of the order book. Represents the current lifecycle stage of the instrument. State Lifecycle and Meanings: - open: Default state for running books. I…
currency_with_any_and_grouped
string
Currency name or "any" if don't care or "grouped" if grouped by currencies
kind_with_combo_all
string
Instrument kind: "future", "option", "spot", "futurecombo", "optioncombo", "combo" for any combo or "any" for all
open_interest
number
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 line…
price
number
Price in base currency
Instrument
object
A tradeable instrument's reference data.
19 properties
4 required
PublicGetFundingRateValueResponse
object
3 properties
2 required
PublicGetIndexPriceNamesResponse
object
3 properties
2 required
date
string
The event date with year, month and day
stats
object
5 properties
3 required
PublicGetIndexChartDataResponse
object
3 properties
2 required
block_trade_id_in_result
string
Block trade id - when trade was part of a block trade
best_ask_amount
number
It represents the requested order size of all best asks
PublicGetTradesVolumesResponse
object
3 properties
2 required
PublicGetVolatilityIndexDataResponse
object
3 properties
2 required
trade_id
string
Unique (per currency) trade identifier
settlement_price
number
Optional (not added for spot). The settlement price for the instrument. Only when state = open
TickerNotificationWithBidsAndAsks
object
27 properties
16 required
interest_rate
number
Interest rate used in implied volatility calculations (options only)
timestamp
integer
The timestamp (milliseconds since the Unix epoch)
instrument_id
integer
Instrument ID
underlying_price
number
Underlying price for implied volatility calculations (options only)
contract_size
integer
Contract size, for futures in USD, for options in base currency of the instrument (BTC, ETH, ...)
PublicGetBookSummaryResponse
object
3 properties
2 required
currency
string
Currency, i.e "BTC", "ETH", "USDC"
bid_iv
number
(Only for option) implied volatility for best bid
settlement
object
14 properties
7 required
direction
string
Direction: buy, or sell
GetInstrumentsResponse
object
3 properties
2 required
currency_with_any
string
Currency name or "any" if don't care
PublicGetOrderBookResponse
object
3 properties
2 required
block_trade_leg_count
integer
Block trade leg count - when trade was part of a block trade
volume_usd
number
Volume in usd (futures only)
book_summary
object
23 properties
13 required
instrument_name
string
Unique instrument identifier
mark_iv
number
(Only for option) implied volatility for mark price
current_funding
number
Current funding (perpetual only)
funding_8h
number
Funding 8h (perpetual only)
PublicGetMarkPriceHistoryResponse
object
3 properties
2 required
PublicGetInstrumentsResponse
object
3 properties
2 required
delivery_price
number
The settlement price for the instrument. Only when state = closed
price_index
string
Name of price index that is used for this instrument
mark_price
number
The mark price for the instrument
instrument
object
28 properties
12 required
settlement_currency_with_any_and_grouped
string
Currency name or "any" if don't care or "grouped" if grouped by currencies
best_bid_amount
number
It represents the requested order size of all best bids
kind_future_or_option_with_any
string
Instrument kind: "future", "option" or "any" for all
tick_direction
integer
Direction of the "tick" (0 = Plus Tick, 1 = Zero-Plus Tick, 2 = Minus Tick, 3 = Zero-Minus Tick).
currency_with_apr
object
12 properties
6 required
PublicGetInstrumentResponse
object
3 properties
2 required
PublicGetExpirationsResponse
object
3 properties
2 required
PublicGetDeliveryPricesResponse
object
3 properties
2 required
trade_timestamp
integer
The timestamp of the trade (milliseconds since the UNIX epoch)
PublicGetFundingChartDataResponse
object
3 properties
2 required
PublicGetHistoricalVolatilityResponse
object
3 properties
2 required
greeks
object
Only for options. Greeks are risk measures that describe how the option's price changes with respect to various factors. Delta (Δ) Deribit uses two different D…
5 properties
5 required
max_price
number
The maximum price for the future. Any buy orders you submit higher than this price, will be clamped to this maximum.
PublicGetContractSizeResponse
object
3 properties
2 required
PublicGetFundingRateHistoryResponse
object
3 properties
2 required
key_number_pair
object
2 properties
2 required
PublicTickerResponse
object
3 properties
2 required
best_ask_price
number
The current best ask price, null if there aren't any asks
best_bid_price
number
The current best bid price, null if there aren't any bids
trade_seq
integer
The sequence number of the trade within instrument
index_name
string
Index identifier, matches (base) cryptocurrency with quote currency
public_trade
object
18 properties
10 required
ask_iv
number
(Only for option) implied volatility for best ask
PublicSettlementResponse
object
3 properties
2 required
kind
string
Instrument kind: "future", "option", "spot", "futurecombo", "optioncombo"
tick_size_step
object
2 properties
min_price
number
The minimum price for the future. Any sell orders you submit lower than this price will be clamped to this minimum.
underlying_index
number
Name of the underlying future, or indexprice (options only)
TickerNotification
object
27 properties
15 required
expirations
object
A map where each key is valid currency (e.g. btc, eth, usdc), and the value is a list of expirations or a map where each key is a valid kind (future or options…
2 properties
estimated_delivery_price
number
Estimated delivery price for the market. For more details, see Contract Specification General Documentation Expiration Price
PublicGetTradingviewChartDataResponse
object
3 properties
2 required
last_price
number
The price for the last trade
PublicGetCurrenciesResponse
object
3 properties
2 required
quote_price
number
Price in quote currency
index_price
number
Current index price
JsonRpcError
object
JSON-RPC 2.0 error envelope returned for failed requests.
3 properties
2 required
chart_volume
number
// todo
PublicGetAprHistoryResponse
object
3 properties
2 required
interest_value
number
Value used to calculate realizedfunding in positions (perpetual only)
The full machine-readable OpenAPI contract behind this narrative.
Other APIs Deribit publishes across the network.