Yahoo Finance Stock & Crypto Scraper avatar

Yahoo Finance Stock & Crypto Scraper

Pricing

from $7.00 / 1,000 results

Go to Apify Store
Yahoo Finance Stock & Crypto Scraper

Yahoo Finance Stock & Crypto Scraper

Scrapes historical OHLCV price data from Yahoo Finance for any list of stock, crypto, ETF, or forex symbols. Returns a flat row per timestamp with open, high, low, close, volume, and adjusted close.

Pricing

from $7.00 / 1,000 results

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

1

Bookmarked

42

Total users

10

Monthly active users

a day ago

Last modified

Share

ParseForge

Yahoo Finance Stock & Crypto Scraper

Scrape historical and real-time stock, crypto, and ETF data from Yahoo Finance for any ticker symbol. Get open, high, low, close, volume, and adjusted close prices across eight time intervals, from one minute to one month. Export to CSV, JSON, Excel, or XML.

Yahoo Finance is a primary source for free market data, but downloading historical prices for multiple symbols means repeated manual exports. This Actor reads the public chart API directly, so you can pull up to a million rows per run without a browser, API key, or rate-limit headaches. Feed it a list of tickers, pick an interval and date range, and it returns every data point in one flat, analysis-ready schema.

Who uses itWhat they scrape Yahoo Finance for
Quantitative analystsBacktesting trading strategies with clean, multi-year price histories.
Financial data engineersBuilding internal market data lakes that update on a schedule.
Crypto tradersPulling BTC-USD or ETH-USD candles to feed into technical analysis scripts.
Business journalistsGathering price movements for a basket of stocks to support a market story.

What it does

This Actor collects historical price data for stocks, cryptocurrencies, ETFs, and forex pairs from Yahoo Finance and returns each row as a timestamped OHLCV record.

  • ๐Ÿ“ˆ Eight time intervals: 1m, 5m, 15m, 30m, 1h, 1d, 1wk, and 1mo candles.
  • ๐Ÿ“… Ten date ranges: from a single day up to the full price history available on Yahoo Finance.
  • ๐Ÿ’ฑ Any asset class: stocks (AAPL), crypto pairs (BTC-USD), ETFs (SPY), and forex (EUR=X).
  • ๐Ÿ“Š Standard OHLCV output: every row includes open, high, low, close, volume, and adjusted close.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

What you can do with Yahoo Finance data

๐Ÿ“‰ Backtest a trading strategy.

A quant researcher pulls 10 years of daily data for the S&P 500 constituents to test a momentum factor before committing capital.

๐Ÿ“Š Populate a BI dashboard.

A data engineer schedules a weekly run for 50 tickers and pipes the flat CSV into a Tableau workbook that the investment committee reviews every Monday.

๐Ÿ”” Monitor crypto volatility.

A crypto trader collects 1-hour candles for the top 20 pairs every hour and runs a standard deviation alert on the latest close prices.

๐Ÿ“ฐ Corroborate a market story.

A journalist pulls the last six months of daily prices for a handful of bank stocks to chart the sector reaction to a regulatory announcement.

Why choose this scraper

What you get
No API key or loginReads the same public endpoint your browser hits, so there is no registration or OAuth flow.
Up to 1M rows per runCollect decades of daily data or a month of minute-level data across hundreds of symbols in one execution.
Fixed, flat schemaEvery symbol and interval returns the same columns, so your downstream scripts never break.
Runs on Apify schedulingSet a daily or hourly cron and keep your database current without a single line of infrastructure code.

How it compares

Two other Apify actors also pull data from Yahoo Finance. Here is how they compare on the concrete capabilities a buyer evaluates.

FeatureParseForgeYahoo Finance MCP ServerYahoo Finance Scraper - Stock Quotes, Prices & Data
Historical OHLCV price dataYes, across 8 intervals and 10 date rangesNot listedYes
Cryptocurrency pairsYes, any Yahoo Finance crypto pair like BTC-USDNot listedNot listed
Runs without a browserYes, calls the chart API directlyYesNot listed
MCP server for AI agentsNot listedYesNot listed
Analyst ratings and financialsNot listedNot listedYes

Configure the run

Drive the Actor with a list of ticker symbols, choose a time interval and how far back to look, and every matching candle is written to your dataset. The Input tab lists every parameter.

A first run with the defaults:

