Deribit
Deribit derivatives market data: crypto options and perpetuals, order books, tickers, Greeks, DVOL, funding rates and WebSocket streams.
Independent service, not affiliated with Deribit. Deribit is a trademark of its owner.
What you can get
- Crypto options and perpetual instruments with strikes, expirations, tick sizes and contract sizes
- Book summaries, tickers, L2 order books, mark price history and option Greeks
- DVOL volatility index, 30-day historical volatility, funding rates and settlement history
- 12 real-time WebSocket feeds (trades, tickers, order books, quotes, perpetuals)
First request
Example: GET /public/ticker. Send your key in the X-Hub-Key header.
curl -sS -H "X-Hub-Key: $API_HUB_KEY" \
"https://openapihub.dev/run/deribit/public/ticker?instrument_name=BTC-PERPETUAL"Response
The provider's JSON arrives unchanged in data. Abridged example; values change with the market.
{
"source": "deribit",
"status": 200,
"data": {
"result": {
"instrument_name": "BTC-PERPETUAL",
"mark_price": 91425.5,
"index_price": 91408.1,
"funding_8h": 0.000084,
"open_interest": 642500000
}
}
}Limits and key
80 requests per second per key, bursts up to 160, 60 requests in flight. On 429, wait for Retry-After. Limits · Pricing · OpenAPI JSON
Get a free key in the Telegram bot: one key per account, issued in a few seconds.
Use cases
- Perpetuals and options API: Hyperliquid, dYdX v4 & Deribit
- Real-time crypto WebSockets and WebSocket RPC
All endpoints
WebSocket streams
GET
/ws/deribit/trades/{instrument} [WS] — Live public trade feed for one Deribit instrument (WebSocket).GET
/ws/deribit/ticker/{instrument} [WS] — Live public ticker updates for one Deribit instrument (WebSocket).GET
/ws/deribit/book/{instrument} [WS] — Live L2 order-book snapshot and 100ms deltas for one Deribit instrument (WebSocket).GET
/ws/deribit/quote/{instrument} [WS] — Live top-of-book best bid/ask quote ticks for one Deribit instrument (WebSocket).GET
/ws/deribit/perpetual/{instrument} [WS] — Live perpetual interest/funding rate updates for one Deribit perpetual (WebSocket).GET
/ws/deribit/chart/{instrument}/{resolution} [WS] — Live OHLCV candle updates for one Deribit instrument and resolution (WebSocket).GET
/ws/deribit/index/{index_name} [WS] — Live Deribit index price stream for one index (WebSocket).GET
/ws/deribit/volatility/{index_name} [WS] — Live Deribit DVOL volatility index stream (WebSocket).GET
/ws/deribit/markprice/{index_name} [WS] — Live options mark-price and implied-volatility chain stream for one index (WebSocket).GET
/ws/deribit/price_ranking/{index_name} [WS] — Live constituent exchange price rankings for one Deribit index (WebSocket).GET
/ws/deribit/estimated_expiration_price/{index_name} [WS] — Live estimated delivery/expiration price stream for one Deribit index (WebSocket).GET
/ws/deribit/platform_state [WS] — Live Deribit platform lock and operational status stream (WebSocket).Block RFQ
Candles
GET
/public/get_tradingview_chart_data — OHLCV chart data for one instrument at a TradingView resolution, bounded by millisecond timestamps.Exchange
Funding
GET
/public/get_funding_rate_history — Funding-rate history for one perpetual in a millisecond window.GET
/public/get_funding_rate_value — Average funding rate for one perpetual over a millisecond window.Indices
GET
/public/get_basket_index_composition — Latest composition of a Deribit basket index (currently COIN50): constituents, weights, cap factors and divisor.Instruments
GET
/public/get_instruments — Instrument metadata for a currency and kind: state, tick size, contract size, strike, expiry, settlement period and fees.Market data
GET
/public/get_book_summary_by_currency — Best bid/ask, last price, mark price, open interest and 24h stats for every instrument of a currency and kind.GET
/public/get_book_summary_by_instrument — Best bid/ask, last price, mark price and open interest for one instrument.GET
/public/get_order_book — L2 order book for one instrument with bids, asks, index price, mark price, funding and 24h stats.GET
/public/ticker — Legacy ticker for one instrument: best bid/ask, last, mark, funding, open interest and 24h stats.Order book
GET
/public/get_order_book_by_instrument_id — Order book and market values for a numeric Deribit instrument id (the id comes from /public/get_instruments).Reference
GET
/public/get_currencies — Supported currencies with decimals, coin type, withdrawal fees, network metadata and cross-collateral flags.GET
/public/get_supported_index_names — Supported index names, optionally filtered to spot or derivative indexes.GET
/public/get_index_chart_data — Index price time series over a requested range, as [timestamp, price] pairs.Settlement
Trades
GET
/public/get_last_trades_by_currency_and_time — Public trades for a currency/kind inside a millisecond time window.GET
/public/get_last_trades_by_instrument_and_time — Public trades for one instrument inside a millisecond time window.Volatility
GET
/public/get_volatility_index_data — Deribit volatility index (DVOL) history for a currency at a chosen resolution.GET
/public/get_mark_price_history — Historical mark-price time series for one Deribit option instrument in a millisecond window.Volumes
GET
/public/get_trade_volumes — Trading volumes per currency: futures, calls, puts and their 7-day and 30-day totals.Yield
GET
/public/get_apr_history — Historical APR for a yield-generating token (USDE, STETH, USDC, BUILD), newest epoch day first.