1. Volatility Analysis

Historical Volatility API

Comprehensive volatility snapshot at any minute since 2017: realized-vol ladder (5/10/20/30/60d), IV-RV spreads, per-expiry skew, term structure, IV dispersion, GEX/theta by DTE bucket, put/call profile, OI concentration, multi-move hedging, liquidity. Same shape as live /v1/volatility. Realized vols come from QuestDB stocks via SAMPLE BY 1d last-tick.

HISTORICAL
SPY coverage
2017-01-03 → 2026-12-03
Granularity
1 minute
Plan
Alpha+
Format
JSON (REST)

Endpoint

GET/v1/volatility/{symbol}?at=...
Host: historical.flashalpha.com Auth required (X-Api-Key) Rate Limited: Yes Plan: Alpha+

Parameters

NameInTypeRequiredDefaultDescription
symbolpathstringrequired-Underlying symbol (e.g. SPY)
atquerydatetimerequired-As-of time, ET wall-clock: yyyy-MM-ddTHH:mm:ss for a minute, or yyyy-MM-dd for that trading day

Request

curl -H "X-Api-Key: YOUR_API_KEY" \
  "https://historical.flashalpha.com/v1/volatility/SPY?at=2026-03-05T15:30:00"
import requests

resp = requests.get(
    "https://historical.flashalpha.com/v1/volatility/SPY",
    headers={"X-Api-Key": "YOUR_API_KEY"},
    params={"at": "2026-03-05T15:30:00"}
)
resp.raise_for_status()
data = resp.json()
print(data["atm_iv"], data["iv_rv_spreads"]["assessment"])
const resp = await fetch(
  "https://historical.flashalpha.com/v1/volatility/SPY?at=2026-03-05T15:30:00",
  { headers: { "X-Api-Key": "YOUR_API_KEY" } }
);
if (!resp.ok) throw new Error(`HTTP ${resp.status}`);
const data = await resp.json();
console.log(data.atm_iv, data.iv_rv_spreads.assessment);

Try it live

Replays archived data as of the at time you pick (ET wall-clock). Needs an Alpha plan API key.

GET

Response

