Yahoo Finance Scraper
Pricing
from $0.80 / 1,000 ticker info & real-time prices
Yahoo Finance Scraper
Scrape Yahoo Finance stock data for any tickers - full company info, real-time prices, news & historical OHLCV data. A no-API-key Yahoo Finance API alternative that exports clean JSON, CSV & Excel.
Pricing
from $0.80 / 1,000 ticker info & real-time prices
Rating
0.0
(0)
Developer
CodeNodeTools
Maintained by CommunityActor stats
0
Bookmarked
0
Total users
0
Monthly active users
2 days ago
Last modified
Categories
Share
Extract full stock info, real-time prices, financial news, and historical market data from Yahoo Finance for any list of ticker symbols. A fast, reliable Yahoo Finance API alternative built on the open-source yfinance library — no API key, no rate-limit headaches, just clean structured JSON.
What does Yahoo Finance Scraper do?
Yahoo Finance Scraper collects company fundamentals, the latest market price, news, and day-by-day price history for the stocks, ETFs, and indices you choose. You give it a list of ticker symbols (for example ["AAPL", "GOOG"]) and an optional date range, and it returns one rich, structured record per ticker. It does not require a Yahoo Finance API key and does not extract private user data.
Whether you need a one-off snapshot of Apple stock data or a scheduled feed of real-time stock prices across a whole watchlist, this Yahoo Finance data scraper turns the website into a clean dataset you can download or pipe into your own systems.
Why scrape Yahoo Finance?
Yahoo Finance is one of the richest free sources of stock market data on the web, but it has no official public API and the page markup changes often. This Actor handles that for you and adds the power of the Apify platform on top.
- 📈 Full coverage — fundamentals, real-time price, news, and historical OHLCV data in a single run.
- ⚡ Real-time prices — pull the latest available market price for each ticker.
- 🗞️ Financial news — grab the most recent Yahoo Finance news articles per symbol.
- 📅 Historical stock data — request any custom date range in
YYYY-MM-DDformat. - 🧩 Multiple tickers at once — scan an entire portfolio or watchlist in one go.
- 🛡️ Resilient — a bad symbol produces an error record instead of crashing the whole run.
Built on the Apify platform
This is more than a script — it's a Yahoo Finance scraper supercharged by the Apify platform:
- Scheduling — run it every morning before the market opens to refresh your data automatically.
- API access — trigger runs and pull results programmatically via the Apify API.
- Integrations — push data straight to Google Sheets, Slack, Zapier, Make, webhooks, and more.
- Storage & export — keep every run's dataset, downloadable in multiple formats.
- Monitoring — get alerts and logs for every scheduled run.
Who uses Yahoo Finance Scraper?
- 💼 Investors & analysts building watchlists and tracking real-time stock prices.
- 🤖 Quant & algo traders collecting historical stock data to backtest strategies.
- 📊 Data scientists training models on financial fundamentals and price history.
- 📰 Fintech & media teams pulling the latest stock news into dashboards or newsletters.
- 🏦 Finance apps that need a dependable stock data API alternative without per-call fees.
What data can Yahoo Finance Scraper extract?
Each ticker becomes one dataset record. The most useful fields include:
| Field | Type | Description |
|---|---|---|
ticker | string | The ticker symbol (e.g. AAPL). |
shortName | string | Company or fund name. |
currentPrice | number | Latest available real-time price. |
currency | string | Price currency (e.g. USD). |
exchange | string | Listing exchange code. |
marketCap | number | Market capitalization. |
sector | string | Business sector. |
industry | string | Industry classification. |
website | string | Company website URL. |
info | object | The full raw Yahoo Finance info object (180+ fields). |
news | array | Latest news articles for the ticker. |
history | array | Daily OHLCV rows (open, high, low, close, volume). |
scrapedAt | date | UTC timestamp of the scrape. |
How to scrape Yahoo Finance stock data
- Click Try for free to open the Yahoo Finance Scraper.
- Enter one or more ticker symbols in the Tickers field (e.g.
AAPL,GOOG,MSFT). - (Optional) Set a Start Date and End Date in
YYYY-MM-DDformat to control the historical range. - Click Start and wait for the run to finish.
- Download your data as JSON, CSV, Excel, or HTML, or grab it through the API.
How much does it cost to scrape Yahoo Finance?
Yahoo Finance Scraper uses the pay-per-event pricing model — you pay only for data that is successfully delivered, and failed tickers are never billed. This keeps costs predictable and scales naturally with how much data you actually pull.
| Event | When it's charged | Price |
|---|---|---|
apify-actor-start | Once per run (Apify's built-in start event; first 5s of compute free) | $0.00005 |
ticker-info | Once per ticker (full info + real-time price) | $0.0009 |
news-item | Per news article returned | $0.0003 |
history-point | Per historical day returned | $0.0001 |
Input
Yahoo Finance Scraper has a simple input — see the Input tab for the full configuration. The key fields are:
- Tickers (
tickers, required) — an array of ticker symbols, e.g.["AAPL", "GOOG"]. - Start Date (
start_date, optional) — start of the historical range inYYYY-MM-DD. If omitted, the last month is returned. - End Date (
end_date, optional) — end of the historical range inYYYY-MM-DD. Defaults to today when a start date is given.
Example input
{"tickers": ["AAPL", "GOOG"],"start_date": "2024-01-01","end_date": "2024-01-31"}
Output
You can download the dataset extracted by Yahoo Finance Scraper in various formats such as JSON, CSV, Excel, or HTML, or fetch it via the API. Here's a simplified output example:
{"ticker": "AAPL","shortName": "Apple Inc.","currentPrice": 293.08,"currency": "USD","exchange": "NMS","marketCap": 4304570155008,"sector": "Technology","industry": "Consumer Electronics","website": "https://www.apple.com","news": [{"title": "Apple unveils new product line","link": "https://finance.yahoo.com/news/..."}],"history": [{"date": "2024-01-02T00:00:00-05:00","open": 185.06,"high": 186.33,"low": 181.83,"close": 183.56,"volume": 82488700}],"scrapedAt": "2026-06-25T12:00:00+00:00"}
Tips for better results
- Validate your tickers — use the exact Yahoo Finance symbol (e.g.
BRK-B, notBRK.B). Unknown symbols return an error record so the rest of the run still succeeds. - Keep date ranges focused — narrower ranges return faster and cost less, since you're charged per historical day.
- Schedule it — set up a daily schedule to build your own historical price database over time.
- Use the API — automate end-to-end pipelines by triggering runs and reading results programmatically.
FAQ
Is it legal to scrape Yahoo Finance?
Our Actors are ethical and do not extract any private user data, such as email addresses, gender, or location. They only extract what the user has chosen to share publicly. We therefore believe that our Actors, when used for ethical purposes by Apify users, are safe. However, you should be aware that your results could contain personal data. Personal data is protected by the GDPR in the European Union and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers.
Yahoo Finance data is intended for personal, non-commercial use. Review Yahoo's terms of service before redistributing data.
Do I need a Yahoo Finance API key?
No. Yahoo Finance Scraper works without any API key or login. It's a drop-in Yahoo Finance API alternative for getting stock data as structured JSON.
Why is a field missing or empty?
yfinance relies on an unofficial Yahoo Finance endpoint, so available fields can vary by ticker and change over time. Missing values are returned as null rather than causing the run to fail.
Can I get data for non-US stocks, ETFs, or indices?
Yes. Any symbol that exists on Yahoo Finance works, including international exchanges (e.g. SAP.DE), ETFs (e.g. SPY), and indices (e.g. ^GSPC).
Support
Found a bug or have a feature request? Open an issue on the Issues tab of this Actor — feedback is always welcome, and the scraper is actively maintained.