Options · Order flow
Options flow by delta
/v1/options/flow/by-deltaoptionsFlowByDeltaGroups the prints of the window into seven buckets of the absolute delta they traded at (0 to 0.10, 0.10 to 0.25, 0.25 to 0.40, 0.40 to 0.60, 0.60 to 0.75, 0.75 to 0.90, 0.90 to 1; a bucket includes its lower edge, the last also 1) and reports for calls and puts the premium in US dollars, the volume, the number of prints and the net premium (ask side minus bid side). Prints without a stored delta are in unknown_delta. The flow filters of /v1/options/flow/by-strike narrow the prints that count. The delta of a print is the model delta the platform stored at execution, not an exchange value. A request reads a bounded number of prints: when the window holds more, scan_complete is false, meta.coverage.complete is false and the same request continues where the last one stopped, so repeating it completes the answer.
Example request
curl -sS --get "https://api.ordermap.si/v1/options/flow/by-delta" \
-H "Authorization: Bearer $ORDERMAP_API_KEY" \
--data-urlencode underlying_symbol=SPXWconst params = new URLSearchParams({
underlying_symbol: "SPXW",
});
const res = await fetch(`https://api.ordermap.si/v1/options/flow/by-delta?${params}`, {
headers: { Authorization: `Bearer ${process.env.ORDERMAP_API_KEY}` },
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const { data, meta } = await res.json();
console.log(data, meta.coverage);Set ORDERMAP_API_KEY to your key. Replace the dates with a recent trading date.
Parameters
25 parameters, 1 required.
| Parameter | Type and limits | Description |
|---|---|---|
underlying_queryrequired | stringat most 8 characterspattern ^[A-Za-z][A-Za-z0-9.]{0,7}$ | Option root or family: SPX covers the SPX and SPXW roots, SPXW only the weekly root, QQQ, NDXP, RUTW, XSP ... |
datequeryoptional | stringdate | Trading date (YYYY-MM-DD). Default: the current session, else the most recent completed one. Overnight prints belong to the next trading date. |
sessionqueryoptional | stringrthgthalldefault rth | Trading session: rth is the regular session, gth the overnight (global trading hours) session before the trading date, all both. Overnight data requires the Pro plan and exists only for underlyings with an overnight session; GET /v1/options/sessions shows which. |
start_queryoptional | integerunix-msmin 946684800000max 4102444800000 | Start of the window (inclusive). The window must lie within one trading session; combine with date to name that session. |
end_queryoptional | integerunix-msmin 946684800000max 4102444800000 | End of the window (exclusive). |
contract_queryoptional | stringcallput | Calls or puts. Omit for both. |
date_queryoptional | stringdate | Only contracts expiring on this date. |
min_queryoptional | integermin 0max 3650 | Minimum days to expiration (0 = expires on the trading date). |
max_queryoptional | integermin 0max 3650 | Maximum days to expiration. |
min_queryoptional | numbermin 0max 1000000000000 | Minimum premium in US dollars of a print (price x size x multiplier). |
max_queryoptional | numbermin 0max 1000000000000 | Maximum premium in US dollars of a print. |
min_queryoptional | integermin 1max 1000000000 | Minimum print size in contracts. |
max_queryoptional | integermin 1max 1000000000 | Maximum print size in contracts. |
trade_queryoptional | array<string>comma-separated in one parametersweepblocksplitsinglegoldenmultilegcrossfloorauctioniso1 to 10 items | Comma-separated order types: sweep, block, split, single, golden, multileg, cross, floor, auction, iso. A print matches when any listed type applies. Sweeps and splits are inferred groupings, not exchange-confirmed. |
sidequeryoptional | array<string>comma-separated in one parameterabove_askat_asknear_askaskmidnear_bidat_bidbidbelow_bidunknown1 to 10 items | Comma-separated aggressor classes: above_ask, at_ask, near_ask, mid, near_bid, at_bid, below_bid, unknown. ask selects at_ask and near_ask, bid selects near_bid and at_bid. at_ask without near_ask (and at_bid without near_bid) can be asked for only on /v1/options/trades and /v1/options/flow/overnight; elsewhere use ask and bid. |
sentimentqueryoptional | array<string>comma-separated in one parameterbullishbearishneutralunknown1 to 4 items | Comma-separated sentiments: bullish (calls bought or puts sold), bearish (puts bought or calls sold), neutral (traded at the mid) and unknown (direction not determinable). |
otm_queryoptional | boolean | Only out-of-the-money contracts (strike beyond the underlying price). Prints without a known underlying price are excluded. |
min_queryoptional | numbermin -100max 1000 | Only contracts at least this far out of the money, in percent of the underlying price (calls (strike - price) / price, puts (price - strike) / price; negative reaches into the money). With otm_only the larger minimum holds. |
max_queryoptional | numbermin -100max 1000 | Only contracts at most this far out of the money, in percent of the underlying price. |
moneynessqueryoptional | stringitmatmotm | Only contracts in this moneyness class when the print traded: itm (in the money), atm (at the money) or otm (out of the money). |
opening_queryoptional | boolean | Only prints that probably open a position: the day's volume or the print's size exceeds the contract's open interest. Combined with unusual_only, both must hold. |
include_queryoptional | boolean | Include multi-leg (complex order) prints. Default false. |
unusual_queryoptional | boolean | Only unusual activity: volume above open interest within 45 days, premium of at least $250,000, or an out-of-the-money sweep at the ask. |
min_queryoptional | number> 0max 1000000 | Lowest strike in dollars. |
max_queryoptional | number> 0max 1000000 | Highest strike in dollars. |
Response
| Status | Meaning | Body |
|---|---|---|
200 | Successful response. | Schema below |
400 | Invalid, unknown or repeated parameters, or an invalid cursor. | Error object |
401 | Missing or invalid API key. | Error object |
403 | The plan, dataset release or account state does not allow this request. | Error object |
422 | The request is valid but no data exists for it. | Error object |
429 | Rate limit, burst limit or cooldown; wait Retry-After seconds.Retry-After | Error object |
500 | Internal error. | Error object |
503 | Data temporarily unavailable; retry after Retry-After seconds.Retry-After | Error object |
504 | The request timed out. | Error object |
Authenticated responses carry the X-RateLimit-* headers (see rate limits); 429 and 503 add Retry-After.
200 response body
dataobjectrequiredOption flow by absolute delta of the print.29 fields insidebucketsarray<object>requiredThe seven delta buckets in ascending order.12 fields insidecallobjectrequiredCalls.4 fields insidenet_premiumnumber | nullrequiredPremium bought at the ask side minus premium sold at the bid side.premiumnumber | nullrequiredPremium in US dollars.tradesintegerrequiredPrints.volumeintegerrequiredContracts.
delta_maxnumberrequiredUpper edge, excluded except for the last bucket.delta_minnumberrequiredLower edge of the absolute delta, included.putobjectrequiredPuts.4 fields insidenet_premiumnumber | nullrequiredPremium bought at the ask side minus premium sold at the bid side.premiumnumber | nullrequiredPremium in US dollars.tradesintegerrequiredPrints.volumeintegerrequiredContracts.
scan_completebooleanrequiredFalse while the bounded scan has not yet covered every print of the window; repeat the request to continue.scanned_printsintegerrequiredPrints read so far.sessionstringrequiredSession.rthgthalltrading_datestringdaterequiredTrading date.underlying_symbolstringrequiredThe requested underlying.unknown_deltaobjectrequiredPrints without a stored delta.10 fields insidecallobjectrequiredCalls.4 fields insidenet_premiumnumber | nullrequiredPremium bought at the ask side minus premium sold at the bid side.premiumnumber | nullrequiredPremium in US dollars.tradesintegerrequiredPrints.volumeintegerrequiredContracts.
putobjectrequiredPuts.4 fields insidenet_premiumnumber | nullrequiredPremium bought at the ask side minus premium sold at the bid side.premiumnumber | nullrequiredPremium in US dollars.tradesintegerrequiredPrints.volumeintegerrequiredContracts.
metaobjectrequiredMeta object
Example response
{
"data": {
"buckets": [
{
"call": {
"net_premium": 300000,
"premium": 1200000,
"trades": 310,
"volume": 5400
},
"delta_max": 0.1,
"delta_min": 0,
"put": {
"net_premium": 300000,
"premium": 1200000,
"trades": 310,
"volume": 5400
}
}
],
"scan_complete": true,
"scanned_prints": 48210,
"session": "rth",
"trading_date": "2026-10-16",
"underlying_symbol": "SPX",
"unknown_delta": {
"call": {
"net_premium": 0,
"premium": 0,
"trades": 0,
"volume": 0
},
"put": {
"net_premium": 0,
"premium": 0,
"trades": 0,
"volume": 0
}
}
},
"meta": {
"as_of": 1760659200123,
"coverage": {
"complete": true
},
"delay_ms": 0,
"delayed": false,
"request_id": "0199f0c2-5a1e-7c3b-9d4e-2b6f8a1c3d5e",
"source": "opra"
}
}Values are illustrative. Missing values are null, never 0.
