Options · Chains
Options chain open interest history
/v1/options/chain/open-interest-historyoptionsChainOpenInterestHistoryThe open interest published on the morning of a past or current trading date for every contract that existed then; it reflects the positions at the previous close. max_dte counts days from the date. Rows are ordered by date_of_expiry, strike, contract_type (call before put) and paginated with cursor_id; a page reads one expiration at a time and may hold fewer rows than limit. When no date_of_expiry is given the chain covers the expirations within max_dte days (default 30).
Example request
curl -sS --get "https://api.ordermap.si/v1/options/chain/open-interest-history" \
-H "Authorization: Bearer $ORDERMAP_API_KEY" \
--data-urlencode underlying_symbol=SPXW \
--data-urlencode date=2026-10-16const params = new URLSearchParams({
underlying_symbol: "SPXW",
date: "2026-10-16",
});
const res = await fetch(`https://api.ordermap.si/v1/options/chain/open-interest-history?${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);
// Paginated: repeat with cursor_id set to pagination.next_cursor_id until it is null.Set ORDERMAP_API_KEY to your key. Replace the dates with a recent trading date.
Parameters
9 parameters, 2 required.
| Parameter | Type and limits | Description |
|---|---|---|
underlying_queryrequired | stringat most 8 characterspattern ^[A-Za-z][A-Za-z0-9.]{0,7}$ | Underlying: an option root (SPXW, QQQ, NDXP ...) or an index family: SPX covers the SPX and SPXW roots, NDX the NDX and NDXP roots, RUT the RUT and RUTW roots. Rows name the root of each contract. |
datequeryrequired | stringdate | Trading date of the snapshot, YYYY-MM-DD. |
date_queryoptional | stringdate | Only this expiration, YYYY-MM-DD. |
contract_queryoptional | stringcallput | Only calls or only puts. |
min_queryoptional | number> 0max 99999.999 | Lowest strike to return, in dollars. |
max_queryoptional | number> 0max 99999.999 | Highest strike to return, in dollars. |
max_queryoptional | integermin 0max 1000 | Without date_of_expiry: include expirations up to this many days away (default 30). |
limitqueryoptional | integerdefault 1000min 1max 2500 | Maximum rows to return. |
cursor_queryoptional | stringat most 1024 characters | Opaque cursor returned as pagination.next_cursor_id; resumes the same query on the next page. |
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
dataarray<object>required8 fields insidecontract_typestringrequiredCall or put.callputdate_of_expirystringdaterequiredExpiration date.open_interestintegerrequiredOpen contracts.option_symbolstringrequiredOCC option symbol of the contract: root padded to six characters, expiration YYMMDD, C or P and the strike in thousandths over eight digits.strikenumberrequiredStrike price in dollars.timestampintegerunix-msrequiredTime the figure was published. Unix epoch milliseconds (UTC).trading_datestringdaterequiredTrading date on whose morning the figure was published.underlying_symbolstringrequiredOption root of the contract.
metaobjectrequiredMeta objectpaginationobjectrequiredPagination object
Example response
{
"data": [
{
"option_symbol": "SPXW 261016C05800000",
"underlying_symbol": "SPXW",
"date_of_expiry": "2026-10-16",
"strike": 5800,
"contract_type": "call",
"trading_date": "2026-10-16",
"timestamp": 1792146600000,
"open_interest": 4321
}
],
"meta": {
"as_of": 1760659200123,
"coverage": {
"complete": true
},
"delay_ms": 0,
"delayed": false,
"request_id": "0199f0c2-5a1e-7c3b-9d4e-2b6f8a1c3d5e",
"source": "opra"
},
"pagination": {
"count": 1,
"has_more": false,
"limit": 1000,
"next_cursor_id": null,
"next_url": null
}
}Values are illustrative. Missing values are null, never 0.