Download daily historical stock prices for backtesting
ZH Tech
Downloads daily OHLCV bars from Yahoo Finance for a list of tickers: date, open, high, low, close, adjusted close and volume, plus dividends and splits. One row per ticker per day, ready for backtesting, charts and spreadsheets. Works for stocks, ETFs, indices, crypto, currencies and futures.
Input
Output fields
Sign up on Apify or log in
The Yahoo Finance Scraper: Quotes, History, Options, News Actor is ready to run with the inputs already set for "Download daily historical stock prices for backtesting". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Download daily historical stock prices for backtesting" task
The Yahoo Finance Scraper: Quotes, History, Options, News Actor will start running based on the input automatically. You can also change all the input fields, like what to scrape, ticker symbols, and more, to match your specific use case.
Receive the "Download daily historical stock prices for backtesting" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as symbol, date, open, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Download daily historical stock prices for backtesting" task via API.

Integrate "Download daily historical stock prices for backtesting" into your workflow
Connect "Download daily historical stock prices for backtesting" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay
The daily historical stock prices task returns one row per ticker per trading day with date, open, high, low, close, adjusted close, volume, currency and any dividend or split on that day.
Set Range in the daily historical stock prices task to 1y, 5y or max, or set a start date. Switch Bar interval to weekly or monthly, and add any Yahoo symbols such as SPY, BTC-USD or ^GSPC.
Save the daily historical stock prices task to your Apify account, then add it to an Apify Schedule (for example daily) or start it from the Apify API, webhooks, Zapier, Make, n8n or the Apify MCP server for AI agents.
The daily historical stock prices task is pay per event: a small start fee per run plus a fee per price bar saved. Error rows are free. Prices are on the Pricing tab.