Docs
GET /v2/gex/{symbol}/history

GEX session history

gex_getHistory

Every GEX capture of one exchange session, oldest first, each shaped like a grid response, for replaying a day.

Path parameters

symbol string required

Underlying symbol, e.g. SPY

Query parameters

date string ISO date

Exchange session to read, ISO YYYY-MM-DD (required).

from string

Window start, HH:MM exchange time (ET) on date, inclusive. Default: the start of the day.

to string

Window end, HH:MM exchange time (ET) on date, exclusive. Default: the end of the day.

by_expiry boolean

true returns one row per (strike, expiry) instead of one net row per strike.

top integer · int32

Keep only the N strikes with the largest absolute gex in each capture. Requests with an API key that omit it get top=20.

Details

from and to narrow the day to an ET window. meta.session_open and meta.session_close give that date's regular session. net_gex and net_gex_shares cover the full curve, before any top trim.

Units

  • GEX values are dollars of dealer hedging per $1 move in the underlying, calls positive and puts negative.
  • Each *_shares field is its dollar sibling in shares of the underlying per $1 move: the dollar value divided by the capture's spot, or by prior_close_spot when spot is null.

GEX on this route is in dollars, and each strike also carries gex_shares in shares. For delta-adjusted figures and the conversion, see Units: dollars, shares and delta-adjusted.

Freshness

A new capture lands every 5 minutes during the session. A past session does not change, so it carries a strong ETag and answers If-None-Match with 304 Not Modified. Today's session carries no ETag.

Limits

API-key requests that send no top get top=20, echoed as meta.top with meta.top_defaulted: true. For an API key, an explicit top must be at most 120, a response exceeding the response budget is refused (narrow from/to), and a bulk response requires gzip, br or zstd in Accept-Encoding. A key may have 6 history reads in flight at once (14 on Pro), shared across stock bars, GEX session history and at= reads of the GEX grid and the option chain; a seventh (fifteenth on Pro) gets 429 rate_limited.

Empty results

A weekend, a holiday, a symbol without GEX coverage, or a window with no capture returns captures: [].

Example

http
GET /v2/gex/SPY/history?date=2026-09-24&top=1
json
{
  "data": {
    "symbol": "SPY",
    "session_date": "2026-09-24",
    "captures": [
      {
        "captured_at": 1790253412446,
        "spot": 763.36,
        "prior_close_spot": 767.18,
        "net_gex": -1241673953.06,
        "net_gex_shares": -1626590.3,
        "flip_point": null,
        "strikes": [
          {
            "strike": 760000,
            "gex": -230644255.65,
            "gex_shares": -302143.5,
            "call_oi": 65552,
            "put_oi": 164210,
            "delta_adj": -60586711.02,
            "delta_adj_shares": -79368.5
          }
        ]
      }
    ]
  },
  "meta": {
    "capture_count": 12,
    "session_open": "09:30",
    "session_close": "16:00",
    "top": 1
  }
}

Response

Prices are dollars, timestamps epoch milliseconds, strikes integer thousandths of a dollar; null means unknown. Units →

200application/json

The session's captures in data.captures, oldest first.

object

A successful response: data, plus meta about the response.

data object required

The session bundle: one symbol, one ET session, every capture.

captures array<GexHistoryCapture> required
captured_at integer · int64 required epoch ms

Epoch ms; ascending across captures.

flip_point number · double nullable

null unless the cumulative net actually crosses zero.

net_gex number · double required USD

Per-$1-move dollars, summed over the full curve (before any top trim).

net_gex_shares number · double nullable $ per $1 move

net_gex in shares per $1 move: the sum of the full curve's gex_shares. null when the capture has no price to convert with.

prior_close_spot number · double nullable USD

Previous session's close, dollars.

spot number · double nullable USD

Underlying price the capture was valued at, dollars.

strikes array<GexGridStrike> required
call_oi integer · int32 nullable

Call open interest, contracts.

delta_adj number · double nullable $ per $1 move

Delta-adjusted exposure, dollars per $1 move. null on older historical rows captured before the field existed.

delta_adj_shares number · double nullable $ per $1 move

delta_adj in shares per $1 move. null when delta_adj or the share conversion is unknown.

expiry string · date nullable ISO date

Present only with by_expiry=true.

gex number · double required $ per $1 move

Net dealer gamma exposure at this strike, dollars per $1 move (calls positive, puts negative).

gex_0dte number · double nullable

The part of gex from the nearest (0DTE) expiry, when known.

gex_0dte_shares number · double nullable $ per $1 move

gex_0dte in shares per $1 move, when known.

gex_shares number · double nullable $ per $1 move

The same exposure in shares of the underlying per $1 move. null when it is unknown.

put_oi integer · int32 nullable

Put open interest, contracts.

strike integer · int64 required 1/1000 $

Strike in integer thousandths of a dollar

session_date string · date required ISO date
symbol string required
meta object required

Response metadata.

caps object nullable

The entitlement caps that shaped this response.

applied array<string> required

Caps that changed this response, such as range_clamped. Empty when none did.

darkpool boolean nullable

Whether this account has Off-Exchange in the ITMatrixHQ apps.

flow boolean nullable

Whether this account has options flow in the ITMatrixHQ apps: Basic or Pro plus a market-data declaration, except on a professional trial. Reported by the account operations.

gexDepth string nullable

GEX data depth, on routes that report it.

tier string required

The plan tier the request was served under.

cursor string nullable

Opaque continuation cursor (pass back as ?cursor=); absent when there is nothing more to read.

plane string nullable

Which serving tier answered the read (meta.plane). Informational provenance: treat it as an opaque label, because new values may appear.

Errors

Every error is the JSON error envelope; branch on error.code.

StatusMeaning
400

invalid_params — missing/bad date, a date in the future, top < 1, a malformed from/to, or from >= to

401

unauthenticated / token_expired

403

not_entitled_tier / attestation_required / not_entitled_symbol

502

internal — the db source failed upstream

503

internal — the db source is not configured here