- Live API Reference
- Trade Flow Data
- Options
- Cumulative Flow
Options Cumulative Net Flow API
Running cumulative net option flow by underlying with per-minute net volume, running cumulative, VWAP, and trade count.
Endpoint
X-Api-Key)
Rate Limited: Yes
Plan: Alpha+
Parameters
| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
symbol |
path | string | required | - | Underlying symbol |
minutes |
query | integer | 240 | Window size, clamped to 1..10080. Non-numeric values return a 400 problem-details body. |
|
expiry |
query | date | - | Filter to a single expiration cycle, yyyy-MM-dd. Omit to include all expiries. Invalid values return 400 invalid_expiry. An expiry with no data returns an empty result, not an error. |
Request
curl -H "X-Api-Key: YOUR_API_KEY" \
"https://lab.flashalpha.com/v1/flow/options/SPY/cumulative?minutes=240"import requests
resp = requests.get(
"https://lab.flashalpha.com/v1/flow/options/SPY/cumulative",
headers={"X-Api-Key": "YOUR_API_KEY"}
)
resp.raise_for_status()
data = resp.json()
print(f"Cumulative net: {data['points'][-1]['cumulative']:,}")const resp = await fetch(
"https://lab.flashalpha.com/v1/flow/options/SPY/cumulative",
{ headers: { "X-Api-Key": "YOUR_API_KEY" } }
);
if (!resp.ok) throw new Error(`HTTP ${resp.status}`);
const data = await resp.json();
console.log("Cumulative net: " + data.points[data.points.length-1].cumulative.toLocaleString());Try it live
Runs on live market data and uses 1 request from your daily quota.
Response
{
"symbol": "SPY",
"expiry": null,
"minutes": 240,
"count": 240,
"points": [
{
"ts": "2026-10-29T18:28:00Z",
"netVolume": 3289,
"cumulative": 3289,
"vwap": 1.2473,
"tradeCount": 1775
},
{
"ts": "2026-10-29T18:29:00Z",
"netVolume": 2636,
"cumulative": 5925,
"vwap": 1.2772,
"tradeCount": 1447
}
],
"endpoint_version": "2026.09.30",
"data_as_of": {
"node": "fa4",
"equity_feed": "2026-10-30T13:45:50.795Z",
"equity_options_feed": "2026-10-30T13:45:50Z",
"index_feed": "2026-10-30T13:45:50.104Z",
"index_options_feed": "2026-10-30T13:45:47Z",
"futures_feed": "2026-10-30T13:45:42.97Z",
"futures_options_feed": "2026-10-30T13:45:43.095Z",
"flow_feed": "2026-10-30T13:45: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.
Response Fields
| Field | Type | Description |
|---|---|---|
symbol | string | Uppercase underlying symbol |
minutes | integer | Requested/effective minute window |
count | integer | Number of points returned |
points[] | array | Cumulative flow points: ts, netVolume, cumulative, vwap, tradeCount |
expiry | string | null | Echo of the ?expiry= filter, or null when no filter was applied |
points[].ts | string | Bucket timestamp (UTC) |
points[].netVolume | number | Buy volume minus sell volume |
points[].cumulative | number | Running total since the start of the window |
points[].vwap | number | Volume-weighted average price |
points[].tradeCount | number | Number of trades |
endpoint_version, data_as_of | string, object | Response envelope, see Response envelope. |
Errors
| Status | Error | When |
|---|---|---|
400 | invalid_expiry | expiry 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. |
403 | tier_restricted | Your plan is below Alpha. The body includes current_plan and required_plan. |
429 | Quota exceeded | Daily quota used up. Retry-After gives the seconds until the reset at 00:00 UTC. Rejected requests (including 403) count toward the quota. |
502 | - | Upstream flow data source unavailable. |
About
Per-minute net option volume joined with a running cumulative across the window. This is the easiest way to plot a single-line directional-flow chart and spot the inflection points where buying pressure flipped to selling.
Common Use Cases
- Plot a single-line cumulative-flow chart - draw
cumulativeovertsto show net directional pressure building or unwinding across the session - Find the inflection point - watch where per-minute
netVolumeflips sign andcumulativerolls over to mark the moment buyers handed off to sellers - Build a divergence signal - compare the
cumulativeslope against the underlying's price trend to flag flow leading or fading the move - Attribute flow by session - difference
cumulativeacross timestamps to weigh morning versus afternoon net flow - Screen for stretched tapes - flag symbols whose
cumulativehas drifted far from zero as mean-reversion or continuation candidates - Confirm with VWAP and activity - read
vwapandtradeCountalongside each point to check the cumulative move is backed by real volume
Related
Related reading
- Options flow API: recent trades, blocks & leaderboard - how the raw tape endpoints fit together end to end
Complementary endpoints
- Options History - the per-minute buckets this running total is built from
- Options Summary - the day's aggregate totals at the end of the curve
- Options Recent - the individual prints feeding the net-volume series
- Flow Summary - higher-level flow analytics tie-in
Unlock DEX, VEX and CHEX with Basic
Everything in Free, plus:
- DEX, VEX and CHEX exposure
- Full max pain
- ETF & index symbols SPY, QQQ, SPX, VIX
Go full-chain with Growth
Everything in Basic, plus:
- Full-chain GEX Every expiration
- 0DTE analytics
- Exposure summary & AI narrative
- CME futures & live screener
Add history and vol surfaces with Alpha
Everything in Growth, plus:
- Historical API replay Since 2017
- SVI vol surfaces
- VRP analytics
- Greeks surfaces Vanna, charm, volga and speed grids