{
  "openapi": "3.0.1",
  "info": {
    "title": "Stock Options Scraper: Unusual Activity, IV & Open Interest",
    "description": "Keyless US stock and index option chains from Cboe: unusual activity where today's volume dwarfs open interest, the filtered option chain with implied volatility, greeks, open interest and volume, and a per-symbol summary with put/call ratios and 30-day implied vol. Pay per row.",
    "version": "0.1",
    "x-build-id": "mxFpvDGvER7hdLTYr"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapemint~stock-options-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapemint-stock-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/scrapemint~stock-options-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapemint-stock-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/scrapemint~stock-options-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapemint-stock-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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "unusual",
              "chain",
              "summary"
            ],
            "type": "string",
            "description": "unusual = contracts trading far above their open interest (the daily scan). chain = the option chain filtered by expiry, moneyness, and size. summary = one row per symbol with put/call ratios, totals, and 30-day implied vol.",
            "default": "unusual"
          },
          "symbols": {
            "title": "Symbols",
            "type": "array",
            "description": "US tickers to pull option chains for, e.g. NVDA, TSLA, SPY. Index roots work with or without the caret: SPX, ^SPX, VIX, NDX, RUT. Maximum 25 per run.",
            "default": [
              "NVDA",
              "TSLA",
              "SPY"
            ],
            "items": {
              "type": "string"
            }
          },
          "optionType": {
            "title": "Option type",
            "enum": [
              "both",
              "call",
              "put"
            ],
            "type": "string",
            "description": "Return calls only, puts only, or both.",
            "default": "both"
          },
          "minVolume": {
            "title": "Min contract volume",
            "minimum": 0,
            "type": "integer",
            "description": "Skip contracts trading fewer than this many times today. In unusual mode this is the floor that keeps one-lot noise out of the scan.",
            "default": 500
          },
          "minVolumeOiRatio": {
            "title": "Min volume / open interest (unusual mode)",
            "minimum": 0,
            "type": "number",
            "description": "How many times today's volume must exceed existing open interest to count as unusual. 5 means five times more contracts traded today than were open going in. Contracts with zero open interest always qualify on volume alone.",
            "default": 5
          },
          "minOpenInterest": {
            "title": "Min open interest",
            "minimum": 0,
            "type": "integer",
            "description": "Skip contracts with open interest below this. 0 = no minimum.",
            "default": 0
          },
          "expiries": {
            "title": "Expiries (optional)",
            "type": "array",
            "description": "Filter to specific expiry dates in YYYY-MM-DD form, e.g. 2026-08-21. Empty = every listed expiry.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxDaysToExpiry": {
            "title": "Max days to expiry",
            "minimum": 0,
            "type": "integer",
            "description": "Drop contracts expiring further out than this many days. 0 = no limit. Useful for focusing on near-dated flow.",
            "default": 0
          },
          "moneynessPercent": {
            "title": "Strike window around spot (%)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only strikes within this percentage of the underlying price, e.g. 10 = strikes within 10% either side. 0 = every strike. The main lever for cutting chain-mode row counts.",
            "default": 0
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "volume",
              "openInterest",
              "volumeOiRatio",
              "impliedVolatility"
            ],
            "type": "string",
            "description": "Order contracts before the row cap is applied.",
            "default": "volume"
          },
          "maxRows": {
            "title": "Max rows per run",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Cap on rows returned across all symbols. Controls total cost.",
            "default": 200
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}