Yahoo Finance has apparently killed is API. Zero warning. Lots of apps probably use this.<p>Before, you could get stock information by using http://download.finance.yahoo.com/d/quotes.csv<p>Now, you get the following message:
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.<p>What violation of TOS? People have been using this for years without any issues.<p>If you are going to cut this off, how about a warning and heads up?<p>Guess that's what we should expect from OATH / Verizon.
IEX has an official, documented, supported, relatively clean, and entirely free API for their market data:<p><a href="https://iextrading.com/developer/docs/" rel="nofollow">https://iextrading.com/developer/docs/</a><p>It's just US stocks, and quote data is just for their exchange (and you can get the deep book if you're interested in that stuff). But they have basic company info: earnings estimates, split info, dividend info, etc. as well.
They broke functionality on their own pages, yikes.<p>E.g. the export button on the desktop version of <a href="https://finance.yahoo.com/quotes/MMM,IBM/view/v1?ql=1" rel="nofollow">https://finance.yahoo.com/quotes/MMM,IBM/view/v1?ql=1</a>
There's a thread about this on Yahoo!s own forums:<p><a href="https://forums.yahoo.net/t5/Yahoo-Finance-help/http-download-finance-yahoo-com-d-quotes-csv-s-GOOG-amp-f/td-p/387096" rel="nofollow">https://forums.yahoo.net/t5/Yahoo-Finance-help/http-download...</a><p>I am incredibly amused by the person who refers to himself as a customer of this. If you want to be treated like a customer, find someone who will charge you money in exchange for the service provided.
Intrinio (<a href="https://intrinio.com/" rel="nofollow">https://intrinio.com/</a>) has an awesome API for Financial Data. While not completely free, they do have 6 months free program for developers.<p>They've also been featured on Indie Hackers: <a href="https://www.indiehackers.com/businesses/intrinio" rel="nofollow">https://www.indiehackers.com/businesses/intrinio</a>
I use Alpha Vantage, just for a personal (1 user, me) application. The service is free, you just need an API key. - <a href="https://www.alphavantage.co/" rel="nofollow">https://www.alphavantage.co/</a><p><a href="https://www.alphavantage.co/support/#api-key" rel="nofollow">https://www.alphavantage.co/support/#api-key</a>
"While we are proud to provide free API service with no daily/weekly/monthly call limits, we recommend that API call frequency does not extend far beyond ~100 calls per minute so that we can continue to deliver the optimal server-side performance. If you would like to target a much larger API call volume, please drop us a note..."
There API is still working via <a href="http://finance.yahoo.com/webservice/v1/symbols/allcurrencies/quote?format=json" rel="nofollow">http://finance.yahoo.com/webservice/v1/symbols/allcurrencies...</a>
At TagniFi we have a free account that provides access to end-of-day market data (TagniFi Markets) via our API at no cost. Data items include high, low, open, close and volume along with adjusted closing price (for splits and dividends). Documentation is at <a href="http://docs.tagnifi.com/article/63-search-tagnifi-markets" rel="nofollow">http://docs.tagnifi.com/article/63-search-tagnifi-markets</a>. Sign up at <a href="https://www.tagnifi.com/trial" rel="nofollow">https://www.tagnifi.com/trial</a><p>Note: we only limit our trial to the Dow 30 for our fundamental data (balance sheet, income statement, cash flow statement). Market data is not restricted to the Dow 30 for the trial which does not expire.
Quite happy about the suggestions for similar APIs here. They’re somehow hard to find in the forest of overpriced professional services.<p>I‘m using a different Yahoo endpoint with ticker.sh[1], which is still functioning at this time. Maybe there‘s soon the need to find yet another alternative after the Google endpoint stopped working recently.<p>[1] <a href="https://github.com/pstadler/ticker.sh" rel="nofollow">https://github.com/pstadler/ticker.sh</a>
Yeah. It's been on & off for a while but yesterday looks like it went for good.<p>I had to fix my script switching to:<p><a href="http://www.bloomberg.com/markets/api/quote-page/{CURRENCY_PAIR}%3ACUR?locale=en" rel="nofollow">http://www.bloomberg.com/markets/api/quote-page/{CURRENCY_PA...</a>
The API at <a href="https://query2.finance.yahoo.com" rel="nofollow">https://query2.finance.yahoo.com</a> seems to still work [0]<p>[0] <a href="https://query2.finance.yahoo.com/v8/finance/chart/VZ?period1=1388563200&period2=1509694074&interval=1d&events=history" rel="nofollow">https://query2.finance.yahoo.com/v8/finance/chart/VZ?period1...</a>
Intrinio (<a href="http://intrinio.com/" rel="nofollow">http://intrinio.com/</a>) currently offers the least expensive Real-Time and REST API for US stock prices.<p>You can access it via WebSocket, or Web API. No other firm currently offers this data via WebSocket which is especially helpful as you only need a few lines of code to implement. Additionally, Intrinio's customer service chat support is live practically 24/7.<p>The real-time feeds can be found here: <a href="https://intrinio.com/marketplace/data#?category=prices&sub_category=realtime" rel="nofollow">https://intrinio.com/marketplace/data#?category=prices&sub_c...</a><p>The REST API for prices would be best in this feed: US Public Company Financials (<a href="https://intrinio.com/data/company-financials" rel="nofollow">https://intrinio.com/data/company-financials</a>)<p>This blog will tell you everything you need to know to get started using the real-time API: <a href="http://blog.intrinio.com/stock-prices-from-intrinio/" rel="nofollow">http://blog.intrinio.com/stock-prices-from-intrinio/</a>
I interviewed the people behind Intrinio[1] for Indie Hackers. I haven't used their product myself, so I can't tell you how it stacks up against the Yahoo and Google APIs that were killed this month. But I do know that they provide financial data and APIs to developers, and their primary goal is making it super cheap and pleasant to use.<p>[1] <a href="https://intrinio.com" rel="nofollow">https://intrinio.com</a>
I wrote a small cli/library to pull tickers and historical quotes from various sources directly to csv or json. It still works with the new Yahoo format, but I wouldn't count on it sticking around. Also pulls bitcoin data from gdax.<p><a href="https://github.com/markcheno/go-quote" rel="nofollow">https://github.com/markcheno/go-quote</a>
The undocumented Google finance API was also turned off this month after many years.<p>There's a severe dearth of good, free, market data API's.
I had been downloading about data for about 30 stock symbols once or twice a day for years.<p>This was a handy service that gave Yahoo credibility to me but evidently there were those who completely abused the handy service by downloading hundreds if not thousands of stocks minute by minute. It's those who wrecked it for their own need for greed. They should have been contracting with a service to provide them with data.<p>For the rest of us it is now gone. Yahoo could have easily given each person perhaps a limit of 10 or 100 downloads per day by counting the IP addresses as other web sites do.<p>So don't blame Yahoo or Verizon. Blame it on those that have to have the world for free and will abuse whatever free service you provide. They are the ones who are all about themself who wreck the world for everyone else.
I did notice that in DDG, "!finance TICKER" now goes to other sites, where recently it used to go to yahoo finance. I wonder if the change was due to this, and if DDG had any warning?
I'm writing an article about this... Questions to anybody that knows:<p>1. it looks like this was just a CSV download. Was any form of authentication (even just a Yahoo login) required to download the CSV? I'm just trying to figure out how, if Yahoo actually thought of issuing a warning, it would have known who to send it too or how to get news of the shutdown circulated to the right people.<p>2. If it was a CSV download, how up to date was the data?<p>3. Does anybody have a sample URI for a filtered version of this CSV request. For example, just two symbols?<p>Thanks<p>David Berlind
ProgrammableWeb
Was there ever a TOS for this API? I was under the impression that this was just an internal API used by Yahoo Finance itself, and that they've never marketed it in any way.
Not just finance.yahoo.com, but also access through query.yahooapis.com.<p><a href="https://query.yahooapis.com/v1/public/yql?callback=&diagnostics=true&env=store://datatables.org/alltableswithkeys&format=json&q=SELECT%20*%20FROM%20yahoo.finance.quotes%20WHERE%20symbol%20IN%20(%27AAPL%27)" rel="nofollow">https://query.yahooapis.com/v1/public/yql?callback=&diagnost...</a>
A non profit that I support has been relying on Yahoo for exchange rate information for nearly 10 years. I knew when I inherited the app that this was imminent, so it wasn’t too surprising.<p>There are plenty of alternative paid APIs out there that made switching easy. Hopefully others who had legacy developers integrate with the financial APIs are able to switch easily too.
Good time to remind everyone that Google Finance said they would delete everybody's portfolio's in November and if you want the data you should download it.<p>You don't see this unless you go to the Portfolios page: (not my screenshot) <a href="https://imgur.com/0o4Ehxe" rel="nofollow">https://imgur.com/0o4Ehxe</a>
One more existing alternative: <a href="https://developers.exante.eu" rel="nofollow">https://developers.exante.eu</a><p>It's broker company itself and they have API with EOD and realtime data on stocks and derivatives for many exchanges including US, Europe and Asia.<p>You can even trade with that API if you want (guess it won't for free though).
Google lets you import stock price info into Google sheets using the =GOOGLEFINANCE() function.<p>But for more than a year, Google's mutual fund prices have been showing day old information many hours after the market closed.<p>So i had been using the Yahoo API to populate an investment portfolio spreadsheet.<p>So now both Yahoo and Google don't work.
You get what you pay for.
There are a lot of good free alternatives on the comments but I'm curious how reliable they are.<p>Obviously, Xignite is the leader in paid service but it's way too expensive for startups (approximately 20k for the cheapest option).<p>IEX and AlphaVantage have decent customer support so I trust them, but I'd rather have a cheaper, paid service.
Just circling back here (hoping someone can help me with my coverage). Given how the endpoint required no authentication (no uid/pwd, key, or token), and therefore, Yahoo had no idea what developers were using it, how did you (speaking to developers here) expect to be notified of the API's retirement?
Earlier this year (~May) they shut down their API endpoint that rendered handy little stock chart images with a surprising amount of useful features. Any alternatives out there, other than tying together a charting lib and data API?
the robinhood API is unofficial (for now) but it's an easy way to pick up stock data for free.<p><a href="https://github.com/sanko/Robinhood" rel="nofollow">https://github.com/sanko/Robinhood</a>
For us non-financy-types, does anyone mind letting us know what this file looked like so we can, you know, potentially duplicate it and provide it to those who find it a necessity?
The Apple STOCKS app on my iPhone is showing updates as I watch and says Yahoo! at the bottom. So, it seems Yahoo is still providing fairly real-time stock quotes via some means.