Lab API
Options Summary
Options Flow Summary API
Option trade-flow totals across all contracts for an underlying: contracts with trades, total trades, buy/sell/mid/net contract 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 | - | Underlying symbol |
curl -H "X-Api-Key: YOUR_API_KEY" \
"https://lab.flashalpha.com/v1/flow/options/SPY/summary"
import requests
resp = requests.get(
"https://lab.flashalpha.com/v1/flow/options/SPY/summary",
headers={"X-Api-Key": "YOUR_API_KEY"}
)
data = resp.json()
print(f"Net volume: {data['netVolume']:,}")
const resp = await fetch(
"https://lab.flashalpha.com/v1/flow/options/SPY/summary",
{ headers: { "X-Api-Key": "YOUR_API_KEY" } }
);
const data = await resp.json();
console.log("Net volume: " + data.netVolume.toLocaleString());
Response
{
"symbol": "SPY",
"contractsWithTrades": 1820,
"totalTrades": 482310,
"buyVolume": 1245200,
"sellVolume": 1118450,
"midVolume": 84720,
"netVolume": 126750,
"biggestSingleTrade": 4800,
"lastTradeUtc": "2026-05-12T18:42:09.812Z"
}
Key Response Fields
| Field | Type | Description |
|---|---|---|
symbol | string | Uppercase underlying symbol |
contractsWithTrades | integer | Option contracts with at least one buffered trade |
totalTrades | integer | Total buffered option trades |
buyVolume | integer | Buy-classified contract volume |
sellVolume | integer | Sell-classified contract volume |
midVolume | integer | Mid/unknown-side contract volume |
netVolume | integer | buyVolume - sellVolume |
biggestSingleTrade | integer | Largest single option trade size |
lastTradeUtc | string/null | Latest trade timestamp |
Errors
| Status | Description |
|---|---|
403 | Requires Alpha plan or higher |
502 | Upstream flow data source unavailable |
About
Returns aggregated option trade-flow totals across every contract on the underlying. Volumes are in contract units. netVolume is the signed buy-minus-sell directional pressure and is the headline number most flow dashboards anchor on.
Common Use Cases
- Dashboard headline: directional pressure and tape activity for a watched name
- Watchlist scan: rank symbols by absolute
netVolumeor trade count - Tape staleness check: compare
lastTradeUtcagainst now - Block-context measure: scale
biggestSingleTradeagainst typical size
Ready to build?
Get your free API key and start pulling live options data in 30 seconds.