yahoofinancer: Fetch Data from Yahoo Finance API

Obtain historical and near real time data related to stocks, index and currencies from the Yahoo Finance API. This package is community maintained and is not officially supported by 'Yahoo'. The accuracy of data is only as correct as provided on <https://finance.yahoo.com/>.

Version: 0.6.1
Depends: R (≥ 4.1)
Imports: curl, dplyr, httr2 (≥ 1.0.0), jsonlite, lubridate, magrittr, purrr, R6, tibble
Suggests: covr, ggplot2, httptest2, knitr, rmarkdown, scales, shiny, testthat (≥ 3.0.0), tidyr, zoo
Published: 2026-10-16
DOI: 10.32614/CRAN.package.yahoofinancer
Author: Aravind Hebbali [aut, cre]
Maintainer: Aravind Hebbali <hebbali.aravind at gmail.com>
BugReports: https://github.com/rsquaredacademy/yahoofinancer/issues
License: MIT + file LICENSE
URL: https://yahoofinancer.rsquaredacademy.com/, https://github.com/rsquaredacademy/yahoofinancer
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: yahoofinancer results

Documentation:

Reference manual: yahoofinancer.html , yahoofinancer.pdf
Vignettes: Related-Symbol Recommendations and Technical Insights (source, R code)
Comparing a Portfolio of Stocks (source, R code)
yahoofinancer Cookbook: 15 Practical Recipes (source)
Currency Conversion and Forex Data (source, R code)
Event Study: Earnings Announcements and Price Reactions (source, R code)
Your First Stock Analysis with yahoofinancer (source, R code)
Fundamental Analysis and Stock Screening (source, R code)
Building a Live Market Dashboard with Shiny (source, R code)

Downloads:

Package source: yahoofinancer_0.6.1.tar.gz
Windows binaries: r-devel: yahoofinancer_0.5.0.zip, r-release: yahoofinancer_0.5.0.zip, r-oldrel: yahoofinancer_0.6.1.zip
macOS binaries: r-release (arm64): yahoofinancer_0.6.1.tgz, r-oldrel (arm64): yahoofinancer_0.6.1.tgz, r-release (x86_64): yahoofinancer_0.6.1.tgz, r-oldrel (x86_64): yahoofinancer_0.6.1.tgz
Old sources: yahoofinancer archive

Reverse dependencies:

Reverse suggests: FinNet

Linking:

Please use the canonical form https://CRAN.R-project.org/package=yahoofinancer to link to this page.