{
"maxItems": 10,
"symbols": [
"AAPL",
"GOOGL",
"BTC-USD"
],
"interval": "1d",
"range": "1mo"
}

A larger pull:

{
"maxItems": 200,
"symbols": [
"AAPL",
"GOOGL",
"BTC-USD"
],
"interval": "1d",
"range": "1mo"
}

Pricing

Pay-per-result: $0.0075 per result collected. You pay only for the results written to your dataset.

Results collectedApproximate cost
100 results$0.75
1,000 results$7.50
10,000 results$75.00

New Apify accounts start with $5 in free credit.

Free users

Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.

Run it

  1. Create a free Apify account with $5 in credit.
  2. Open the Yahoo Finance Stock & Crypto Scraper.
  3. Set your inputs and any filters, then click Start.
  4. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.

Use with AI agents (MCP)

Give an AI agent live access to Yahoo Finance through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

$claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/yahoo-finance-scraper"

Then prompt it in plain language to run the scraper and read back the results.

Troubleshooting

Why am I getting no results for a valid ticker?

Check that your date range and interval combination is available. For example, 1m data older than 7 days is not served by Yahoo Finance. Try a wider interval like 1d or a shorter range like 5d and run again.

The run finished but some symbols are missing from the output.

Look at the run log for error messages. Yahoo Finance may have temporarily throttled the request or the symbol may be delisted. The Actor logs per-symbol failures and continues, so re-run only the failed tickers in a separate batch.

My intraday data has gaps during market hours.

Yahoo Finance does not guarantee a candle for every minute when no trades occur. Gaps are normal for low-volume stocks or the first and last minutes of the session. The Actor returns exactly what the API provides.

I hit the maxItems limit but I need more data.

Increase the maxItems value up to 1,000,000. If you still need more, split your symbol list across multiple runs or use a wider interval to reduce the number of rows per symbol.

The run is taking a long time with many symbols.

The Actor makes one request per symbol, so runtime scales with your list size. For large universes, consider breaking the list into multiple tasks that run in parallel, or use a daily interval to keep row counts low.

FAQ

QuestionAnswer
What ticker format do I use for cryptocurrencies?Use the Yahoo Finance crypto pair format with a hyphen, like BTC-USD, ETH-USD, or SOL-USD. The Actor passes your symbols directly to the API, so any pair that works on the Yahoo Finance website will work here.
Does this Actor provide real-time or delayed data?It returns the same data you see on the Yahoo Finance chart, which is typically delayed by 15 minutes for US equities during market hours. Cryptocurrency data updates more frequently because those markets never close.
Can I get fundamental data like P/E ratio or market cap?No, this Actor focuses on historical price data (OHLCV) from the chart API. For fundamentals, analyst ratings, or financial statements, you would need a different scraper that targets the statistics or profile pages.
How many symbols can I scrape in one run?There is no hard limit on the number of symbols. The maxItems setting controls the total number of data points collected across all symbols, up to one million per run. If you request 10 symbols with a 10-year daily range, you will get roughly 25,000 rows and stay well within limits.
What happens if I enter an invalid ticker?The Yahoo Finance API returns an error for symbols it does not recognize. The Actor logs the failure for that symbol and continues processing the rest of your list, so one bad ticker does not stop the whole run.
Can I get intraday data for a full year?Yahoo Finance limits how far back intraday intervals go. The 1m interval typically returns only the last 7 days, while 1h can go back further. The Actor respects these API limits and returns whatever data is available for your chosen range and interval.
Does this work with international stocks?Yes, any ticker that resolves on Yahoo Finance works. Append the exchange suffix when needed, such as RY.TO for Royal Bank on the Toronto Stock Exchange or BMW.DE for BMW on Xetra.
How do I schedule this to update my database daily?After publishing the Actor as a task, use Apify Schedules to set a cron expression. Point the task at your symbol list and choose a 1d interval with a 1d range to collect only the latest daily bar on each run.
Is adjusted close the same as Yahoo Finance's 'Adj Close' column?Yes, the adjusted close field accounts for dividends, splits, and other corporate actions, matching the Adjusted Close column you see on the Yahoo Finance historical data table.
Can I export the data directly to Google Sheets?You can export your dataset to CSV from the Apify Console and import it into Google Sheets, or use the Apify API to push results to Google Sheets through an integration or a short script.

Browse the full ParseForge collection for more scrapers.

๐Ÿ†˜ Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.

โš ๏ธ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Yahoo Inc. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.