{
  "symbol": "SPY",
  "underlying_price": 679.46,
  "as_of": "2026-03-05T15:30:00",
  "market_open": false,
  "realized_vol": {
    "rv_5d": 9.82,
    "rv_10d": 11.33,
    "rv_20d": 13.2,
    "rv_30d": 11.88,
    "rv_60d": 10.86
  },
  "atm_iv": 21.92,
  "iv_rv_spreads": {
    "vrp_5d": 12.1,
    "vrp_10d": 10.59,
    "vrp_20d": 8.72,
    "vrp_30d": 10.04,
    "assessment": "very_high_premium"
  },
  "skew_profiles": [
    {
      "expiry": "2026-03-06",
      "days_to_expiry": 1,
      "put_10d_iv": 35.73,
      "put_25d_iv": 34.13,
      "atm_iv": 27.01,
      "call_25d_iv": 19.67,
      "call_10d_iv": 19.09,
      "skew_25d": 14.46,
      "smile_ratio": 1.735,
      "tail_convexity": -5.52
    },
    {
      "expiry": "2026-03-09",
      "days_to_expiry": 4,
      "put_10d_iv": 28.76,
      "put_25d_iv": 26.1,
      "atm_iv": 20.51,
      "call_25d_iv": 15.33,
      "call_10d_iv": 13.89,
      "skew_25d": 10.77,
      "smile_ratio": 1.703,
      "tail_convexity": -2.93
    }
  ],
  "term_structure": {
    "near_slope_pct": -9.63,
    "far_slope_pct": -4.9,
    "state": "backwardation"
  },
  "iv_dispersion": {
    "cross_expiry": 1.54,
    "cross_strike": 70.57
  },
  "gex_by_dte": [
    {
      "bucket": "0-7d",
      "net_gex": -4666746654,
      "pct_of_total": 45.6,
      "contract_count": 1625
    },
    {
      "bucket": "8-30d",
      "net_gex": -4354401904,
      "pct_of_total": 42.6,
      "contract_count": 2792
    }
  ],
  "theta_by_dte": [
    {
      "bucket": "0-7d",
      "net_theta": -868751403,
      "contract_count": 1625
    },
    {
      "bucket": "8-30d",
      "net_theta": -119141062,
      "contract_count": 2792
    }
  ],
  "put_call_profile": {
    "by_expiry": [
      {
        "expiry": "2026-03-05",
        "call_oi": 121150,
        "put_oi": 199039,
        "pc_ratio_oi": 1.643,
        "call_volume": 0,
        "put_volume": 0,
        "pc_ratio_volume": null
      },
      {
        "expiry": "2026-03-06",
        "call_oi": 260864,
        "put_oi": 635436,
        "pc_ratio_oi": 2.436,
        "call_volume": 0,
        "put_volume": 0,
        "pc_ratio_volume": null
      }
    ],
    "by_moneyness": {
      "otm_call_oi": 2269668,
      "atm_call_oi": 2073293,
      "itm_call_oi": 407944,
      "otm_put_oi": 6750836,
      "atm_put_oi": 3510992,
      "itm_put_oi": 117899
    }
  },
  "oi_concentration": {
    "top_3_pct": 7.7,
    "top_5_pct": 12.2,
    "top_10_pct": 22.5,
    "herfindahl": 0.011
  },
  "hedging_scenarios": [
    {
      "move_pct": -5,
      "dealer_shares": -75230915,
      "direction": "sell",
      "notional_usd": -51116397312
    },
    {
      "move_pct": -2,
      "dealer_shares": -30092366,
      "direction": "sell",
      "notional_usd": -20446558925
    }
  ],
  "liquidity": {
    "atm_avg_spread_pct": 1.71,
    "wing_avg_spread_pct": 5.19,
    "atm_contracts": 1466,
    "wing_contracts": 6646
  },
  "historical_context": {
    "status": "unavailable",
    "series_basis": "persisted_daily_vrp_legacy",
    "calculation_version": "persisted-context-v1",
    "observation_date": null,
    "age_calendar_days": null,
    "recorded_at": null,
    "market_input_timestamp": null,
    "iv_tenor_calendar_days": null,
    "iv_tenor_basis": "legacy_nearest_listed_expiry_to_25_calendar_days",
    "rv_window_trading_sessions": 20,
    "atm_iv_pct": null,
    "trailing_rv_pct": null,
    "iv_minus_trailing_rv_vol_points": null,
    "iv_reference": {
      "percentile": null,
      "z_score": null,
      "reference_observations": 0,
      "reference_start": null,
      "reference_end": null,
      "minimum_observations": 60,
      "window_observations": 252
    },
    "rv_reference": {
      "percentile": null,
      "z_score": null,
      "reference_observations": 0,
      "reference_start": null,
      "reference_end": null,
      "minimum_observations": 60,
      "window_observations": 252
    },
    "trailing_spread_reference": {
      "percentile": null,
      "z_score": null,
      "reference_observations": 0,
      "reference_start": null,
      "reference_end": null,
      "minimum_observations": 60,
      "window_observations": 252
    },
    "reasons": [
      "no_completed_persisted_observation"
    ]
  },
  "endpoint_version": "2026.09.30",
  "data_as_of": {
    "node": "f3",
    "equity_feed": null,
    "equity_options_feed": null,
    "index_feed": null,
    "index_options_feed": null,
    "futures_feed": null,
    "futures_options_feed": null,
    "flow_feed": null,
    "oi_feed": null,
    "macro_feed": null
  },
  "archive_as_of": {
    "node": "f3",
    "equity_feed": "2026-03-05T20:30:00Z",
    "equity_options_feed": "2026-03-05T19:59:00Z",
    "index_feed": null,
    "index_options_feed": null,
    "futures_feed": null,
    "futures_options_feed": null,
    "flow_feed": null,
    "oi_feed": "2026-03-04T21:00:00Z",
    "macro_feed": null
  }
}

Sending request…

See this endpoint on archived data

Send this exact request and the real response shows up here, right next to the example.

Response Fields

