1. VRP Analytics

Historical VRP Data API

Volatility Risk Premium with date-bounded percentile and z-score references. Historical queries use reference rows with SnapshotDate < at.Date. Replay RV uses prior closes, while those reference rows retain their live nightly RV convention; see the limitation below. Same shape as live /v1/vrp.

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

Endpoint

GET/v1/vrp/{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/vrp/SPY?at=2026-03-05T15:30:00"
import requests

resp = requests.get(
    "https://historical.flashalpha.com/v1/vrp/SPY",
    headers={"X-Api-Key": "YOUR_API_KEY"},
    params={"at": "2026-03-05T15:30:00"}
)
resp.raise_for_status()
data = resp.json()
print(data["vrp"]["vrp_20d"], data["regime"]["vrp_regime"])
const resp = await fetch(
  "https://historical.flashalpha.com/v1/vrp/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.vrp.vrp_20d, data.regime.vrp_regime);

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,
  "vrp": {
    "atm_iv": 21.92,
    "rv_5d": 9.82,
    "rv_10d": 11.33,
    "rv_20d": 13.2,
    "rv_30d": 11.88,
    "vrp_5d": 12.1,
    "vrp_10d": 10.59,
    "vrp_20d": 8.72,
    "vrp_30d": 10.04,
    "z_score": 2.57,
    "percentile": 100,
    "history_days": 73
  },
  "variance_risk_premium": 0.030625,
  "convexity_premium": 2.91,
  "fair_vol": 24.83,
  "directional": {
    "put_wing_iv_25d": 26.07,
    "call_wing_iv_25d": 13.67,
    "downside_rv_20d": 7.77,
    "upside_rv_20d": 8.72,
    "downside_vrp": 18.3,
    "upside_vrp": 4.95
  },
  "term_vrp": [
    {
      "dte": 7,
      "iv": 21.18,
      "rv": 11.19,
      "vrp": 9.99
    },
    {
      "dte": 14,
      "iv": 20.81,
      "rv": 11.82,
      "vrp": 8.99
    }
  ],
  "gex_conditioned": {
    "regime": "negative_gamma",
    "harvest_score": 0.29,
    "interpretation": "Dealers short gamma - rich premium may reflect genuine tail risk."
  },
  "vanna_conditioned": {
    "outlook": "Mixed - vol compression fading",
    "interpretation": "Positive vanna but spot below flip: compression weakening. Reduced harvest confidence."
  },
  "regime": {
    "gamma": "negative_gamma",
    "vrp_regime": "toxic_short_vol",
    "net_gex": -10223279462,
    "gamma_flip": 689.0441,
    "gamma_flip_status": "available"
  },
  "strategy_scores": {
    "short_put_spread": 77,
    "short_strangle": 69,
    "iron_condor": 70,
    "calendar_spread": 45
  },
  "net_harvest_score": 60,
  "dealer_flow_risk": 42,
  "warnings": [
    "negative_gamma",
    "extreme_vrp"
  ],
  "macro": {
    "vix": 21.15,
    "vix_3m": 22.29,
    "vix_term_slope": 1.0539,
    "dgs10": 4.09,
    "hy_spread": 2.97
  },
  "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": "2026-03-04T21:00:00Z"
  }
}

Sending request…

See this endpoint on archived data

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

