- Live API Reference
- Flow Analytics
- 0DTE Flow
- Hedge Flow
0DTE Hedge Flow API
The estimated dealer hedge-flow time series for today's 0DTE chain - signed delta-dollars dealers are inferred to be buying/selling to stay hedged - as both per-bar increments and a running cumulative since session open, projectable to calls only, puts only, or the combined total.
Endpoint
X-Api-Key)
Rate Limited: Yes
Plan: Growth+
Parameters
| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
symbol |
path | string | required | - | Underlying symbol. Trimmed and upper-cased. |
side |
query | enum | all expiries | Which leg to project. Allowed: all, calls, puts. Anything else returns 400 invalid_side. |
|
bar |
query | enum | 30s |
Bar size. Allowed: 30s, 1m, 5m, 15m. Anything else returns 400 invalid_bar. |
|
minutes |
query | integer | 60 |
Lookback window in minutes. Clamped to 1-390. Non-numeric values return a 400 problem-details body. |
Request
curl -H "X-Api-Key: YOUR_API_KEY" \
"https://lab.flashalpha.com/v1/flow/zero-dte/hedge-flow/SPY?side=calls&bar=5m&minutes=180"import requests
resp = requests.get(
"https://lab.flashalpha.com/v1/flow/zero-dte/hedge-flow/SPY",
params={"side": "calls", "bar": "5m", "minutes": 180},
headers={"X-Api-Key": "YOUR_API_KEY"}
)
resp.raise_for_status()
data = resp.json()
print(len(data["bars"]))const resp = await fetch(
"https://lab.flashalpha.com/v1/flow/zero-dte/hedge-flow/SPY?side=calls&bar=5m&minutes=180",
{ headers: { "X-Api-Key": "YOUR_API_KEY" } }
);
if (!resp.ok) throw new Error(`HTTP ${resp.status}`);
const data = await resp.json();
console.log(data.bars.length);Try it live
Runs on live market data and uses 1 request from your daily quota.
Response
{
"symbol": "SPY",
"expiration": "2026-10-30",
"as_of": "2026-10-30T13:46:08.6898201Z",
"market_open": true,
"side": "calls",
"bar_size": "5m",
"bars": [
{
"t": "2026-10-30T13:34:30",
"bar": -30732912,
"cumulative": 64978996
},
{
"t": "2026-10-30T13:39:30",
"bar": 29464922,
"cumulative": 158515378
}
],
"endpoint_version": "2026.09.30",
"data_as_of": {
"node": "fa4",
"equity_feed": "2026-10-30T13:46:08.458Z",
"equity_options_feed": "2026-10-30T13:46:07Z",
"index_feed": "2026-10-30T13:46:07.09Z",
"index_options_feed": "2026-10-30T13:46:03Z",
"futures_feed": "2026-10-30T13:46:07.407Z",
"futures_options_feed": "2026-10-30T13:45:49.971Z",
"flow_feed": "2026-10-30T13:45:00Z",
"oi_feed": "2026-10-29T20:00:00Z",
"macro_feed": "2026-10-29T21:00:20Z"
}
}Sending request…
See this endpoint on live data
Send this exact request and the real response shows up here, right next to the example.
For side=all, bar and cumulative are the sum of the call and put legs; for calls / puts they are that single leg. There is no no_zero_dte / session_closed envelope - no samples returns 200 with the normal wrapper and an empty bars array.
Response when the market is closed
Outside the session the endpoint still returns 200 with market_open: false and empty arrays. Captured 2026-10-30 07:27 UTC.
{
"symbol": "SPY",
"expiration": "2026-10-30",
"as_of": "2026-10-30T07:27:50.436544Z",
"market_open": false,
"side": "calls",
"bar_size": "5m",
"bars": [],
"endpoint_version": "2026.09.30",
"data_as_of": {
"node": "fa4",
"equity_feed": "2026-10-30T04:00:00.155Z",
"equity_options_feed": "2026-10-29T21:15:01Z",
"index_feed": "2026-10-30T07:27:31.288Z",
"index_options_feed": "2026-10-29T21:00:01Z",
"futures_feed": "2026-10-30T07:27:39.149Z",
"futures_options_feed": "2026-10-30T07:27:39.15Z",
"flow_feed": "2026-10-30T03:44:00Z",
"oi_feed": "2026-10-29T00:00:00Z",
"macro_feed": "2026-10-29T20:00:00Z"
}
}Response Fields
| Field | Type | Description |
|---|---|---|
expiration | string | Today's 0DTE expiry (ET) |
as_of | string | Server time the response was built (UTC) |
side | string | Echoes the requested side (all | calls | puts) |
bar_size | string | Echoes the requested bar size |
bars[].t | string | Bar timestamp (UTC) |
bars[].bar | number | Per-bar signed delta-dollars in this bucket |
bars[].cumulative | number | Running sum since session open (for the requested side) |
symbol | string | Underlying symbol |
market_open | boolean | true during US market hours |
bars | array | Bars |
endpoint_version, data_as_of | string, object | Response envelope, see Response envelope. |
Errors
| Status | Error | When |
|---|---|---|
400 | invalid_side | side was not all / calls / puts. |
400 | invalid_bar | bar was not one of 30s / 1m / 5m / 15m. |
400 | - | A query value has the wrong type, or a required value is missing. The body is an RFC 7807 problem-details object with errors.<param>. |
401 | - | Missing or invalid X-Api-Key. The body is empty; check the status code before parsing JSON. |
403 | tier_restricted | Your plan is below Growth. The body includes current_plan and required_plan. |
429 | Quota exceeded | Daily quota used up. Retry-After gives the seconds until the reset at 00:00 UTC. Rejected requests (including 403) count toward the quota. |
About
The hedge-flow endpoint returns the estimated dealer hedge-flow time series for today's 0DTE chain - the signed delta-dollars dealers are inferred to be buying or selling to stay hedged - as both per-bar increments and a running cumulative since session open.
It is projectable to calls only, puts only, or the combined total via side, without re-scanning trades (the raw tier stores both legs). It uses the same windowing and last-in-bucket downsampling as the series endpoint.
Common Use Cases
- Plot
cumulativedealer hedging pressure across today's session to see net delta-dollars dealers have bought or sold since the open - Split the flow into call versus put legs with
side=callsandside=putsto attribute the pressure and spot one-sided hedging - Spot bursts of dealer buying or selling via the per-bar
barincrements, flagging the bars where hedging is most likely to move spot - Overlay
cumulativeon price to judge whether dealers are chasing the move (amplifying) or fading it (dampening) and trade accordingly - Watch for a sign change in
baras the moment dealer hedging flips direction, often coinciding with a gamma-flip cross - Choose
bar_sizeto match your horizon - fine 30s/1m bars for scalps, 5m/15m for a cleaner session-level pressure read
Related
Related reading
- Effective open interest: live GEX from flow - how signed flow becomes the dealer hedging estimate
- Live 0DTE pin-risk API: the intraday flow-adjusted magnet - reading hedging pressure alongside the same-day pin
Complementary endpoints
- 0DTE Flow Snapshot - the live 0DTE regime this hedging acts on
- Dealer Risk - the settled-versus-live exposure shift behind the hedge flow
- Flow GEX - the live gamma surface that determines hedging direction
Unlock DEX, VEX and CHEX with Basic
Everything in Free, plus:
- DEX, VEX and CHEX exposure
- Full max pain
- ETF & index symbols SPY, QQQ, SPX, VIX
Go full-chain with Growth
Everything in Basic, plus:
- Full-chain GEX Every expiration
- 0DTE analytics
- Exposure summary & AI narrative
- CME futures & live screener
Add history and vol surfaces with Alpha
Everything in Growth, plus:
- Historical API replay Since 2017
- SVI vol surfaces
- VRP analytics
- Greeks surfaces Vanna, charm, volga and speed grids