---
title: "Gex With Flow"
method: GET
path: "/v1/gex/{session}/{ticker}/with-flow"
tags: ["gex"]
---

# Gex With Flow

`GET /v1/gex/{session}/{ticker}/with-flow`

## Request

- Base URL: `https://api.optionwhales.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.optionwhales.io/v1/gex/{session}/{ticker}/with-flow`
- Auth: none declared

GEX including option flow — the same computation the OptionWhales panel renders.

Prefer this over ``GET /v1/gex/{session}/{ticker}`` when you want the numbers
our dashboard shows. The two endpoints agree on ``structural_gex`` to the
dollar but **not** on ``net_gex`` or ``key_levels``, because they differ on
one thing — flow:

* ``/v1/gex/{session}/{ticker}`` is **structural only** on a past session
  (``flow_included: false``, ``flow_gex: 0``).
* this route adds flow on **every** session: reconstructed from that
  session's archived large-order tape for a past date, and from the **live
  streaming tape** for the current one.

Because ``key_levels`` (call wall, put wall, gamma flip, at-spot regime) are
derived from ``structural + flow``, the flow difference moves the LEVELS too,
not just the totals — on SPY 2026-09-01 the call wall is 800 without flow and
780 with it. If you alert on a level, read it from here.

The payload declares its own bases: ``summary.basis`` names the basis of
every money column, ``summary.key_levels_structural`` carries the
structural-only levels alongside the flow-inclusive ``summary.key_levels``,
and ``summary.gamma_basis`` names the gamma model. ``summary.flow_source``
reports where the flow came from (``computed_from_streaming`` /
``computed_from_archive`` / ``historical_no_flow``) and
``summary.flow_orders_count`` how many orders backed it.

Note the flow tape is filtered at ingest to trades of **100+ contracts**, so
``flow_gex`` reflects large-order flow, not the session's full volume.

## Path parameters

- `session` string, required
- `ticker` string, required

## Query parameters

- `dte_filter` string: all | 0dte | 0+1 | weekly | monthly (legacy integer days also accepted)

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/optionwhales/apis/optionwhales-pro-api.md) · [All operations](https://skmtc.dev/optionwhales/apis/optionwhales-pro-api/llms.txt) · [OpenAPI document](https://skmtc.dev/optionwhales/apis/optionwhales-pro-api/revisions/e76bc0d3a770?raw)