Daily-input convention: replay RV and macro use dates strictly before the requested ET date, even at or after close. Percentile and z-score reference rows are also restricted to earlier dates, but remain live nightly observations calculated with same-day RV. Those ranks compare against the live nightly distribution, not a uniformly recomputed prior-settled replay distribution. Moving the history cutoff back another day does not recalculate its stored values. See daily-input timing.

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
vrp.atm_ivnumberATM implied volatility (%)
vrp.rv_5d .. rv_30dnumberRealized vol over 5, 10, 20 and 30 days (%)
vrp.vrp_5d .. vrp_30dnumberIV minus RV per window (vol points)
vrp.z_scorenumberVRP z-score against earlier dates
vrp.percentilenumberVRP percentile (0-100); null with too little history
vrp.history_daysnumberDays of VRP history behind the z-score and percentile
variance_risk_premiumnumberVariance risk premium as a decimal
convexity_premiumnumberConvexity premium (vol points)
fair_volnumberModel fair volatility (%)
directionalobject25-delta put / call wing IV, downside / upside RV and VRP
term_vrp[]arraydte, iv, rv, vrp per tenor
gex_conditionedobjectregime, harvest_score (0-1), interpretation
vanna_conditionedobjectoutlook and interpretation
regimeobjectgamma, vrp_regime, net_gex, gamma_flip, gamma_flip_status
strategy_scoresobject0-100 scores for short_put_spread, short_strangle, iron_condor, calendar_spread
net_harvest_scorenumberOverall premium-harvest score (0-100)
dealer_flow_risknumberDealer flow risk score (0-100)
warnings[]arrayRisk flags, e.g. negative_gamma
macroobjectvix, vix_3m, vix_term_slope, dgs10, hy_spread
vrpobjectVRP
vrp.rv_10dnumberVRP: RV 10d
vrp.rv_20dnumberVRP: RV 20d
vrp.vrp_10dnumberVRP: VRP 10d
vrp.vrp_20dnumberVRP: VRP 20d
directional.put_wing_iv_25dnumber25-delta put IV (%)
directional.call_wing_iv_25dnumber25-delta call IV (%)
directional.downside_rv_20dnumberRV from negative returns only (downside semivariance)
directional.upside_rv_20dnumberRV from positive returns only
directional.downside_vrpnumberPut-wing IV minus downside RV
directional.upside_vrpnumberCall-wing IV minus upside RV
term_vrp[].dtenumberDays to expiry
term_vrp[].ivnumberATM IV for this tenor
term_vrp[].rvnumberTerm-matched realized vol
term_vrp[].vrpnumberVRP spread for this tenor
gex_conditioned.harvest_scorenumber0-1 harvestability score (higher = safer to sell premium)
gex_conditioned.interpretationstringHuman-readable regime interpretation
gex_conditioned.regimestringgamma, vrp_regime, net_gex, gamma_flip, gamma_flip_status
vanna_conditioned.outlookstringVol compression/expansion outlook
vanna_conditioned.interpretationstringHow vanna flows affect premium selling
regime.gammastringpositive_gamma, negative_gamma, or unknown when the flip is unavailable.
regime.vrp_regimestringharvestable, event_only, toxic_short_vol, cheap_convexity, or surface_distorted
regime.net_gexnumberNet gamma exposure ($)
regime.gamma_flipnumberPublished underlying-price boundary of aggregate repriced GEX; null when withheld.
regime.gamma_flip_statusstringavailable when the level is certified. A numeric gamma_flip with any of sensitive_root, uncertain_root_path, quality_budget, uncertain_gamma_variance, insufficient_local_coverage or insufficient_quote_quality is an unverified level: the root exists but failed that publication gate, and regime is unknown. Any other status means no supportable root and gamma_flip is null.
strategy_scores.short_put_spreadnumberShort put spread suitability; null without a published gamma flip.
strategy_scores.short_stranglenumberShort strangle suitability; null without a published gamma flip.
strategy_scores.iron_condornumberIron condor suitability; null without a published gamma flip.
strategy_scores.calendar_spreadnumberCalendar spread suitability
macro.vixnumberVIX spot
macro.vix_3mnumberVIX3M (3-month VIX)
macro.vix_term_slopenumberVIX3M/VIX ratio (>1 = contango, <1 = backwardation)
macro.dgs10number10-Year Treasury yield
macro.hy_spreadnumberICE BofA High Yield OAS (credit stress indicator)
endpoint_version, data_as_of, archive_as_ofstring, objectResponse envelope, see Response envelope.

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

  • Compare replay VRP with earlier nightly observations - use percentile and z_score with the RV-convention limitation above.
  • Validate "VRP > X percentile" entry rules using vrp_5d / vrp_20d against the actual historical sequence.
  • Replay regime-conditioned VRP - gex_conditioned.harvest_score across positive vs negative gamma for strategy scoring.
  • Score structures in replay - strategy_scores (short strangle, iron condor, calendar) use replay-calculated VRP and the documented reference-history convention.
  • Condition on macro - join convexity_premium and fair_vol against the as-of macro.vix_term_slope to isolate VRP that survives a VIX-term filter.

Related reading