Questions tagged [yahoo-finance]

Yahoo! Finance is a service from Yahoo! that provides financial information. It is the top financial news and research website in the United States. PLEASE NOTE : THE RELATED API HAS BEEN DISCONTINUED BY YAHOO.

Yahoo! Finance offers information including stock quotes, stock exchange rates, corporate press releases and financial reports, and popular message boards for discussing a company's prospects and stock valuation. It also offers some hosted tools for personal finance management. Yahoo! Finance Worldwide offers similar portals localized to assorted large countries in South America, Europe, and Asia.

Its URL is https://finance.yahoo.com/

NOTE:

This service API has been discontinued by Yahoo. The API returns:

It has come to our attention that this service is being used in violation of the Yahoo Terms of Service. As such, the service is being discontinued. For all future markets and equities data research, please refer to finance.yahoo.com.

1319 questions
111
votes
9 answers

How to get a complete list of ticker symbols from Yahoo Finance?

I've googled endlessly for a method of getting a complete (and daily updated) list of all Yahoo ticker symbols available through http://finance.yahoo.com Yahoo has information for stocks, futures etc for a lot of exchanges worldwide, and I'd like a…
rassom
  • 2,896
  • 5
  • 34
  • 45
89
votes
25 answers

Yahoo Finance URL not working

I have been using the following URL to fetch historical data from yahoo finance for quite some time now but it stopped working as of yesterday. https://ichart.finance.yahoo.com/table.csv?s=SPY When browsing to this site it says: Will be right…
jrn
  • 2,640
  • 4
  • 29
  • 51
49
votes
6 answers

Download history stock prices automatically from yahoo finance in python

Is there a way to automatically download historical prices of stocks from yahoo finance or google finance (csv format)? Preferably in Python.
Bob
  • 10,741
  • 27
  • 89
  • 143
45
votes
4 answers

Getting data from Yahoo Finance

I read about the YQL, but I didn't understand how can I get some simple data (like company ticker, market cap, stock price, etc.), for ALL COMPANIES? And an additional question, how can I get all Yahoo Finance tables and theirs fields that can be…
Ilan
  • 989
  • 2
  • 12
  • 22
42
votes
5 answers

What is the query limit on Yahoo's Finance API?

What is the query limit for Yahoo's Finance API? Or where is the documentation that describes the limit? For all of Yahoo's API's I've only been able to find general documentation for all API's. If you know where the documentation is for Yahoo's…
Don P
  • 60,113
  • 114
  • 300
  • 432
42
votes
5 answers

"TypeError: string indices must be integers" when getting data of a stock from Yahoo Finance using Pandas Datareader

import pandas_datareader end = "2022-12-15" start = "2022-12-15" stock_list = ["TATAELXSI.NS"] data = pandas_datareader.get_data_yahoo(symbols=stock_list, start=start, end=end) print(data) When I run this code, I get error "TypeError: string…
Deepak
  • 720
  • 1
  • 3
  • 12
41
votes
8 answers

Yahoo! Finance CSV file will not return Dow Jones (^DJI)

I am trying to retrieve market data from Yahoo! finance and the script has worked fine for years, but recently, it stopped showing The Dow Jones data. Here is the…
Jake
  • 2,058
  • 2
  • 24
  • 33
41
votes
4 answers

Yahoo Finance API

Q. Do Yahoo provides any Finance API? If yes, the what's the link to that API.
Amit
  • 33,847
  • 91
  • 226
  • 299
39
votes
10 answers

Has Yahoo finance web service disappeared? API changed? Down temporarily?

For quite some time I've been using the following REST API to query Yahoo finance for current prices. It is documented in several Stack Overflow posts, e.g. Yahoo finance webservice and elsewhere in yahoo-finance. …
K Markey
  • 595
  • 1
  • 6
  • 10
38
votes
8 answers

Yahoo Finance All Currencies quote API Documentation

I've being using this feed for a long time, I believe Apple does it as well in one of the mac widgets. but what is really curious is that I simply can't find any documentation for it, I've tried google and…
zanona
  • 12,345
  • 25
  • 86
  • 141
34
votes
4 answers

Has Yahoo suddenly today terminated its finance download API?

For months I've been using a url like this, from perl: http://finance.yahoo.com/d/quotes.csv?s=$s&f=ynl1 #returns yield, name, price; Today, 11/1/17, it suddenly returns a 999 error. Is this a glitch, or has Yahoo terminated the service? I get the…
user1067305
  • 3,233
  • 7
  • 24
  • 29
33
votes
1 answer

Alternatives to the Yahoo Finance API?

Yahoo finance recently discontinued their API. I have been looking for alternatives. The ones I've found so far are Google Finance and Quandl. Google Finance was deprecated in 2011 but still appears to work somewhat. However, there is little to no…
Alex F
  • 2,086
  • 4
  • 29
  • 67
32
votes
4 answers

Yahoo finance webservice API

I am trying to get realtime stock data from BSE and NSE using yahoo finance web-services. I was able to get some data using following URL http://finance.yahoo.com/webservice/v1/symbols/COALINDIA.NS/quote?format=json But it gives me very limited…
Adi
  • 2,364
  • 1
  • 17
  • 23
29
votes
8 answers

converting daily stock data to weekly-based via pandas in Python

I've got a DataFrame storing daily-based data which is as below: Date Open High Low Close Volume 2010-01-04 38.660000 39.299999 38.509998 39.279999 1293400 2010-01-05 39.389999 39.520000 …
Judking
  • 6,111
  • 11
  • 55
  • 84
25
votes
3 answers

Yahoo Finance API changes (2017)

Requesting data from Yahoo Finance seems to have changed or is now blocked. The request below for commodity data no longer works as of May 2017. Does anyone know if there is a new way to make this request?…
homebase
  • 713
  • 1
  • 6
  • 20
1
2 3
87 88