Lab API
Options Cumulative
Options Cumulative Net Flow API
Running cumulative net option flow by underlying with per-minute net volume, running cumulative, VWAP, and trade count.
Endpoint
Auth required (
X-Api-Key)
Rate Limited: Yes
Alpha plan+
Parameters
| Name | In | Required | Default | Description |
|---|---|---|---|---|
symbol |
path | yes | - | Underlying symbol |
minutes |
query | no | 240 | Window size, clamped to 1..10080 |
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"}
)
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" } }
);
const data = await resp.json();
console.log("Cumulative net: " + data.points[data.points.length-1].cumulative.toLocaleString());
Response
{
"symbol": "SPY",
"minutes": 240,
"count": 3,
"points": [
{
"ts": "2026-05-12T15:00:00Z",
"netVolume": 1820,
"cumulative": 1820,
"vwap": 1.32,
"tradeCount": 3045
},
{
"ts": "2026-05-12T15:01:00Z",
"netVolume": -480,
"cumulative": 1340,
"vwap": 1.31,
"tradeCount": 2980
},
{
"ts": "2026-05-12T15:02:00Z",
"netVolume": 2150,
"cumulative": 3490,
"vwap": 1.34,
"tradeCount": 3210
}
]
}
Key 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 |
Errors
| Status | Description |
|---|---|
403 | Requires Alpha plan or higher |
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
- Single-line cumulative-flow chart on a trading dashboard
- Divergence signal: cumulative flow against underlying price trend
- Session attribution: time-weighted net flow over the morning vs afternoon
- Mean-reversion check: flag symbols where cumulative drifted far from zero
Ready to build?
Get your free API key and start pulling live options data in 30 seconds.