{
  "openapi": "3.0.1",
  "info": {
    "title": "Yahoo Finance Quotes, History & Fundamentals",
    "description": "Get Yahoo Finance quotes, price history, financial statements, profiles, news and options for any stock, ETF, index, crypto or FX ticker. Track portfolios, backtest, screen stocks. No login, no API key.",
    "version": "0.1",
    "x-build-id": "bfCmukfJP4wrvSeoT"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cliqtomedia~yahoo-finance-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cliqtomedia-yahoo-finance-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/cliqtomedia~yahoo-finance-scraper/runs": {
      "post": {
        "operationId": "runs-sync-cliqtomedia-yahoo-finance-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/cliqtomedia~yahoo-finance-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-cliqtomedia-yahoo-finance-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",
            "type": "array",
            "description": "Yahoo Finance symbols, for example AAPL, MSFT, SPY, ^GSPC, BTC-USD, EURUSD=X, VOD.L. A Yahoo quote page link also works. Up to 1,000 per run; quotes are fetched 50 at a time.",
            "items": {
              "type": "string"
            }
          },
          "mode": {
            "title": "What to get",
            "enum": [
              "quote",
              "history",
              "fundamentals",
              "profile",
              "news",
              "options"
            ],
            "type": "string",
            "description": "Quote: one row per ticker with price, change, market cap, volume, P/E and more. History: daily, weekly or intraday price bars. Fundamentals: income statement, balance sheet and cash flow by period. Profile: company details, key statistics, analyst targets, holders and officers. News: latest articles. Options: option chain contracts.",
            "default": "quote"
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many result rows (all tickers together). Rows for tickers that are not found or failed are free and do not count.",
            "default": 1000
          },
          "searchQuery": {
            "title": "Find tickers by name",
            "type": "string",
            "description": "Optional. A company or fund name, for example \"nvidia\" or \"gold etf\". The tickers Yahoo suggests are added to the list."
          },
          "trendingRegion": {
            "title": "Trending tickers in",
            "enum": [
              "US",
              "GB",
              "DE",
              "FR",
              "IT",
              "ES",
              "CA",
              "AU",
              "IN",
              "HK",
              "SG",
              "TW",
              "BR",
              "MX",
              "NZ",
              "AR"
            ],
            "type": "string",
            "description": "Optional. Adds the tickers trending on Yahoo Finance in this market right now."
          },
          "screener": {
            "title": "Yahoo screener",
            "enum": [
              "day_gainers",
              "day_losers",
              "most_actives",
              "most_shorted_stocks",
              "undervalued_growth_stocks",
              "growth_technology_stocks",
              "aggressive_small_caps",
              "small_cap_gainers",
              "undervalued_large_caps",
              "all_cryptocurrencies_us",
              "day_gainers_cryptocurrencies",
              "day_losers_cryptocurrencies",
              "most_actives_cryptocurrencies",
              "top_mutual_funds",
              "day_gainers_mutual_funds",
              "portfolio_anchors",
              "solid_large_growth_funds",
              "solid_midcap_growth_funds",
              "conservative_foreign_funds",
              "high_yield_bond"
            ],
            "type": "string",
            "description": "Optional. Adds the tickers from a ready-made Yahoo screener, such as day gainers or most active."
          },
          "maxDiscoveredTickers": {
            "title": "Max tickers to find",
            "minimum": 1,
            "maximum": 250,
            "type": "integer",
            "description": "How many tickers to take from each of the search, trending and screener options above (1–250).",
            "default": 10
          },
          "range": {
            "title": "Period",
            "enum": [
              "1d",
              "5d",
              "1mo",
              "3mo",
              "6mo",
              "ytd",
              "1y",
              "2y",
              "5y",
              "10y",
              "max"
            ],
            "type": "string",
            "description": "History mode: how far back to go. Ignored when a start date is set. Intraday intervals: 1m covers the last 7 days, 2m–90m the last 60 days, 1h about 2 years.",
            "default": "1mo"
          },
          "interval": {
            "title": "Bar size",
            "enum": [
              "1m",
              "2m",
              "5m",
              "15m",
              "30m",
              "60m",
              "90m",
              "1h",
              "1d",
              "5d",
              "1wk",
              "1mo",
              "3mo"
            ],
            "type": "string",
            "description": "History mode: one bar per this interval.",
            "default": "1d"
          },
          "startDate": {
            "title": "Start date",
            "type": "string",
            "description": "History mode, optional: first day, for example 2024-01-01. Replaces Period."
          },
          "endDate": {
            "title": "End date",
            "type": "string",
            "description": "History mode, optional: last day, included. Needs a start date. Empty means today."
          },
          "includeDividendsSplits": {
            "title": "Include dividends and splits",
            "type": "boolean",
            "description": "History mode: add dividend and split rows for the period.",
            "default": true
          },
          "includePrePost": {
            "title": "Include pre- and after-market bars",
            "type": "boolean",
            "description": "History mode with intraday bars: include extended-hours trading.",
            "default": false
          },
          "historyFormat": {
            "title": "History layout",
            "enum": [
              "rows",
              "series"
            ],
            "type": "string",
            "description": "Rows: one row per bar (easy for spreadsheets). Series: one row per ticker with all bars in a list (one charge per ticker).",
            "default": "rows"
          },
          "frequency": {
            "title": "Statement period",
            "enum": [
              "annual",
              "quarterly",
              "trailing"
            ],
            "type": "string",
            "description": "Fundamentals mode: annual, quarterly or trailing twelve months.",
            "default": "annual"
          },
          "statements": {
            "title": "Statements",
            "type": "array",
            "description": "Fundamentals mode: which statements to include. Empty means all three.",
            "items": {
              "type": "string",
              "enum": [
                "income",
                "balance",
                "cashflow"
              ],
              "enumTitles": [
                "Income statement",
                "Balance sheet",
                "Cash flow"
              ]
            },
            "default": [
              "income",
              "balance",
              "cashflow"
            ]
          },
          "maxNewsPerTicker": {
            "title": "News per ticker",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "News mode: latest articles per ticker (1–50).",
            "default": 10
          },
          "maxOptionExpirations": {
            "title": "Option expirations",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Options mode: how many expiration dates to include, nearest first (1–30). Each expiration is one more request.",
            "default": 1
          },
          "optionsExpirationDate": {
            "title": "Option expiration date",
            "type": "string",
            "description": "Options mode, optional: one exact expiration date, for example 2026-12-18. Replaces Option expirations."
          },
          "region": {
            "title": "Region",
            "type": "string",
            "description": "Yahoo market region for news, search and screeners, as a two-letter code.",
            "default": "US"
          },
          "lang": {
            "title": "Language",
            "type": "string",
            "description": "Yahoo language code, for example en-US.",
            "default": "en-US"
          },
          "deliveryConnector": {
            "title": "Send results to (optional)",
            "type": "string",
            "description": "Your Slack, Notion or other MCP connector. After the run the Actor posts a short summary there. Connect services once in Apify Console → MCP connectors."
          },
          "deliveryTarget": {
            "title": "Notion page or channel (optional)",
            "type": "string",
            "description": "Where to post the summary: a Notion page link (each run is added on top of that page) or a Slack channel ID. Notion needs a page here; without it the summary is not sent and the run summary says why."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}