Scrape Yahoo Finance for stocks, ETFs, indexes, crypto and currencies: quotes and key statistics (price, market cap, P/E, dividend, earnings date), price history with adjusted close and dividends, or options chains with bid, ask, open interest, implied volatility, greeks and max pain.
This tutorial shows what the Actor v0iddo/yahoo-finance-scraper returns, how to run it on the Apify Store without code, and how to call it from Python and cURL.
What data you get
One row per result. Every row can be downloaded as JSON, CSV, Excel or HTML, or read through the API.
| Field | Label | Type | Example |
|---|---|---|---|
symbol | Symbol | text | AAPL |
name | Name | text | Apple Inc. |
quoteType | Type | text | EQUITY |
price | Price | number | 347.725 |
currency | Currency | text | USD |
changePercent | Change % | number | -0.14215012 |
volume | Volume | number | 39539690 |
marketCap | Market cap | number | 5074761285632 |
trailingPE | P/E | number | 39.87672 |
dividendYield | Dividend yield % | number | 0.31 |
fiftyTwoWeekLow | 52 week low | number | 243.42 |
fiftyTwoWeekHigh | 52 week high | number | 351.73 |
regularMarketTime | Quote time | date | 2026-10-23T20:00:01Z |
url | Yahoo Finance page | URL | https://finance.yahoo.com/quote/AAPL/ |
exchange | exchange | text | NasdaqGS |
marketState | marketState | text | OVERNIGHT |
change | change | number | -0.49499512 |
previousClose | previousClose | number | 348.22 |
open | open | number | 349.11 |
dayLow | dayLow | number | 345.75 |
dayHigh | dayHigh | number | 351.73 |
averageVolume | averageVolume | number | 43991589 |
forwardPE | forwardPE | number | 36.365494 |
epsTrailing | epsTrailing | number | 8.72 |
dividendRate | dividendRate | number | 1.08 |
exDividendDate | exDividendDate | text | 2026-08-10 |
beta | beta | number | 1.069 |
earningsDate | earningsDate | text | 2026-11-02 |
targetMeanPrice | targetMeanPrice | number | 329.24768 |
recommendation | recommendation | text | buy |
sector | sector | text | Technology |
industry | industry | text | Consumer Electronics |
scrapedAt | scrapedAt | text | 2026-10-26T04:30:36Z |
Real rows from a run of the Actor (fields that name people are left out):
[ { "symbol": "AAPL", "name": "Apple Inc.", "quoteType": "EQUITY", "exchange": "NasdaqGS", "currency": "USD", "marketState": "OVERNIGHT", "price": 347.725, "change": -0.49499512, "changePercent": -0.14215012, "previousClose": 348.22, "open": 349.11, "dayLow": 345.75, "dayHigh": 351.73, "fiftyTwoWeekLow": 243.42, "fiftyTwoWeekHigh": 351.73, "volume": 39539690, "averageVolume": 43991589, "marketCap": 5074761285632, "trailingPE": 39.87672, "forwardPE": 36.365494, "epsTrailing": 8.72, "dividendRate": 1.08, "dividendYield": 0.31, "exDividendDate": "2026-08-10", "beta": 1.069, "earningsDate": "2026-11-02", "targetMeanPrice": 329.24768, "recommendation": "buy", "sector": "Technology", "industry": "Consumer Electronics", "regularMarketTime": "2026-10-23T20:00:01Z", "url": "https://finance.yahoo.com/quote/AAPL/", "scrapedAt": "2026-10-26T04:30:36Z" }, { "symbol": "MSFT", "name": "Microsoft Corporation", "quoteType": "EQUITY", "exchange": "NasdaqGS", "currency": "USD", "marketState": "OVERNIGHT", "price": 524.51, "change": 3.4299927, "changePercent": 0.6582468, "previousClose": 521.08, "open": 517.995, "dayLow": 515.7, "dayHigh": 525.77, "fiftyTwoWeekLow": 349.2, "fiftyTwoWeekHigh": 553.72, "volume": 13681067, "averageVolume": 25928984, "marketCap": 3894773022720, "trailingPE": 29.220612, "forwardPE": 22.128946, "epsTrailing": 17.95, "dividendRate": 3.92, "dividendYield": 0.75, "exDividendDate": "2026-11-19", "beta": 1.099, "earningsDate": "2026-10-28", "targetMeanPrice": 601.7281, "recommendation": "strong_buy", "sector": "Technology", "industry": "Software - Infrastructure", "regularMarketTime": "2026-10-23T20:00:01Z", "url": "https://finance.yahoo.com/quote/MSFT/", "scrapedAt": "2026-10-26T04:30:38Z" } ] No code: run it on the Apify Store
- Open the Yahoo Finance Scraper page on Apify.
- Fill in the input form. An example input is already filled in.
- Press Start, wait for the run to finish, and download the results as JSON, CSV or Excel from the Output tab.
The input that is pre-filled on the Actor page:
{ "tickers": [ "AAPL", "MSFT", "NVDA", "AMZN", "GOOGL", "META", "TSLA", "SPY", "QQQ", "^GSPC", "BTC-USD", "EURUSD=X" ], "maxItems": 20 } Ready-made examples
Saved inputs on Apify: run one as it is, or copy it and change the values.
- Yahoo Finance quotes for big tech, indexes, BTC and EUR/USD
- Yahoo Finance quotes for 12 dividend stocks
- Yahoo Finance futures quotes: oil, gold, gas, grains, indexes
Python (apify-client)
Get your API token in Apify Console under Settings, then Integrations. The Actor id is v0iddo/yahoo-finance-scraper.
from apify_client import ApifyClient client = ApifyClient("YOUR_APIFY_TOKEN") run_input = {'tickers': ['AAPL', 'MSFT', 'NVDA', 'AMZN', 'GOOGL', 'META', 'TSLA', 'SPY', 'QQQ', '^GSPC', 'BTC-USD', 'EURUSD=X'], 'maxItems': 20} run = client.actor("v0iddo/yahoo-finance-scraper").call(run_input=run_input) for item in client.dataset(run["defaultDatasetId"]).iterate_items(): print(item) cURL
curl -X POST "https://api.apify.com/v2/acts/v0iddo~yahoo-finance-scraper/run-sync-get-dataset-items" \ -H "Authorization: Bearer YOUR_APIFY_TOKEN" \ -H "Content-Type: application/json" \ -d '{"tickers": ["AAPL", "MSFT", "NVDA", "AMZN", "GOOGL", "META", "TSLA", "SPY", "QQQ", "^GSPC", "BTC-USD", "EURUSD=X"], "maxItems": 20}' Good to know
- One row per ticker, read from the public quote page finance.yahoo.com/quote/TICKER/. That page already carries the quote and the key statistics, so the run makes one request per ticker.
- changePercent and dividendYield are percentages: 0.43 means 0.43 percent. Dates are ISO 8601: exDividendDate and earningsDate as YYYY-MM-DD, regularMarketTime and scrapedAt in UTC.
Price
$0.50 per 1,000 results. You pay per result row. There is no separate charge per run. Higher Apify plans pay less per result, down to $0.35 per 1,000.
FAQ
What data does the Yahoo Finance Scraper return?
Each result is one row in an Apify dataset. Fields include symbol, name, quoteType, price, currency, changePercent, volume, marketCap, and more. The table above shows every field with an example value.
Can I use it without writing code?
Yes. Open the Actor page on Apify, fill in the input form (an example is already filled in), press Start, and download the results as JSON, CSV, Excel or HTML. You can also schedule runs there.
How much does it cost?
$0.50 per 1,000 results. You pay per result row. There is no separate charge per run. Higher Apify plans pay less per result, down to $0.35 per 1,000. A new Apify account gets $5 of platform credit every month.
Links
- Actor on the Apify Store: Yahoo Finance Scraper
- Full guide with every field and the JavaScript example: https://voidd0.github.io/yahoo-finance-scraper/
- Step by step: https://voiddo.com/export/yahoo-finance-scraper/
![AI Safety Alignment and Interpretability — Ch.01: AI Safety [KR]](https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fv6vb5y3xnjut9qcy4c9j.png)
![AI Safety Alignment and Interpretability — Ch.04: Fairness and Bias [KR]](https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Flqxr5ty6tpnochxxh136.png)
![AI Safety Alignment and Interpretability — Ch.08: Engineering and Deployment [KR]](https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5kl9qonydtmy3pbn593l.png)