Stocks Cumulative Net Flow API - Running Net Share Volume - FlashAlpha Lab API
Lab API Stocks Cumulative

Stocks Cumulative Net Flow API

Running cumulative net stock flow with per-minute net volume, running cumulative, VWAP, and trade count.

Endpoint

GET /v1/flow/stocks/{symbol}/cumulative
Auth required (X-Api-Key) Rate Limited: Yes Alpha plan+

Parameters

Name In Required Default Description
symbol path yes - Stock 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/stocks/SPY/cumulative?minutes=240"
import requests

resp = requests.get(
    "https://lab.flashalpha.com/v1/flow/stocks/SPY/cumulative",
    headers={"X-Api-Key": "YOUR_API_KEY"}
)
data = resp.json()
print(f"Cumulative net shares: {data['points'][-1]['cumulative']:,}")
const resp = await fetch(
  "https://lab.flashalpha.com/v1/flow/stocks/SPY/cumulative",
  { headers: { "X-Api-Key": "YOUR_API_KEY" } }
);
const data = await resp.json();
console.log("Cumulative net shares: " + data.points[data.points.length-1].cumulative.toLocaleString());

Response

{
  "symbol": "SPY",
  "minutes": 240,
  "count": 3,
  "points": [
    {
      "ts": "2026-05-12T15:00:00Z",
      "netVolume": 38200,
      "cumulative": 38200,
      "vwap": 596.42,
      "tradeCount": 7045
    },
    {
      "ts": "2026-05-12T15:01:00Z",
      "netVolume": -12480,
      "cumulative": 25720,
      "vwap": 596.38,
      "tradeCount": 6980
    },
    {
      "ts": "2026-05-12T15:02:00Z",
      "netVolume": 45150,
      "cumulative": 70870,
      "vwap": 596.51,
      "tradeCount": 7210
    }
  ]
}

Key Response Fields

Field Type Description
symbolstringUppercase stock symbol
minutesintegerRequested/effective minute window
countintegerNumber of points returned
points[]arrayCumulative flow points: ts, netVolume, cumulative, vwap, tradeCount

Errors

Status Description
403Requires Alpha plan or higher
502Upstream flow data source unavailable

About

Per-minute net share volume joined with a running cumulative across the window. Drop straight into a single-line accumulation/distribution chart, or use the cumulative path to spot intraday inflection points.

Common Use Cases

  • Accumulation/distribution single-line chart
  • Divergence: cumulative net shares against price trend
  • Session attribution: morning vs afternoon directional pressure
  • Pairs trading: compare cumulative flow between correlated tickers

Ready to build?

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