GEX API - Gamma Exposure API Endpoint | Real-Time Options Data | FlashAlpha
  1. Gamma Exposure - GEX

Gamma Exposure (GEX) API

Quantify dealer gamma exposure by strike to identify hedging pressure zones, support/resistance levels, and the gamma flip point.

New to gamma exposure? What Is GEX? covers the formula, dealer hedging mechanics, and how to read gamma flip levels. Also see: GEX Trading Guide for practical trading strategies using this data.

Endpoint

GET /v1/exposure/gex/{symbol}
Auth required (X-Api-Key) Rate Limited: Yes Plan: Free+

Parameters

Name In Type Required Default Description
symbol path string required - Underlying symbol
expiration query date all expiries Filter to single expiry (yyyy-MM-dd). Invalid values return 400 invalid_expiration.
min_oi query integer 0 Minimum open interest threshold. Strikes whose call_oi + put_oi is below this value are dropped. Non-numeric values return a 400 problem-details body.
Works with CME futures. Pass ES=F or NQ=F and URL-encode the = as %3D - e.g. /v1/exposure/gex/ES%3DF. Options-on-futures are priced with Black-76 using the CME multiplier ($50/pt ES, $20/pt NQ); CME futures are Growth plan. See the futures hub.
Plan limits. ETF symbols (SPY, QQQ, IWM...) need Basic or higher. A full-chain request (no expiration) needs Growth or higher; on Free and Basic, pass expiration. Both cases return 403 tier_restricted.

Request

curl -H "X-Api-Key: YOUR_API_KEY" \
  "https://lab.flashalpha.com/v1/exposure/gex/SPY"
import requests

resp = requests.get(
    "https://lab.flashalpha.com/v1/exposure/gex/SPY",
    headers={"X-Api-Key": "YOUR_API_KEY"}
)
resp.raise_for_status()
data = resp.json()
print(f"Net GEX: ${data['net_gex']:,.0f}")
print(f"Gamma Flip: {data['gamma_flip']}")
const resp = await fetch(
  "https://lab.flashalpha.com/v1/exposure/gex/SPY",
  { headers: { "X-Api-Key": "YOUR_API_KEY" } }
);
if (!resp.ok) throw new Error(`HTTP ${resp.status}`);
const data = await resp.json();
console.log(`Net GEX: $${data.net_gex.toLocaleString()}`);
console.log(`Gamma Flip: ${data.gamma_flip}`);

Try it live

Runs on live market data and uses 1 request from your daily quota.

GET

Response

{
  "symbol": "SPY",
  "underlying_price": 760.22,
  "as_of": "2026-10-30T13:46:14.7318173Z",
  "gamma_flip": 769.4927,
  "gamma_flip_status": "available",
  "net_gex": -15625804218,
  "net_gex_label": "negative",
  "strikes": [
    {
      "strike": 50,
      "call_gex": 444.7738,
      "put_gex": -7203.05,
      "net_gex": -6758.28,
      "call_oi": 67,
      "put_oi": 69735,
      "call_volume": 0,
      "put_volume": 0,
      "call_oi_change": null,
      "put_oi_change": null
    },
    {
      "strike": 55,
      "call_gex": 18.4967,
      "put_gex": -151.9928,
      "net_gex": -133.4961,
      "call_oi": 2,
      "put_oi": 8040,
      "call_volume": 0,
      "put_volume": 0,
      "call_oi_change": null,
      "put_oi_change": null
    }
  ],
  "endpoint_version": "2026.09.30",
  "data_as_of": {
    "node": "fa4",
    "equity_feed": "2026-10-30T13:46:14.698Z",
    "equity_options_feed": "2026-10-30T13:46:14Z",
    "index_feed": "2026-10-30T13:46:14.0023479Z",
    "index_options_feed": "2026-10-30T13:46:11Z",
    "futures_feed": "2026-10-30T13:46:13.076Z",
    "futures_options_feed": "2026-10-30T13:46:13.265Z",
    "flow_feed": "2026-10-30T13:46:00Z",
    "oi_feed": "2026-10-29T20:00:00Z",
    "macro_feed": "2026-10-29T21:00:20Z"
  }
}

