{
  "openapi": "3.0.1",
  "info": {
    "title": "Yahoo Finance Options Scraper: Chains, Greeks, IV",
    "description": "Scrape Yahoo Finance option chains for any US ticker, no login or API key: one row per contract with strike, bid, ask, volume, open interest, implied volatility and greeks. Every expiry or the ones you pick; filters run before billing. Contract lookups and option screeners.",
    "version": "0.1",
    "x-build-id": "qDadGjt8nVSfa7jQs"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automation_craft~yahoo-finance-options-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automation_craft-yahoo-finance-options-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/automation_craft~yahoo-finance-options-scraper/runs": {
      "post": {
        "operationId": "runs-sync-automation_craft-yahoo-finance-options-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/automation_craft~yahoo-finance-options-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-automation_craft-yahoo-finance-options-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "tickers": {
            "title": "Tickers (underlyings)",
            "type": "array",
            "description": "US listed stocks, ETFs and indexes whose option chains you want, as Yahoo Finance writes them: AAPL, SPY, BRK-B, ^SPX, ^VIX. Up to 500. A Yahoo Finance quote link works too. Yahoo has no option chains for listings outside the United States (VOD.L, SAP.DE, RELIANCE.NS); use their US listing if they have one. A symbol Yahoo does not know is a free row with Yahoo's suggestions.",
            "items": {
              "type": "string"
            }
          },
          "companyNamesOrIsins": {
            "title": "Company names or ISINs",
            "type": "array",
            "description": "Names (Tesla) or ISINs (US0378331005), up to 50. Each is resolved through Yahoo Finance's own search and used only when Yahoo gives exactly ONE US listed stock, ETF or index for it; otherwise a free row lists Yahoo's candidates so you can put the symbol you mean in Tickers. ISINs resolve exactly; common names often have several candidates.",
            "items": {
              "type": "string"
            }
          },
          "symbolSearches": {
            "title": "Symbol searches",
            "type": "array",
            "description": "Free words (semiconductor, gold miners), up to 10. Every US listed stock, ETF or index Yahoo Finance's search returns for a word, up to Max search results, becomes an underlying.",
            "items": {
              "type": "string"
            }
          },
          "maxSearchResults": {
            "title": "Max search results",
            "minimum": 1,
            "maximum": 25,
            "type": "integer",
            "description": "Underlyings taken from each symbol search (1 to 25). Default 5."
          },
          "underlyingScreeners": {
            "title": "Stock screeners as underlyings",
            "type": "array",
            "description": "Yahoo Finance's predefined stock screeners and the US trending list: their top symbols (up to Max tickers per screener) become underlyings. Funds and crypto rows have no options and come back as free rows.",
            "items": {
              "type": "string",
              "enum": [
                "most_actives",
                "day_gainers",
                "day_losers",
                "trending_us",
                "most_watched_tickers",
                "most_shorted_stocks",
                "fifty_two_wk_gainers",
                "fifty_two_wk_losers",
                "undervalued_growth_stocks",
                "undervalued_large_caps",
                "growth_technology_stocks",
                "aggressive_small_caps",
                "small_cap_gainers",
                "high_dividend_yield",
                "most_actives_etfs",
                "top_etfs_us",
                "day_gainers_dji",
                "most_actives_dji",
                "day_gainers_ndx"
              ],
              "enumTitles": [
                "Most active stocks",
                "Day gainers",
                "Day losers",
                "Trending tickers (US)",
                "Most added to watchlists",
                "Most shorted stocks",
                "52 week gainers",
                "52 week losers",
                "Undervalued growth stocks",
                "Undervalued large caps",
                "Growth technology stocks",
                "Aggressive small caps",
                "Small caps with momentum",
                "High dividend yield",
                "Most active ETFs",
                "Top ETFs (US)",
                "Day gainers, Dow Jones Industrials",
                "Most active, Dow Jones Industrials",
                "Day gainers, NASDAQ 100"
              ]
            }
          },
          "maxTickersPerScreener": {
            "title": "Max tickers per screener",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Symbols taken from each stock screener, from the top (1 to 100). Default 10."
          },
          "optionScreeners": {
            "title": "Option screeners",
            "type": "array",
            "description": "Yahoo Finance's own option screeners: most active options, option gainers and losers, the highest open interest and the highest implied volatility. Their contracts are delivered as contract rows in the screener's order (screener and screenerRank on each row), with the same fields and greeks as a chain row. How many contracts a screener lists depends on the time of day (some are empty outside US market hours).",
            "items": {
              "type": "string",
              "enum": [
                "most_actives_options",
                "day_gainers_options",
                "day_losers_options",
                "top_options_open_interest",
                "top_options_implied_volatality"
              ],
              "enumTitles": [
                "Most active options",
                "Option gainers",
                "Option losers",
                "Options with the highest open interest",
                "Options with the highest implied volatility"
              ]
            }
          },
          "maxRowsPerOptionScreener": {
            "title": "Max contracts per option screener",
            "minimum": 1,
            "maximum": 250,
            "type": "integer",
            "description": "Contracts read from each option screener, from the top (1 to 250). Default 25."
          },
          "contractSymbols": {
            "title": "Contract symbols",
            "type": "array",
            "description": "Exact option contracts by their symbol (root, YYMMDD, C or P, strike times 1,000 in 8 digits), for example AAPL261218C00250000, up to 1,000. Each comes with the day's open, high, low and previous close and the contract's 52 week range on top of the chain fields. An expired contract is a free not found row (Yahoo keeps no expired contracts).",
            "items": {
              "type": "string"
            }
          },
          "expirationDates": {
            "title": "Expiry dates",
            "type": "array",
            "description": "Only these expiry dates (YYYY-MM-DD), up to 60. A date Yahoo does not list for an underlying is a free row naming the nearest listed date. Without dates, the expiries are the nearest ones (see Max expiries).",
            "items": {
              "type": "string"
            }
          },
          "maxExpirations": {
            "title": "Max expiries",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "The nearest N expiries of each underlying (after the dates and the days to expiry window are applied); 0 means every listed expiry. Left empty: the nearest one when no dates and no window are given, otherwise every expiry that matches them."
          },
          "minDaysToExpiration": {
            "title": "Min days to expiry",
            "minimum": 0,
            "maximum": 3650,
            "type": "integer",
            "description": "Only expiries at least this many calendar days away, counted from the run's date in New York (0 to 3650)."
          },
          "maxDaysToExpiration": {
            "title": "Max days to expiry",
            "minimum": 0,
            "maximum": 3650,
            "type": "integer",
            "description": "Only expiries at most this many calendar days away, counted from the run's date in New York (0 to 3650)."
          },
          "contractType": {
            "title": "Calls, puts or both",
            "enum": [
              "both",
              "calls",
              "puts"
            ],
            "type": "string",
            "description": "Which side of each chain is delivered.",
            "default": "both"
          },
          "minStrike": {
            "title": "Min strike",
            "type": "number",
            "description": "Only strikes at or above this price."
          },
          "maxStrike": {
            "title": "Max strike",
            "type": "number",
            "description": "Only strikes at or below this price."
          },
          "strikeRangePercent": {
            "title": "Strike window around the price (percent)",
            "type": "number",
            "description": "Only strikes within this many percent of the underlying price, for example 10 keeps strikes from 90 to 110 percent of the price. A contract whose underlying price Yahoo did not give fails this filter."
          },
          "moneyness": {
            "title": "In or out of the money",
            "enum": [
              "all",
              "itm",
              "otm"
            ],
            "type": "string",
            "description": "Yahoo Finance's own in the money flag of each contract.",
            "default": "all"
          },
          "minVolume": {
            "title": "Min volume",
            "minimum": 0,
            "type": "integer",
            "description": "Only contracts with at least this many contracts traded today. Yahoo leaves the volume out for a contract without trades today; that counts as 0."
          },
          "minOpenInterest": {
            "title": "Min open interest",
            "minimum": 0,
            "type": "integer",
            "description": "Only contracts with at least this open interest. Outside US market hours Yahoo shows an open interest of 0 for most contracts (3.4 percent of 46,718 contracts had one above 0 on 2026-11-03 at 06:00 UTC), so this filter is best used while the market is open."
          },
          "minImpliedVolatility": {
            "title": "Min implied volatility",
            "type": "number",
            "description": "Only contracts whose implied volatility from Yahoo Finance is at least this value, as a decimal (0.3 is 30 percent). A contract without one from Yahoo (contracts found by a screener or a symbol carry none when their chain does not list them) fails it."
          },
          "maxContractsPerTicker": {
            "title": "Max contracts per underlying",
            "minimum": 1,
            "maximum": 200000,
            "type": "integer",
            "description": "At most this many contracts per underlying in the run, nearest expiry first; when an expiry does not fit whole, the contracts nearest the underlying price are kept (calls and puts in turn). Empty: no limit."
          },
          "maxItems": {
            "title": "Max contracts in the run",
            "minimum": 1,
            "maximum": 200000,
            "type": "integer",
            "description": "Stop after this many contracts in total (at most 200,000; a run delivers at most 200,000 contracts, and the run summary then carries a continuation token for the rest). When an expiry of an underlying does not fit whole, the contracts nearest the underlying price are kept; contracts from option screeners and contract symbols keep their list's order. Empty: up to 200,000 (the run's charge limit still applies)."
          },
          "outputFormat": {
            "title": "Layout",
            "enum": [
              "contracts",
              "chains"
            ],
            "type": "string",
            "description": "Contracts: one row per contract, every field flat (best for CSV and Excel). Chains: one row per underlying and expiry, with calls and puts as two lists. The price is per contract in both.",
            "default": "contracts"
          },
          "includeGreeks": {
            "title": "Greeks and own implied volatility",
            "type": "boolean",
            "description": "Delta, gamma, theta, vega, rho and the probability of expiring in the money from the Black-Scholes-Merton model, with the implied volatility solved from the bid and ask, the 13 week T-bill rate and the carry the expiry's own prices imply (inputs on every row). No extra charge.",
            "default": true
          },
          "compactOutput": {
            "title": "Compact rows",
            "type": "boolean",
            "description": "Keep about 25 core fields per contract (fewer tokens for an AI agent, a narrower sheet).",
            "default": false
          },
          "continuationToken": {
            "title": "Continuation token",
            "type": "string",
            "description": "To go on with a run that stopped early (Max contracts in the run, the charge limit, an abort) or left a part Yahoo did not answer: paste the continuationToken from its run summary and keep every other setting the same. It skips what ended, never charges a contract the earlier runs delivered, and is valid for 7 days. A chain of runs carries up to 1,000,000 delivered contracts in its token."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Optional. Without it the run asks Yahoo Finance from its own address and retries through Apify's datacenter proxy. Your own proxy links, or Apify Proxy groups, replace that; a RESIDENTIAL group is replaced by the datacenter group (Yahoo answers it, and residential traffic would cost more than the rows)."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}