Stocks Flow Summary API - Buy/Sell/Net Share Volume - FlashAlpha Lab API
Lab API Stocks Summary

Stocks Flow Summary API

Stock trade-flow totals for a symbol: total trades, buy/sell/mid/net share volume, biggest single trade, and last trade timestamp.

Endpoint

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

Parameters

Name In Required Default Description
symbol path yes - Stock symbol
curl -H "X-Api-Key: YOUR_API_KEY" \
  "https://lab.flashalpha.com/v1/flow/stocks/SPY/summary"
import requests

resp = requests.get(
    "https://lab.flashalpha.com/v1/flow/stocks/SPY/summary",
    headers={"X-Api-Key": "YOUR_API_KEY"}
)
data = resp.json()
print(f"Net share volume: {data['netVolume']:,}")
const resp = await fetch(
  "https://lab.flashalpha.com/v1/flow/stocks/SPY/summary",
  { headers: { "X-Api-Key": "YOUR_API_KEY" } }
);
const data = await resp.json();
console.log("Net share volume: " + data.netVolume.toLocaleString());

Response

{
  "symbol": "SPY",
  "totalTrades": 184320,
  "buyVolume": 28452100,
  "sellVolume": 26318450,
  "midVolume": 1284200,
  "netVolume": 2133650,
  "biggestSingleTrade": 250000,
  "lastTradeUtc": "2026-05-12T18:42:09.812Z"
}

Key Response Fields

Field Type Description
symbolstringUppercase stock symbol
totalTradesintegerTotal buffered stock trades
buyVolumeintegerBuy-classified share volume
sellVolumeintegerSell-classified share volume
midVolumeintegerMid/unknown-side share volume
netVolumeintegerbuyVolume - sellVolume
biggestSingleTradeintegerLargest single stock trade size
lastTradeUtcstring/nullLatest trade timestamp; omitted when no stock trade buffer exists

Errors

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

About

Aggregated stock-flow totals across the in-memory buffer for a symbol. Volumes are in shares. netVolume is the headline directional pressure indicator for the equity tape.

Common Use Cases

  • Headline buy/sell pressure - surface buyVolume vs sellVolume and the signed netVolume as the directional-pressure tile on an equity-tape dashboard
  • Rank a watchlist - sort tickers by absolute netVolume to push the most one-sided names to the top of a scanner
  • Spot block-driven tape - compare biggestSingleTrade to typical lot size to flag when a single institutional print is moving the totals
  • Measure conviction vs noise - weigh netVolume against midVolume to discount sessions where most flow crossed at the mid with no clear aggressor
  • Gate on tape freshness - check lastTradeUtc (and its null case) to confirm the name is actively trading before acting on the totals
  • Normalize across names - divide netVolume by totalTrades for a per-trade imbalance that compares thin and heavy tapes on the same scale

Related reading

Complementary endpoints

Ready to build?

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