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
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 |
|---|---|---|
symbol | string | Uppercase stock symbol |
totalTrades | integer | Total buffered stock trades |
buyVolume | integer | Buy-classified share volume |
sellVolume | integer | Sell-classified share volume |
midVolume | integer | Mid/unknown-side share volume |
netVolume | integer | buyVolume - sellVolume |
biggestSingleTrade | integer | Largest single stock trade size |
lastTradeUtc | string/null | Latest trade timestamp; omitted when no stock trade buffer exists |
Errors
| Status | Description |
|---|---|
403 | Requires Alpha plan or higher |
502 | Upstream 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
- Equity-tape dashboard headline: buy vs sell pressure for a ticker
- Watchlist scan: rank by absolute
netVolumeshare volume - Block-context measure: compare
biggestSingleTradeto typical lot size - Tape staleness: confirm a name is actually trading via
lastTradeUtc
Ready to build?
Get your free API key and start pulling live options data in 30 seconds.