Deribit Public API is one of 19 APIs that Deribit publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Public. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, and rate-limit docs.
This API exposes
46 operations
across 46 paths,
and defines 110 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.
PublicGetComboIdsResponse
object
3 properties
2 required
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…
PublicGetTimeResponse
object
3 properties
2 required
combo_id
string
Unique combo identifier
currency_with_any_and_grouped
string
Currency name or "any" if don't care or "grouped" if grouped by currencies
api_key_features
array
List of enabled advanced on-key features. Available options: - restrictedblocktrades : Limit the blocktrade read the scope of the API key to block trades that…
kind_with_combo_all
string
Instrument kind: "future", "option", "spot", "futurecombo", "optioncombo", "combo" for any combo or "any" for all
PublicGetBlockRfqTradesResponse
object
3 properties
2 required
PublicTestResponse
object
3 properties
2 required
PublicGetCombosResponse
object
3 properties
2 required
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…
combo_state
string
Combo state: "active", "inactive"
price
number
Price in base currency
PublicGetFundingRateValueResponse
object
3 properties
2 required
PublicGetIndexPriceNamesResponse
object
3 properties
2 required
stats
object
5 properties
3 required
PublicGetAnnouncementsResponse
object
3 properties
2 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
block_rfq_trade_tape_continuation
string
Continuation token for pagination. NULL when no continuation. Consists of timestamp and blockrfqid.
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
currency_with_any
string
Currency name or "any" if don't care
PrivateSubscribeResponse
object
3 properties
2 required
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
combo_leg
object
2 properties
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
PublicGetComboDetailsResponse
object
3 properties
2 required
combo_leg_amount
integer
Size multiplier of a leg. A negative value indicates that the trades on given leg are in opposite direction to the combo trades they originate from
PublicAuthResponse
object
3 properties
2 required
tick_direction
integer
Direction of the "tick" (0 = Plus Tick, 1 = Zero-Plus Tick, 2 = Minus Tick, 3 = Zero-Minus Tick).
block_rfq_hedge_leg
object
4 properties
currency_with_apr
object
12 properties
6 required
PublicGetInstrumentResponse
object
3 properties
2 required
PublicGetExpirationsResponse
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
ErrorMessageResponse
object
4 properties
3 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
PublicTokenResponse
object
3 properties
2 required
public_trade
object
18 properties
10 required
Getunsubscribe200response
object
3 properties
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
combo
object
6 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.
OkResponse
object
3 properties
2 required
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
PublicStatusResponse
object
3 properties
2 required
quote_price
number
Price in quote currency
index_price
number
Current index price
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.