Yahoo Finance Scraper
Pricing
Pay per event
Yahoo Finance Scraper
Get stock quotes, price history, and financial data from Yahoo Finance. Search by ticker symbol or company name.
Pricing
Pay per event
Rating
0.0
(0)
Developer

Stas Persiianenko
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Share
Extract real-time stock quotes, historical price data, cryptocurrency prices, and market index data from Yahoo Finance. Search by ticker symbol or company name.
What does Yahoo Finance Scraper do?
This actor extracts financial market data from Yahoo Finance, including:
- Stock quotes — current price, daily change, 52-week range, volume
- Historical OHLCV data — open, high, low, close, adjusted close, and volume for any date range
- Cryptocurrency prices — BTC-USD, ETH-USD, and all Yahoo-supported crypto pairs
- Market indices — S&P 500 (^GSPC), Dow Jones (^DJI), NASDAQ (^IXIC), and more
- Company name search — enter "Apple" or "Tesla" and the actor resolves the correct ticker symbol
Why use Yahoo Finance Scraper?
- No API key required — works out of the box with no registration or authentication
- Smart symbol resolution — enter ticker symbols (AAPL) or company names (Apple) and the actor finds the right stock
- Configurable date ranges — from 1 day to maximum available history
- Flexible intervals — 1-minute to monthly data points
- Multiple asset classes — stocks, ETFs, crypto, forex, indices, and commodities
- Structured JSON output — clean, typed data ready for analysis or integration
Use cases
- Portfolio tracking — monitor your holdings with real-time price data
- Price monitoring — track stock prices and get historical trends for investment decisions
- Financial analysis — download OHLCV data for backtesting trading strategies
- Market research — compare stock performance across sectors and time periods
- Academic research — gather financial data for economic studies and papers
- Crypto monitoring — track Bitcoin, Ethereum, and other cryptocurrency prices
- Index tracking — monitor major market indices like S&P 500 and NASDAQ
- Competitive intelligence — compare stock performance of competing companies
Input parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
tickers | array | required | List of ticker symbols (e.g., AAPL, MSFT) or company names (e.g., Apple, Tesla) |
dateRange | string | 1mo | Historical price data range: 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, ytd, max |
interval | string | 1d | Frequency of data points: 1m, 5m, 15m, 1h, 1d, 1wk, 1mo |
includeHistory | boolean | true | Include historical OHLCV data in the output |
Supported ticker formats
- US stocks:
AAPL,MSFT,GOOGL,AMZN,TSLA - International stocks:
7203.T(Toyota),BABA(Alibaba) - Crypto:
BTC-USD,ETH-USD,SOL-USD - Indices:
^GSPC(S&P 500),^DJI(Dow Jones),^IXIC(NASDAQ) - ETFs:
SPY,QQQ,VOO - Forex:
EURUSD=X,GBPUSD=X - Company names:
Apple,Microsoft,Tesla(auto-resolved to ticker)
Output example
Each item in the output dataset contains:
{"symbol": "AAPL","name": "Apple Inc.","price": 264.72,"previousClose": 269.99,"change": -5.27,"changePercent": "-1.95%","dayHigh": 266.53,"dayLow": 260.2,"fiftyTwoWeekHigh": 288.62,"fiftyTwoWeekLow": 169.21,"volume": 41576035,"averageVolume": null,"marketCap": null,"currency": "USD","exchange": "NasdaqGS","exchangeTimezone": "America/New_York","quoteType": "EQUITY","priceHistory": [{"date": "2026-02-03","open": 235.46,"high": 238.38,"low": 233.14,"close": 237.37,"adjClose": 237.37,"volume": 47628900}],"dataRange": "1mo","dataInterval": "1d","scrapedAt": "2026-03-03T07:57:26.123Z"}
Pricing
This actor uses a pay-per-event pricing model:
| Event | Price |
|---|---|
| Run started | $0.001 |
| Per ticker extracted | $0.003 |
Cost examples
| Scenario | Tickers | Cost |
|---|---|---|
| Single stock check | 1 | $0.004 |
| FAANG portfolio | 5 | $0.016 |
| S&P 500 top 20 | 20 | $0.061 |
| Large portfolio | 50 | $0.151 |
Platform costs (compute, storage) are additional but minimal — typically under $0.005 per run.
How to use Yahoo Finance Scraper
Via Apify Console
- Go to the Yahoo Finance Scraper actor page on Apify Store
- Enter your ticker symbols or company names
- Select your desired date range and interval
- Click Start and wait for the run to finish
- Download results as JSON, CSV, or Excel from the Dataset tab
Via API (Node.js)
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });const run = await client.actor('YOUR_USERNAME/yahoo-finance-scraper').call({tickers: ['AAPL', 'MSFT', 'GOOGL', 'BTC-USD', '^GSPC'],dateRange: '1mo',interval: '1d',includeHistory: true,});const { items } = await client.dataset(run.defaultDatasetId).listItems();items.forEach((stock) => {console.log(`${stock.symbol}: $${stock.price} (${stock.changePercent})`);});
Via API (Python)
from apify_client import ApifyClientclient = ApifyClient('YOUR_APIFY_TOKEN')run = client.actor('YOUR_USERNAME/yahoo-finance-scraper').call(run_input={'tickers': ['AAPL', 'MSFT', 'GOOGL', 'BTC-USD', '^GSPC'],'dateRange': '1mo','interval': '1d','includeHistory': True,})for stock in client.dataset(run['defaultDatasetId']).iterate_items():print(f"{stock['symbol']}: ${stock['price']} ({stock['changePercent']})")
Integrations
Connect Yahoo Finance Scraper with your existing tools:
- Google Sheets — automatically update spreadsheets with latest stock prices
- Slack / Discord — send price alerts when stocks hit target levels
- Zapier / Make — trigger workflows based on stock data changes
- Webhooks — push data to any URL endpoint when a run completes
- PostgreSQL / MongoDB — store historical data for long-term analysis
Tips and best practices
- Start with daily intervals —
1dgives clean, reliable data. Use intraday intervals (1m,5m) only when needed, as they have limited history (7-60 days). - Use ticker symbols when possible — direct symbols like
AAPLare faster than company name lookups likeApple. - Batch your requests — it's more efficient to request 20 tickers in one run than to make 20 separate runs.
- Historical data limits — intraday data (1m, 5m, 15m) is only available for the last 7-60 days depending on the interval.
- Weekend/holiday data — stock markets are closed on weekends and holidays, so there will be no data points for those days. Crypto markets trade 24/7.
- Set
includeHistory: falsefor faster runs if you only need current prices.
Limitations
- Data is sourced from Yahoo Finance and subject to their availability and accuracy
- Intraday data (1m, 5m, 15m intervals) has limited historical availability
- Some tickers may not be available in all markets
- Rate limits may apply for very large batches of tickers