FieldTypeDescription
symbolstringUnderlying symbol
underlying_pricenumberSpot price at as_of
as_ofstringMinute the data was resolved to (ET wall-clock)
market_openbooleanWhether the market was open at as_of
realized_volobjectAnnualized realized vol (%): rv_5d, rv_10d, rv_20d, rv_30d, rv_60d
atm_ivnumberATM implied volatility (%)
iv_rv_spreadsobjectvrp_5d .. vrp_30d (IV minus RV, vol points) and assessment
skew_profiles[]arrayPer expiry: 10/25-delta put and call IV, atm_iv, skew_25d, smile_ratio, tail_convexity
term_structureobjectnear_slope_pct, far_slope_pct, state (contango, backwardation, mixed, unknown)
iv_dispersionobjectIV dispersion cross_expiry and cross_strike
gex_by_dte[]arrayNet GEX per DTE bucket with pct_of_total
theta_by_dte[]arrayNet theta per DTE bucket
put_call_profileobjectPut/call OI and volume by_expiry[] and by_moneyness
oi_concentrationobjectShare of OI in the top 3 / 5 / 10 strikes and herfindahl (0-1)
hedging_scenarios[]arrayDealer hedge for spot moves of ±1, 2, 5%: move_pct, dealer_shares, direction, notional_usd
liquidityobjectAverage bid-ask spread % for ATM and wing contracts, with counts
historical_contextobjectStored nightly IV/RV observation and percentile references; status and reasons say when it is unavailable
realized_vol.rv_5dnumberRealized vol: RV 5d
realized_vol.rv_10dnumberRealized vol: RV 10d
realized_vol.rv_20dnumberRealized vol: RV 20d
realized_vol.rv_30dnumberRealized vol: RV 30d
realized_vol.rv_60dnumberRealized vol: RV 60d
iv_rv_spreads.vrp_5dnumberIV RV spreads: VRP 5d
iv_rv_spreads.vrp_10dnumberIV RV spreads: VRP 10d
iv_rv_spreads.vrp_20dnumberIV RV spreads: VRP 20d
iv_rv_spreads.vrp_30dnumberIV RV spreads: VRP 30d
iv_rv_spreads.assessmentstringIV RV spreads: assessment
term_structure.near_slope_pctnumberTerm structure: near slope (%)
term_structure.far_slope_pctnumberTerm structure: far slope (%)
term_structure.statestringTerm structure: state
iv_dispersion.cross_expirynumberIV dispersion: cross expiry
iv_dispersion.cross_strikenumberIV dispersion: cross strike
gex_by_dte[].bucketstringGEX by DTE: bucket
gex_by_dte[].net_gexnumberNet gamma exposure (USD)
gex_by_dte[].pct_of_totalnumberGEX by DTE: (%) of total
gex_by_dte[].contract_countnumberGEX by DTE: contract count
theta_by_dte[].bucketstringTheta by DTE: bucket
theta_by_dte[].net_thetanumberTheta by DTE: net theta
theta_by_dte[].contract_countnumberTheta by DTE: contract count
oi_concentration.top_3_pctnumberOI concentration: top 3 (%)
oi_concentration.top_5_pctnumberOI concentration: top 5 (%)
oi_concentration.top_10_pctnumberOI concentration: top 10 (%)
oi_concentration.herfindahlnumberOI concentration: herfindahl
hedging_scenarios[].move_pctnumberHedging scenarios: move (%)
hedging_scenarios[].dealer_sharesnumberHedging scenarios: dealer shares
hedging_scenarios[].directionstringHedging scenarios: direction
hedging_scenarios[].notional_usdnumberHedging scenarios: notional (USD)
liquidity.atm_avg_spread_pctnumberLiquidity: ATM avg spread (%)
liquidity.wing_avg_spread_pctnumberLiquidity: wing avg spread (%)
liquidity.atm_contractsnumberLiquidity: ATM contracts
liquidity.wing_contractsnumberLiquidity: wing contracts
endpoint_version, data_as_of, archive_as_ofstring, objectResponse envelope, see Response envelope.

Fields of skew_profiles[]

Field Type Description
skew_profiles[].expirystringExpiration date (yyyy-MM-dd)
skew_profiles[].days_to_expirynumberCalendar days to expiration
skew_profiles[].put_10d_ivnumberSkew profiles: put 10d IV
skew_profiles[].put_25d_ivnumberSkew profiles: put 25d IV
skew_profiles[].call_25d_ivnumberSkew profiles: call 25d IV
skew_profiles[].call_10d_ivnumberSkew profiles: call 10d IV
skew_profiles[].skew_25dnumberSkew profiles: skew 25d
skew_profiles[].smile_rationumberSkew profiles: smile ratio
skew_profiles[].tail_convexitynumberSkew profiles: tail convexity
skew_profiles[].atm_ivnumberATM implied volatility (%)

Fields of put_call_profile

Field Type Description
put_call_profile.by_expiryarrayPut call profile: by expiry
put_call_profile.by_expiry[].expirystringExpiration date (yyyy-MM-dd)
put_call_profile.by_expiry[].call_oinumberCall open interest
put_call_profile.by_expiry[].put_oinumberPut open interest
put_call_profile.by_expiry[].pc_ratio_oinumber | nullBy expiry: put/call ratio OI
put_call_profile.by_expiry[].call_volumenumberCall volume
put_call_profile.by_expiry[].put_volumenumberPut volume
put_call_profile.by_expiry[].pc_ratio_volumenumber | nullBy expiry: put/call ratio volume
put_call_profile.by_moneynessobjectPut call profile: by moneyness
put_call_profile.by_moneyness.otm_call_oinumberBy moneyness: otm call OI
put_call_profile.by_moneyness.atm_call_oinumberBy moneyness: ATM call OI
put_call_profile.by_moneyness.itm_call_oinumberBy moneyness: itm call OI
put_call_profile.by_moneyness.otm_put_oinumberBy moneyness: otm put OI
put_call_profile.by_moneyness.atm_put_oinumberBy moneyness: ATM put OI
put_call_profile.by_moneyness.itm_put_oinumberBy moneyness: itm put OI

