1. Exposure Narrative

Historical GEX Narrative API

Verbal market analysis at any minute since 2017. Regime label, day-over-day GEX change, key levels, vanna/charm/0DTE commentary, and VIX context - same shape as live /v1/exposure/narrative. gex_change pulls the previous trading day's net GEX from QuestDB; vix from macro_daily.

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

Endpoint

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

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

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",
  "as_of_requested": "2026-03-05T15:30:00",
  "narrative": {
    "regime": "Dealers are short gamma (net GEX -$10.2B) - expect amplified, trend-following price action. Dealers buy rallies and sell dips, adding to momentum. VIX at 21.1.",
    "gex_change": "Net GEX decreased from -$5.5B to -$10.2B (-86.3%) - gamma cushion weakening.",
    "key_levels": "Call wall at 685, Put wall at 675, Gamma flip at 689. Spot pressing into call wall - expect strong resistance.",
    "flow": "No prior day OI data available for flow analysis.",
    "vanna": "Positive vanna (+$17.4B) with VIX at 21.1 - if vol compresses, dealers buy creating support. Elevated VIX means potential for vanna-driven rally on vol crush.",
    "charm": "Positive charm (+$10.1M) - time decay pushing dealers to buy, providing support into close.",
    "zero_dte": "0DTE accounts for 12% of total GEX - moderate intraday gamma influence, accelerating into close.",
    "outlook": "Negative gamma regime - heightened move risk. with weakening gamma cushion. Key test at 685 call wall. Break above triggers dealer short-covering.",
    "data": {
      "net_gex": -10223279462,
      "net_gex_prior": -5488783520,
      "net_gex_change_pct": -86.3,
      "vix": 21.15,
      "gamma_flip": 689.0441,
      "gamma_flip_status": "available",
      "call_wall": 685,
      "put_wall": 675,
      "regime": "negative_gamma",
      "zero_dte_pct": 12,
      "top_oi_changes": []
    }
  },
  "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.

Response Fields

FieldTypeDescription
symbolstringUnderlying symbol
underlying_pricenumberSpot price at as_of
as_ofstringMinute the data was resolved to (ET wall-clock)
as_of_requestedstringThe requested at, normalised to a full timestamp
narrative.regimestringPlain-English gamma regime
narrative.gex_changestringDay-over-day GEX change
narrative.key_levelsstringCall wall, put wall and gamma flip
narrative.flowstringNotable open interest changes
narrative.vannastringVanna exposure read
narrative.charmstringCharm exposure read
narrative.zero_dtestring0DTE share of GEX and its impact
narrative.outlookstringOverall outlook
narrative.dataobjectNumbers behind the text: net_gex, net_gex_prior, net_gex_change_pct, vix, gamma_flip, call_wall, put_wall, regime, zero_dte_pct, top_oi_changes[]
narrativeobjectNarrative
endpoint_version, data_as_of, archive_as_ofstring, objectResponse envelope, see Response envelope.

Fields of narrative

Field Type Description
narrative.data.net_gexnumberNet gamma exposure (USD)
narrative.data.net_gex_priornumberData: net GEX prior
narrative.data.net_gex_change_pctnumberData: net GEX change (%)
narrative.data.vixnumberData: VIX
narrative.data.gamma_flipnumberGamma flip level
narrative.data.gamma_flip_statusstringavailable when gamma_flip is a certified level; any other value means the level is unverified or missing. See GEX.
narrative.data.call_wallnumberCall wall strike
narrative.data.put_wallnumberPut wall strike
narrative.data.zero_dte_pctnumberData: 0DTE (%)
narrative.data.top_oi_changesarrayData: top OI changes
narrative.data.regimestringPlain-English gamma regime

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.
404no_dataNo 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

  • Generate event-day commentary at scale - pull narrative.regime + narrative.outlook for every notable trading day in a backtest report.
  • Build research dashboards with key_levels and verbal regime context next to price action.
  • Train LLMs on the narrative text + narrative.data numerics to generate similar commentary on new symbols.
  • Quantify regime shifts - data.net_gex vs data.net_gex_prior turns the verbal gex_change into a backtestable day-over-day signal.
  • Filter by macro backdrop - the as-of data.vix lets you bucket narratives into high- vs low-vol regimes before mining them.

Related reading