Fetch chain OI
Pull the option chain for a symbol to read OI by strike and expiry before or after an alert.
Open interest (OI) counts option contracts that are open — not yet closed or expired. It is a positioning stock, while volume is a flow of trades over a period.
Unique context: OptionData option-chain REST responses include open interest with bid/ask, volume, IV, and Greeks so unusual-activity rules can compare print size to standing OI — not just raw premium.
Pair chain OI with live prints to judge whether activity is large relative to existing positioning.
Pull the option chain for a symbol to read OI by strike and expiry before or after an alert.
A print that is large versus OI may matter more than the same premium on a deep, liquid contract.
Day-over-day OI shifts (from successive chain snapshots) inform positioning studies.
Volume resets with the session’s trades; OI persists until contracts close or expire.
// Chain snapshot fields typically include open interest per contract
// Use OI with live premium to gauge size-vs-positioning context.
await fetch('https://www.optiondata.io/api/option-chain', {
method: 'POST',
headers: { Authorization: 'Bearer KEY', 'Content-Type': 'application/json' },
body: JSON.stringify({ symbol: 'TSLA' }),
});OI is most useful next to flow and UOA pages.
Open interest is the number of option contracts that remain open. It rises when new positions open and falls when positions close or expire.
No. Volume counts trading activity over a period. OI is the stock of open contracts at a point in time.
Yes on the option-chain API (with other market and analytics fields). Combine chain OI with the WebSocket tape for size-vs-OI style rules.
A large print relative to OI can indicate more significant positioning change than the same print on a contract with huge standing open interest.