Market data and fundamentals
Options flow, chains and implied volatility
Recorded option flow, gamma positioning, volatility surfaces, delayed chains and contract bars
Try it
curl "https://api.gloom.sh/v1/options/surfaces?symbols=SPY" \
-H "Authorization: Bearer $GLOOM_DATASETS_KEY"import os
import requests
response = requests.get(
"https://api.gloom.sh/v1/options/surfaces?symbols=SPY",
headers={"Authorization": f"Bearer {os.environ['GLOOM_DATASETS_KEY']}"},
)
response.raise_for_status()
print(response.json())const response = await fetch(
"https://api.gloom.sh/v1/options/surfaces?symbols=SPY",
{ headers: { Authorization: `Bearer ${process.env.GLOOM_DATASETS_KEY}` } },
)
if (!response.ok) throw new Error(await response.text())
console.log(await response.json()){
"data": [
{
"symbol": "SPY",
"sessionDate": "2026-12-04",
"capturedAt": "2026-12-04T20:40:12.211Z",
"spot": 727.91,
"surface": {
"spot": 727.91,
"source": "gloom",
"symbol": "SPY",
"version": 1,
"expiries": [
{
"fit": {
"years": 0.82184131751,
"method": "svi",
"points": [
{
"volatility": 0.291226548143,
"logMoneyness": -0.325180603416
},
{
"volatility": 0.288119888864,
"logMoneyness": -0.315963948311
},
// … 3 more items
],
"slopes": [
-0.160192373124,
-0.160785160868,
// … 182 more items
],
"residual": 0.00133024587546,
"parameters": {
"a": -0.0188767589116,
"b": 0.15569393586,
"m": 0.232578564435,
"rho": 0.0597406760446,
"sigma": 0.205455926879
},
"droppedPoints": 0,
"fallbackReason": null
},
"asOf": "2026-12-04T20:40:29.387Z",
"rate": 0.046423,
"skew": {
"atm": 0.182179917836,
"put25": 0.222262465475,
"call25": 0.148298207238,
"butterfly": 0.00310041852117,
"putCallSkew": 0.073964258237,
"riskReversal": -0.073964258237,
"moneynessSkew": 0.0700953322127
},
"atmIV": 0.191704,
"years": 0.82184132,
"points": [
[
540,
0,
// … 6 more items
],
[
545,
0,
// … 6 more items
],
// … 182 more items
],
"forward": 747.5115,
"rateAsOf": [
"2026-12-03"
],
"warnings": [],
"termSlope": -0.002443,
"expiration": 1822262400,
"rateMethod": "treasury-interpolated",
"expectedMove": {
"sigma": 126.503292135,
"strike": 728,
"straddle": 99.95,
"sigmaPercent": 17.3789743423,
"straddlePercent": 13.7310931296
},
"filterCounts": {
"itm": 180,
"crossed": 0,
"zero-bid": 0,
"duplicate": 0,
"no-interest": 6,
"wide-spread": 0,
"iv-unavailable": 0,
"expiry-mismatch": 0,
"stale-duplicate": 0,
"invalid-contract": 0
},
"dividendYield": 0.01409
},
{
"fit": {
"years": 1.0356541029,
"method": "svi",
"points": [
{
"volatility": 0.774676525034,
"logMoneyness": -2.45195237728
},
{
"volatility": 0.7320753159,
"logMoneyness": -2.2443130125
},
// … 3 more items
],
"slopes": [
-0.36594304586,
-0.282327927994,
// … 224 more items
],
"residual": 0.00347157527093,
"parameters": {
"a": -0.21999431951,
"b": 0.315257611088,
"m": 0.355052521242,
"rho": 0.0937973787404,
"sigma": 0.760759275187
},
"droppedPoints": 0,
"fallbackReason": null
},
"asOf": "2026-12-04T20:40:30.312Z",
"rate": 0.047153,
"skew": {
"atm": 0.181657655415,
"put25": 0.217695044505,
"call25": 0.153315569259,
"butterfly": 0.0038476514674,
"putCallSkew": 0.0643794752452,
"riskReversal": -0.0643794752452,
"moneynessSkew": 0.0547207233736
},
"atmIV": 0.191869,
"years": 1.0356541,
"points": [
[
65,
0,
// … 6 more items
],
[
80,
0,
// … 6 more items
],
// … 224 more items
],
"forward": 754.7146,
"rateAsOf": [
"2026-12-03"
],
"warnings": [],
"termSlope": null,
"expiration": 1829001600,
"rateMethod": "treasury-interpolated",
"expectedMove": {
"sigma": 142.131024882,
"strike": 730,
"straddle": 114.635,
"sigmaPercent": 19.5259063459,
"straddlePercent": 15.7485128656
},
"filterCounts": {
"itm": 225,
"crossed": 0,
"zero-bid": 0,
"duplicate": 0,
"no-interest": 32,
"wide-spread": 23,
"iv-unavailable": 0,
"expiry-mismatch": 0,
"stale-duplicate": 0,
"invalid-contract": 0
},
"dividendYield": 0.012236
}
],
"failures": [],
"spotAsOf": "2026-12-04T20:40:12.045Z",
"capturedAt": "2026-12-04T20:40:12.211Z"
}
}
],
"meta": {
"dataset": "options",
"requestId": "sample-request",
"asOf": null,
"dataThrough": "2026-12-04",
"historyStart": null,
"updatedAt": "2026-12-04T20:40:12.211Z",
"page": null,
"next": null,
"coverage": null,
"symbols": [
{
"input": "SPY",
"symbol": "SPY",
"status": "ok"
}
],
"sampledAt": "2026-12-05T12:06:10.269Z",
"source": [
{
"attribution": "Exchange and market data providers"
},
{
"attribution": "Exchange and market data providers"
},
// … 1 more items
]
}
}Trimmed · 2026-12-04
Run it without a key:GET /v1 /datasets /options /sampleEndpoints
Scheduled prices are for one page. See how to quote a request with GET /v1/datasets/cost.
GET /v1 /options /flow4 credits per listing (or request without symbols)Options trade flow
Parameters
symbolsstring- Listings, comma-separated, at most 50, in any notation: AAPL, BRK-B, AIR.PA, VOD:XLON, AAPL.O. Each costs one call's price; one the dataset holds nothing for (empty) or no listing Gloom knows (not_found) is free. On Free: AAPL, MSFT, NVDA, AMZN, GOOGL, META, TSLA, AMD, NFLX and JPM only.
limitinteger- On Free: at most 25, and 25 when left out or more.
cursorstring- meta.page.nextCursor of the previous page. Not on Free: it reads the first page.
beforestring- The same as cursor, which takes its place: a client written before 2026-10-26 may still send it. Not on Free: it reads the first page.
asOfstring- What Gloom knew at this moment: YYYY-MM-DD, through the end of that UTC day, or an RFC 3339 time such as 2026-10-01T14:30:00Z. publishedAt is when a print traded and observedAt when Gloom recorded it, moments later. A print is never revised. On Free: within the last 30 days and no later than 7 days back, and 7 days back when left out.
fieldslist- Comma list of the fields to keep in each row; the rest are left out. A company route's rows keep
symbol. Default: every field.symbolidatunderlyingcontractrightstrikeexpirysidekindsizepricepremiumvolumeopenInterestvolOiivpublishedAtobservedAt
GET /v1 /options /iv4 credits per listingHistorical implied volatility for an underlying symbol
Parameters
symbolsstringrequired- Listings, comma-separated, at most 50, in any notation: AAPL, BRK-B, AIR.PA, VOD:XLON, AAPL.O. Each costs one call's price; one the dataset holds nothing for (empty) or no listing Gloom knows (not_found) is free. On Free: AAPL, MSFT, NVDA, AMZN, GOOGL, META, TSLA, AMD, NFLX and JPM only.
fromstring- Calendar date:
YYYY-MM-DD. On Free: no earlier than 30 days back, and 30 days back when left out. tostring- Calendar date:
YYYY-MM-DD. On Free: within the last 30 days and no later than 7 days back. asOfstring- What Gloom knew at this moment: YYYY-MM-DD, through the end of that UTC day, or an RFC 3339 time such as 2026-10-01T14:30:00Z. Gloom keeps each session's latest figures: asOf keeps the sessions whose option prices (capturedAt, as publishedAt) are from before it, with today's figures. On Free: within the last 30 days and no later than 7 days back, and 7 days back when left out.
fieldslist- Comma list of the fields to keep in each row; the rest are left out. A company route's rows keep
symbol. Default: every field.symbolsessionDatecapturedAtmethodspotiv7iv30iv60iv90iv180iv365put25_30call25_30detailpublishedAtobservedAt
from must be on or before to.
GET /v1 /options /surfaces50 credits per listingImplied volatility across strikes and expiries
Parameters
symbolsstringrequired- Listings, comma-separated, at most 50, in any notation: AAPL, BRK-B, AIR.PA, VOD:XLON, AAPL.O. Each costs one call's price; one the dataset holds nothing for (empty) or no listing Gloom knows (not_found) is free. On Free: AAPL, MSFT, NVDA, AMZN, GOOGL, META, TSLA, AMD, NFLX and JPM only.
datestring- Calendar date:
YYYY-MM-DD. On Free: within the last 30 days and no later than 7 days back, and 7 days back when left out. fieldslist- Comma list of the fields to keep in each row; the rest are left out. A company route's rows keep
symbol. Default: every field.symbolsessionDatecapturedAtspotsurface
GET /v1 /options /chains50 credits per listingOption calls and puts for a specified expiry
Parameters
symbolsstringrequired- Listings, comma-separated, at most 50, in any notation: AAPL, BRK-B, AIR.PA, VOD:XLON, AAPL.O. Each costs one call's price; one the dataset holds nothing for (empty) or no listing Gloom knows (not_found) is free.
expirystringrequired- Calendar date:
YYYY-MM-DD. A listed expiry date, YYYY-MM-DD, such as 2026-12-18. include=expirationDates lists a symbol's. A date it does not list reads no contracts. With include=expirationDates, expiry may be left out: no contracts are read, and the call is free. For a future (ESZ26.CME), expiry reads its options' quotes, 10 minutes delayed, and with date a session's settlements; include=expirationDates lists the expiries listed now. limitinteger- Strikes a side on a page, the lowest first, with every root's contract at each: 500 by default and at most.
cursorstring- Opaque: meta.page.nextCursor of the previous page. Bound to this route and query. The next page holds the strikes above this one's.
fieldslist- Comma list of the fields to keep in each row; the rest are left out. A company route's rows keep
symbol. Default: every field.symbolcontractSymbolsidestrikerootclearingCodeexerciseStylesettlementmultipliercurrencylastPricelastSizelastExchangelastConditionlastTradeTimechangepercentChangevolumeopenInterestopenInterestAsOfbidaskbidSizeaskSizebidExchangeaskExchangequoteConditionquoteTimequoteStalequoteCrossedquoteHeldimpliedVolatilitydeltagammathetaPerDayvegaPerPointrhoPerPointforwardunderlyingPriceunderlyingPriceTimeinTheMoneyexpirationlastTradeDateopenhighlowpreviousSettleupdatedTime includelist- Comma list of blocks to add, returned under
included:expirationDates(every expiry listed, epoch seconds). Default: none.
GET /v1 /options /chains ?date=50 credits per listingOne session's closing option chain, every expiry or one
Parameters
symbolsstringrequired- Listings, comma-separated, at most 50, in any notation: AAPL, BRK-B, AIR.PA, VOD:XLON, AAPL.O. Each costs one call's price; one the dataset holds nothing for (empty) or no listing Gloom knows (not_found) is free. Each is a US stock or ETF (SPY), a supported index (^SPX, also written SPX, $SPX or SPXW), or a future, written as root, month code, two digits of year and venue (ESZ26.CME, CLF27.NYM, ZNH27.CBT, GCG27.CMX), for the settlements of the options written on it. A bare root (ES) is a stock ticker.
datestringrequired- Calendar date:
YYYY-MM-DD. The session the chain closed on, YYYY-MM-DD in New York, such as 2026-11-20. Closing chains are kept for every session from 2026-11-20; a date with none kept reads no contracts, and the call is free. For a future, the exchange's trade date of the settlement: each root's are kept from its first session (meta.historyStart). expirystring- Calendar date:
YYYY-MM-DD. One expiry date, YYYY-MM-DD, such as 2026-12-18: for an option on a future, its series' last trade date. Left out, the chain holds every expiry the session listed, by expiry, then strike. limitinteger- Strikes a side on a page, with every root's contract at each: 500 by default and at most. With every expiry, a strike of each expiry counts once, the nearest expiry first.
cursorstring- Opaque: meta.page.nextCursor of the previous page. Bound to this route and query. The next page holds the strikes after this one's.
fieldslist- Comma list of the fields to keep in each row; the rest are left out. A company route's rows keep
symbol. Default: every field.symbolcontractSymbolsidestrikerootclearingCodeexerciseStylesettlementmultipliercurrencydatelastPricelastSizelastExchangelastConditionlastTradeTimelastTradeDatechangepercentChangeopenhighlowclosevwaptradesvolumeopenInterestopenInterestAsOfbidaskbidSizeaskSizebidExchangeaskExchangequoteConditionquoteTimequoteStalequoteCrossedquoteHeldimpliedVolatilitydeltagammathetaPerDayvegaPerPointrhoPerPointforwardunderlyingPriceunderlyingPriceTimeinTheMoneyexpirationsettlecabinetpreliminaryopenFromhighFromlowFromlastFrompreviousSettleupdatedTime includelist- Comma list of blocks to add, returned under
included:expirationDates(every expiry the session listed, epoch seconds). Default: none.
GET /v1 /options /bars4 credits per requestOne option contract's daily bars
Parameters
contractstringrequired- The contract's OCC symbol, unpadded: root, expiry YYMMDD, C or P, then the strike times 1,000 in eight digits. SPY261218C00600000 is SPY's 600 call expiring 18 December 2026.
fromstring- Calendar date:
YYYY-MM-DD. First session, inclusive, YYYY-MM-DD in New York. Defaults to 2024-02-01; an explicit from may be as early as 2024-01-18. tostring- Calendar date:
YYYY-MM-DD. Last session, inclusive, YYYY-MM-DD in New York; today by default (with asOf, the day it falls on). asOfstring- What Gloom knew at this moment: YYYY-MM-DD, through the end of that UTC day, or an RFC 3339 time such as 2026-10-01T14:30:00Z. asOf keeps the sessions final by then, at 17:00 New York (14:00 on an early close). Their values are today's. Without to, the window ends on the New York day asOf falls on.
fieldslist- Comma list of the fields to keep in each row; the rest are left out. A company route's rows keep
symbol. Default: every field.dateopenhighlowclosevolumetradesvwap includelist- Comma list of blocks to add, returned under
included:contract(the contract read). Default: none.
from must be on or before to.
GET /v1 /options /gamma50 credits per listingRetained dealer gamma positioning for one expiry
Parameters
symbolsstringrequired- Listings, comma-separated, at most 50, in any notation: AAPL, BRK-B, AIR.PA, VOD:XLON, AAPL.O. Each costs one call's price; one the dataset holds nothing for (empty) or no listing Gloom knows (not_found) is free.
expirystringrequired- Calendar date:
YYYY-MM-DD. fieldslist- Comma list of the fields to keep in each row; the rest are left out. A company route's rows keep
symbol. Default: every field.symbolstrikecallsputsnet includelist- Comma list of blocks to add, returned under
included:summary(spot, totals, the flip strike and the band);byExpiry(gamma by expiry). Default: none.
Good to know
One page of the SPX chain for December 18, 2026, quotes 50 credits for one listing. Quote this request. include=expirationDates lists expiries as Unix seconds at midnight UTC; omit expiry to list them without a charge. An unlisted expiry returns no rows, free, with an expiry_not_listed notice naming the nearest expiries.
/options/bars?contract= reads one OCC contract's daily bars, expired ones too. It starts on February 1, 2024 by default; pass an explicit from on or after January 18, 2024 for January sessions. The from and to dates are inclusive. Each session shows once final at 17:00 New York (14:00 on an early close), with contracts traded, trades printed and the volume-weighted price.
/options/chains?symbols=SPY&date=2026-11-20 reads the chain as that session closed, every expiry or one with expiry: the closing quotes, the session's bar, open interest with its date, implied volatility and Greeks, by the live chain's field names. Chains are kept each evening from 16:45 New York for every session from 20 November 2026; a date with none kept is a free 200 with no rows and a notice naming that first session.