# Cboe Options Chain Scraper — greeks, IV, open interest (`istmobot/cboe-options-chain-scraper`) Actor

Full delayed US options chain for any stock, ETF or index (SPX, VIX, NDX) from Cboe: bid/ask, volume, open interest, IV and greeks (delta, gamma, theta, vega, rho) as clean JSON, with expiry, DTE, strike and moneyness filters.

- **URL**: https://apify.com/istmobot/cboe-options-chain-scraper.md
- **Developed by:** [Istmobot](https://apify.com/istmobot) (community)
- **Categories:** Other, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.40 / 1,000 option contracts

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Cboe Options Chain Scraper — greeks, IV & open interest

Get the **full delayed US options chain** for any stock, ETF or index — **AAPL, TSLA, SPY, SPX, VIX, NDX** — as clean JSON: bid/ask, mid, last, volume, **open interest**, **implied volatility** and **greeks** (delta, gamma, theta, vega, rho) for every strike and expiration. One request per ticker, no browser, no login, no API key.

### What it does

- Downloads the complete options chain Cboe publishes for a symbol (every expiration, every strike, calls and puts — 30,000+ contracts for SPX).
- Parses each OCC contract symbol (`AAPL260930C00245000`) into **root, expiration, call/put and strike**, and adds **days to expiration (DTE)**, **mid price** and **in-the-money** flags.
- Includes the **underlying quote** (price, change, open/high/low, volume, **IV30**).
- **Filters** so you only pay for what you need: expiration dates, min/max DTE, calls/puts, strike range, ITM / OTM / near-the-money, minimum open interest and volume.
- Two output shapes: **one row per contract** (spreadsheets, BI, databases) or **one item per ticker** with the chain nested (apps, scripts).
- Indexes work with Cboe's underscore prefix (`_SPX`, `_VIX`, `_NDX`, `_RUT`); `SPX` and `^SPX` are converted automatically. Weeklies (SPXW) are included.

### Use cases

- **Options traders** — scan chains for high open interest, unusual volume or cheap/expensive IV across many tickers.
- **Quants & data teams** — daily snapshots of IV surfaces and greeks for backtests and dashboards (schedule it after the close).
- **Risk & analytics** — put/call open interest, gamma exposure (GEX) and max-pain inputs for SPX, SPY, QQQ, single stocks.
- **Fintech builders** — a JSON options feed for prototypes without paying for a market-data subscription.

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `tickers` | list of strings | — (required) | `AAPL`, `SPY`, `BRK.B`, `_SPX`, `_VIX`, `_NDX` |
| `outputMode` | `contracts` | `ticker` | `contracts` | One item per contract, or one item per ticker with `contracts` nested |
| `expirationDates` | list of `YYYY-MM-DD` | all | Only these expirations |
| `minDte` / `maxDte` | integer | — | Days-to-expiration window (calendar days, New York date) |
| `optionType` | `all` | `call` | `put` | `all` | |
| `minStrike` / `maxStrike` | number | — | Strike window |
| `moneyness` | `all` | `itm` | `otm` | `nearTheMoney` | `all` | `nearTheMoney` keeps strikes within ±`strikeRangePct` of the underlying price |
| `strikeRangePct` | number | `10` | Used with `nearTheMoney` |
| `minOpenInterest` | integer | `0` | Skip illiquid contracts |
| `minVolume` | integer | `0` | Skip contracts that did not trade |
| `proxyConfiguration` | proxy | none | Optional Apify Proxy; not needed normally |

```json
{
  "tickers": ["AAPL", "_SPX"],
  "outputMode": "contracts",
  "maxDte": 45,
  "moneyness": "nearTheMoney",
  "strikeRangePct": 5,
  "minOpenInterest": 1
}
```

> Tip: an unfiltered SPX chain is ~30,000 contracts. Use `maxDte`, `moneyness` or strike filters to keep runs small and cheap.

### Output

#### Contract (`outputMode: "contracts"`)

```json
{
  "underlying": "SPX",
  "underlyingPrice": 7651.54,
  "contractSymbol": "SPXW261013C07740000",
  "root": "SPXW",
  "expiration": "2026-10-13",
  "dte": 13,
  "type": "call",
  "strike": 7740,
  "bid": 43,
  "ask": 43.5,
  "bidSize": 1,
  "askSize": 1,
  "mid": 43.25,
  "last": 54.69,
  "change": 12.09,
  "changePercent": 28.3803,
  "volume": 10,
  "openInterest": 86,
  "iv": 0.1122,
  "delta": 0.387,
  "gamma": 0.0024,
  "theta": -2.4583,
  "vega": 5.5204,
  "rho": 0.9617,
  "theo": 43.1829,
  "inTheMoney": false,
  "lastTradeTime": "2026-09-30T12:30:08",
  "quoteTimestamp": "2026-10-01T01:34:56.000Z",
  "scrapedAt": "2026-10-01T01:35:25.550Z"
}
```

- `iv` is a decimal (0.1122 = 11.22 %). `theta` is per calendar day. `theo` is Cboe's theoretical value.
- `lastTradeTime` is US Eastern time as published by Cboe; `quoteTimestamp` (UTC) is when Cboe generated the snapshot.
- `root` distinguishes monthly (`SPX`) from weekly (`SPXW`) index options.

#### Ticker (`outputMode: "ticker"`)

```json
{
  "underlying": "AAPL",
  "underlyingPrice": 334.25,
  "underlyingChange": 3.62,
  "underlyingChangePercent": 1.099,
  "underlyingBid": 334.25,
  "underlyingAsk": 334.3,
  "underlyingOpen": 330.77,
  "underlyingHigh": 339.5,
  "underlyingLow": 330.1401,
  "underlyingPrevClose": 329.4,
  "underlyingVolume": 49988558,
  "iv30": 26.267,
  "securityType": "stock",
  "quoteTimestamp": "2026-10-01T01:34:55.000Z",
  "expirations": ["2026-10-16"],
  "contractsCount": 89,
  "totalContractsInChain": 3578,
  "contracts": [{ "contractSymbol": "AAPL261016P00130000", "expiration": "2026-10-16", "dte": 16, "type": "put", "strike": 130, "bid": 0, "ask": 1.01, "openInterest": 166, "iv": 2.1001, "delta": 0, "...": "..." }],
  "scrapedAt": "2026-10-01T01:35:53.950Z"
}
```

A dataset item is limited to ~9 MB, so a whole unfiltered index chain cannot be one item — you get a `TOO_LARGE` error item telling you to filter or switch to `contracts` mode.

#### Error item

```json
{ "ticker": "ZZZZQ", "errorType": "NOT_FOUND", "error": "No Cboe options chain for \"ZZZZQ\". Check the symbol; indexes need an underscore prefix (_SPX, _VIX, _NDX).", "scrapedAt": "2026-10-01T01:35:25.567Z" }
```

`errorType` is `NOT_FOUND`, `FETCH_FAILED` or `TOO_LARGE`. Error items are never charged.

### Pricing

Pay-per-event:

- **Actor start** — small fixed fee per run.
- **`contract-result`** — per option contract in `contracts` mode.
- **`ticker-result`** — per ticker in `ticker` mode (whole filtered chain in one item).

Filters are applied before anything is saved, so you only pay for the contracts you keep. Set a maximum cost per run and the Actor stops cleanly once it is reached.

### FAQ

**How delayed is the data?** Cboe's public delayed quotes, typically ~15 minutes during market hours. After the close you get the end-of-day snapshot. This is not a real-time feed.

**Which symbols work?** US-listed stocks and ETFs with options, plus Cboe indexes with an underscore: `_SPX`, `_VIX`, `_NDX`, `_RUT`, `_XSP`. Class shares use a dot: `BRK.B`.

**Why is `iv` 0 or very large for some contracts?** Deep in/out-of-the-money or untraded contracts often have no meaningful bid/ask, so Cboe's model returns 0 or extreme values. Filter with `minOpenInterest`, `minVolume` or `nearTheMoney`.

**How is DTE calculated?** Calendar days between today's New York date and the expiration date. Same-day (0DTE) contracts have `dte: 0`.

**Can I build a daily IV / open-interest history?** Yes — schedule the Actor after 4:15 pm ET and append each run's dataset to your storage of choice.

**Do I need proxies?** No. One lightweight request per ticker to Cboe's CDN; retries with backoff on rate limits are built in.

### Disclaimer

This is an **unofficial** tool and is **not affiliated with, endorsed by or sponsored by Cboe Global Markets**. It reads **delayed, publicly available** quotes that Cboe publishes on its website. Data may be delayed, incomplete or inaccurate and is provided as-is. **Nothing here is investment advice.** You are responsible for complying with Cboe's terms of use and any applicable data licensing rules for your use case.

# Actor input Schema

## `tickers` (type: `array`):

US stocks, ETFs or indexes with listed options. Stocks/ETFs as-is (AAPL, TSLA, SPY, BRK.B). Indexes need an underscore prefix: \_SPX, \_VIX, \_NDX, \_RUT ("SPX" or "^SPX" are converted automatically).

## `outputMode` (type: `string`):

"contracts": one dataset item per option contract (best for spreadsheets/BI). "ticker": one item per ticker with the underlying quote and the filtered chain nested in `contracts` (max ~9 MB per item — filter large index chains).

## `expirationDates` (type: `array`):

Only these expirations (YYYY-MM-DD). Leave empty for all.

## `minDte` (type: `integer`):

Skip contracts expiring sooner than this many calendar days (0 = include same-day expirations).

## `maxDte` (type: `integer`):

Skip contracts expiring later than this many calendar days.

## `optionType` (type: `string`):

Calls, puts or both.

## `minStrike` (type: `number`):

Lowest strike to include.

## `maxStrike` (type: `number`):

Highest strike to include.

## `moneyness` (type: `string`):

In-the-money, out-of-the-money, or strikes within ±"Strike range %" of the underlying price.

## `strikeRangePct` (type: `number`):

With moneyness "nearTheMoney": keep strikes within this percent of the underlying price.

## `minOpenInterest` (type: `integer`):

Skip contracts with lower open interest (0 = no filter).

## `minVolume` (type: `integer`):

Skip contracts with lower day volume (0 = no filter).

## `proxyConfiguration` (type: `object`):

Optional. Cboe's CDN normally needs no proxy; enable only if you get blocked.

## Actor input object example

```json
{
  "tickers": [
    "AAPL",
    "_SPX"
  ],
  "outputMode": "contracts",
  "maxDte": 45,
  "optionType": "all",
  "moneyness": "nearTheMoney",
  "strikeRangePct": 5,
  "minOpenInterest": 0,
  "minVolume": 0,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "tickers": [
        "AAPL",
        "_SPX"
    ],
    "maxDte": 45,
    "moneyness": "nearTheMoney",
    "strikeRangePct": 5,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("istmobot/cboe-options-chain-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "tickers": [
        "AAPL",
        "_SPX",
    ],
    "maxDte": 45,
    "moneyness": "nearTheMoney",
    "strikeRangePct": 5,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("istmobot/cboe-options-chain-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "tickers": [
    "AAPL",
    "_SPX"
  ],
  "maxDte": 45,
  "moneyness": "nearTheMoney",
  "strikeRangePct": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call istmobot/cboe-options-chain-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,istmobot/cboe-options-chain-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/0n97bvTXWDoWkL0JH/builds/YEOvj6fZKiFfmITva/openapi.json