Fields of historical_context

Field Type Description
historical_context.statusstringHistorical context: status
historical_context.series_basisstringHistorical context: series basis
historical_context.calculation_versionstringHistorical context: calculation version
historical_context.observation_datestring | nullHistorical context: observation date
historical_context.age_calendar_daysnumber | nullHistorical context: age calendar days
historical_context.recorded_atstring | nullHistorical context: recorded timestamp (UTC)
historical_context.market_input_timestampstring | nullHistorical context: market input timestamp
historical_context.iv_tenor_calendar_daysnumber | nullHistorical context: IV tenor calendar days
historical_context.iv_tenor_basisstringHistorical context: IV tenor basis
historical_context.rv_window_trading_sessionsnumberHistorical context: RV window trading sessions
historical_context.atm_iv_pctnumber | nullHistorical context: ATM IV (%)
historical_context.trailing_rv_pctnumber | nullHistorical context: trailing RV (%)
historical_context.iv_minus_trailing_rv_vol_pointsnumber | nullHistorical context: IV minus trailing RV vol points
historical_context.iv_referenceobjectHistorical context: IV reference
historical_context.iv_reference.percentilenumber | nullIV reference: percentile
historical_context.iv_reference.z_scorenumber | nullIV reference: z score
historical_context.iv_reference.reference_observationsnumberIV reference: reference observations
historical_context.iv_reference.reference_startstring | nullIV reference: reference start
historical_context.iv_reference.reference_endstring | nullIV reference: reference end
historical_context.iv_reference.minimum_observationsnumberIV reference: minimum observations
historical_context.iv_reference.window_observationsnumberIV reference: window observations
historical_context.rv_referenceobjectHistorical context: RV reference
historical_context.rv_reference.percentilenumber | nullRV reference: percentile
historical_context.rv_reference.z_scorenumber | nullRV reference: z score
historical_context.rv_reference.reference_observationsnumberRV reference: reference observations
historical_context.rv_reference.reference_startstring | nullRV reference: reference start
historical_context.rv_reference.reference_endstring | nullRV reference: reference end
historical_context.rv_reference.minimum_observationsnumberRV reference: minimum observations
historical_context.rv_reference.window_observationsnumberRV reference: window observations
historical_context.trailing_spread_referenceobjectHistorical context: trailing spread reference
historical_context.trailing_spread_reference.percentilenumber | nullTrailing spread reference: percentile
historical_context.trailing_spread_reference.z_scorenumber | nullTrailing spread reference: z score
historical_context.trailing_spread_reference.reference_observationsnumberTrailing spread reference: reference observations
historical_context.trailing_spread_reference.reference_startstring | nullTrailing spread reference: reference start
historical_context.trailing_spread_reference.reference_endstring | nullTrailing spread reference: reference end
historical_context.trailing_spread_reference.minimum_observationsnumberTrailing spread reference: minimum observations
historical_context.trailing_spread_reference.window_observationsnumberTrailing spread reference: window observations
historical_context.reasonsarray of stringHistorical context: reasons

Errors

Status Error When
400invalid_atat is not yyyy-MM-dd or yyyy-MM-ddTHH:mm:ss (ET).
400-A query value has the wrong type, or a required value is missing. The body is an RFC 7807 problem-details object with errors.<param>.
401-Missing or invalid X-Api-Key. The body is empty; check the status code before parsing JSON.
403tier_restrictedYour plan is below Alpha. The body includes current_plan and required_plan.
404symbol_not_foundNo archived data for this symbol at at.
429Quota exceededDaily quota used up. Retry-After gives the seconds until the reset at 00:00 UTC. Rejected requests (including 403) count toward the quota.

What This Unlocks

  • Backtest IV-RV mean reversion - measure IV richness vs RV historically with point-in-time IV / spot.
  • Per-expiry skew studies - were skew steepenings before known events real, or noise?
  • Term-structure regime classification - contango vs backwardation labels at minute granularity.
  • Vol surface mining - per-DTE GEX/theta to find optimal harvest tenors historically.

Related reading