Go to example tasks

Download daily historical stock prices for backtesting

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.

Try for free
Yahoo Finance Scraper: Quotes, History, Options, News
Yahoo Finance Scraper: Quotes, History, Options, Newszhtech/yahoo-finance-scraper
Symbol
Date
Open
High
+8 fields
Text
Number
Boolean
List
Object

Input

What to scrape(required):history
Ticker symbols:AAPL+2
Bar interval:1d
Range:3mo

Output fields

Symbol
Date
Open
High
Low
Close
Adj close
Volume
Dividend
Split
Currency
Interval

How it works

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.

Image

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

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

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.