Sending request…

See this endpoint on live data

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

Responses can exceed 100 KB; narrow with expiration.

Response Fields

Field Type Description
symbolstringUnderlying symbol
underlying_pricenumberCurrent price of underlying
as_ofstringISO 8601 timestamp
gamma_flipnumberStrike where net GEX crosses zero - the gamma flip point
net_gexnumberAggregate net gamma exposure in dollars
net_gex_labelstringGamma regime label (positive or negative)
strikesarrayPer-strike breakdown
strikes[].strikenumberStrike price
strikes[].call_gexnumberCall gamma exposure at this strike
strikes[].put_gexnumberPut gamma exposure at this strike
strikes[].net_gexnumberNet (call + put) gamma exposure
strikes[].call_oinumberCall open interest
strikes[].put_oinumberPut open interest
strikes[].call_volumenumberCall volume
strikes[].put_volumenumberPut volume
strikes[].call_oi_changenumberDay-over-day call open interest change
strikes[].put_oi_changenumberDay-over-day put open interest change
gamma_flip_statusstringavailable when gamma_flip is a certified level; any other value means the level is unverified or missing. See GEX.
endpoint_version, data_as_ofstring, objectResponse envelope, see Response envelope.

Errors

Status Error When
400invalid_expirationexpiration is not a valid yyyy-MM-dd date.
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_restrictedAn ETF symbol (SPY, QQQ, IWM…) on Free, or a full-chain request (no expiration) on Free or Basic.
403symbol_not_in_free_universeFree plan only: the stock is not in the ~250-symbol tracked universe (/v1/universe). Basic and higher can query any US-listed symbol. The body includes current_plan and required_plan (Basic).
404symbol_not_foundNo data for the symbol (unknown symbol, or no live data). Outside US market hours the message also says the market is closed.
404no_dataNo options data for the requested expiration.
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.

Plans & Rate Limits

Plan Rate Limit Access
Free5 requests/dayStock quotes, GEX & key levels (single expiry), tickers, options meta, symbols, surface - single stocks in the tracked universe only
Basic250 requests/dayEverything in Free + ETFs & index symbols (SPY, QQQ, SPX, VIX...) + DEX/VEX/CHEX exposure + max pain + Market Overview
Growth2,500 requests/day+ Summary, narrative, history, option quotes, full-chain GEX (no expiry filter)
AlphaUnlimitedFull access + advanced volatility analytics

What Is Gamma Exposure?

Gamma exposure (GEX) measures the dollar amount of shares that options dealers must buy or sell to delta-hedge for every 1% move in the underlying price. When dealers are long gamma (positive GEX), they buy dips and sell rallies - dampening volatility and creating mean-reverting, range-bound markets. When dealers are short gamma (negative GEX), their hedging amplifies moves - leading to trending, volatile price action. The gamma flip point marks where net exposure switches sign, often acting as a key pivot level.

FlashAlpha computes GEX as gamma × OI × 100 × spot² × 0.01, in USD notional. Dealer position is the opposite of net exposure, because dealers are the counterparty.

Common Use Cases

  • Locate the gamma flip - the gamma_flip spot where net dealer gamma crosses zero and the volatility regime changes; fade extensions above it, respect momentum below
  • Map dealer walls - the largest positive-GEX strikes act as magnets and intraday support/resistance that absorb price moves
  • Read the regime from net_gex - positive means dampened and range-bound, negative means amplified and trending; gate strategy selection on the sign
  • Anticipate expiration pinning - heavy GEX concentration at an ATM strike into expiry pins price; confirm against max pain and pin risk
  • Size and stop with GEX magnitude - larger absolute net GEX implies tighter dealer hedging and smaller realized ranges; calibrate stop distances accordingly
  • Track the flip intraday - watch the flip migrate versus spot to catch the moment dealers switch from dampening to amplifying moves

Related reading

Complementary endpoints

Ready to build with FlashAlpha?

Get your free API key and start pulling live options data in 60 seconds.

No credit card required Setup in 60 seconds Secure & reliable