# Scrape Historical Stock Prices - Yahoo Finance

**Use case:** 

Export historical OHLCV price series from Yahoo Finance with Symbol, Name, Price, Cur, Exchange and Chg %. Export to JSON, CSV or Excel.

## Input

```json
{
  "mode": "historical",
  "tickers": [
    "AAPL"
  ],
  "searchQueries": [
    "Tesla",
    "Nvidia",
    "Coinbase"
  ],
  "startUrls": [
    "https://finance.yahoo.com/quote/NVDA",
    "https://finance.yahoo.com/quote/BTC-USD"
  ],
  "includeProfile": true,
  "includeFinancials": true,
  "includeAnalystRatings": true,
  "includeHolders": true,
  "includeNews": false,
  "newsPerTicker": 10,
  "range": "1y",
  "interval": "1d",
  "trendingRegion": "US",
  "enrichTrending": false,
  "maxLookupsPerQuery": 8,
  "maxResults": 50,
  "monitorMode": false,
  "monitorStoreName": "yahoo-finance-monitor",
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "type": {
    "label": "Type"
  },
  "symbol": {
    "label": "Symbol"
  },
  "name": {
    "label": "Name"
  },
  "quoteType": {
    "label": "Kind"
  },
  "exchange": {
    "label": "Exchange"
  },
  "currency": {
    "label": "Cur"
  },
  "price": {
    "label": "Price"
  },
  "changePercent": {
    "label": "Chg %"
  },
  "marketCap": {
    "label": "Market cap"
  },
  "trailingPE": {
    "label": "P/E"
  },
  "dividendYield": {
    "label": "Div %"
  },
  "recommendationKey": {
    "label": "Rating"
  },
  "targetMeanPrice": {
    "label": "Target"
  },
  "sector": {
    "label": "Sector"
  },
  "url": {
    "label": "URL"
  }
}
```

## About this Actor

This example demonstrates how to use [Yahoo Finance Scraper - Stocks, Quotes, Financials & News](https://apify.com/scrapesage/yahoo-finance-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/scrapesage/yahoo-finance-scraper) to learn more, explore other use cases, and run it yourself.