Skip to main content
Compute crypto options IV skew, term structure, and IV-RV spread

Overview

This endpoint computes the volatility surface summary of a coin-margined USD option family on OKX, such as BTC-USD, ETH-USD or SOL-USD. For each expiry it returns the at-the-money implied volatility, the 25-delta call and put IV, the 25-delta risk reversal (rr25) and butterfly (bf25). It adds the ATM term structure with its slope and regime, and the 7, 30 and 90-day realized volatility of the spot market with the implied minus realized spread. Every volatility is an annualized decimal (vol_unit: "annualized_decimal", so 0.54 is 54 percent).

How the values are computed

  • ATM IV. For each expiry, Darvas takes the call and the put whose delta is closest to 0.5 and averages their mark IV (one side’s IV when only one exists); atm_strike is the strike of that call, or of the put when no call exists.
  • 25-delta wings. call_25d_iv and put_25d_iv are the mark IV of the call and put whose absolute delta is closest to 0.25, within 0.10 of it, else null. rr25 is call_25d_iv minus put_25d_iv, so a negative value means puts are priced richer; bf25 is the average of the two wings minus atm_iv. Both are null without both wings.
  • Expiry rows. expiries is sorted nearest first, with expiry (YYMMDD), expiry_date, days_to_expiry (calendar days to 08:00 UTC on the expiry date) and contract_count, the valid contracts behind the row.
  • Term structure. front_expiry and back_expiry are the nearest and farthest expiries in expiries, and slope is back_atm_iv minus front_atm_iv. regime is contango above 0.005, backwardation below minus 0.005 and flat between; slope and regime are null with fewer than two expiries. points lists every expiry’s ATM IV in order.
  • Realized volatility. rv_7d, rv_30d and rv_90d are close-to-close realized volatility of the OKX spot market spot_ticker (such as BTC-USDT) from daily candles, annualized with the square root of 365, and null when too few candles exist. The spreads use the reference_expiry, the expiry closest to 30 days out: iv_rv_spread_30d is reference_atm_iv minus rv_30d, and so on. With include_realized_vol=false, realized_vol is null.
A family without options data returns 404. For the contracts and Greeks behind these numbers, see /crypto/derivatives/option-chain. For spot candles, see /crypto/prices.

Examples

Authorizations

X-API-KEY
string
header
required

A Darvas data API key: dvk_ and 43 characters.

Query Parameters

underlying
string
default:BTC-USD

Coin-margined USD options family such as BTC-USD, ETH-USD, or SOL-USD (default BTC-USD).

Maximum string length: 14
Pattern: ^[A-Z0-9]{2,10}-USD$
include_realized_vol
enum<string>
default:true

Include 7d, 30d, and 90d spot realized volatility and IV minus RV spreads (default true).

Available options:
true,
false
Maximum string length: 5

Response

Compute crypto options IV skew, term structure, and IV-RV spread: one page.

The answer of GET /crypto/derivatives/iv-skew.

underlying
string
required

Option underlying family analyzed for IV skew and term structure.

Pattern: ^[A-Z0-9]{2,10}-USD$
Example:

"BTC-USD"

exchange
enum<string>
required

Options exchange source for the IV skew analysis.

Available options:
okx
Example:

"okx"

vol_unit
enum<string>
required

Volatility unit across all IV and RV fields (0.54 equals 54% annualized).

Available options:
annualized_decimal
Example:

"annualized_decimal"

as_of
string<date-time>
required

Latest options summary timestamp used for skew calculations in UTC.

Maximum string length: 30
Example:

"2026-11-28T12:00:00.000Z"

expiries
object[]
required

Per-expiry ATM IV, 25-delta skew, and wing pricing rows sorted ascending.

Maximum array length: 100
term_structure
object
required

ATM implied volatility term structure across available expirations.

Example:
realized_vol
object | null
required

Spot 7d/30d/90d realized volatility and IV minus RV spread; null when include_realized_vol is false.

Example: