TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Tell HN: Yahoo Finance has apparently killed its API

235 pointsby php2011over 7 years ago
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:&#x2F;&#x2F;download.finance.yahoo.com&#x2F;d&#x2F;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&#x27;s what we should expect from OATH &#x2F; Verizon.

39 comments

payne92over 7 years ago
IEX has an official, documented, supported, relatively clean, and entirely free API for their market data:<p><a href="https:&#x2F;&#x2F;iextrading.com&#x2F;developer&#x2F;docs&#x2F;" rel="nofollow">https:&#x2F;&#x2F;iextrading.com&#x2F;developer&#x2F;docs&#x2F;</a><p>It&#x27;s just US stocks, and quote data is just for their exchange (and you can get the deep book if you&#x27;re interested in that stuff). But they have basic company info: earnings estimates, split info, dividend info, etc. as well.
评论 #15620950 未加载
评论 #15618980 未加载
评论 #15618789 未加载
mefover 7 years ago
They broke functionality on their own pages, yikes.<p>E.g. the export button on the desktop version of <a href="https:&#x2F;&#x2F;finance.yahoo.com&#x2F;quotes&#x2F;MMM,IBM&#x2F;view&#x2F;v1?ql=1" rel="nofollow">https:&#x2F;&#x2F;finance.yahoo.com&#x2F;quotes&#x2F;MMM,IBM&#x2F;view&#x2F;v1?ql=1</a>
评论 #15618473 未加载
评论 #15620013 未加载
评论 #15618201 未加载
cwyersover 7 years ago
There&#x27;s a thread about this on Yahoo!s own forums:<p><a href="https:&#x2F;&#x2F;forums.yahoo.net&#x2F;t5&#x2F;Yahoo-Finance-help&#x2F;http-download-finance-yahoo-com-d-quotes-csv-s-GOOG-amp-f&#x2F;td-p&#x2F;387096" rel="nofollow">https:&#x2F;&#x2F;forums.yahoo.net&#x2F;t5&#x2F;Yahoo-Finance-help&#x2F;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.
评论 #15620375 未加载
评论 #15620213 未加载
评论 #15618143 未加载
mstanownover 7 years ago
Intrinio (<a href="https:&#x2F;&#x2F;intrinio.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;intrinio.com&#x2F;</a>) has an awesome API for Financial Data. While not completely free, they do have 6 months free program for developers.<p>They&#x27;ve also been featured on Indie Hackers: <a href="https:&#x2F;&#x2F;www.indiehackers.com&#x2F;businesses&#x2F;intrinio" rel="nofollow">https:&#x2F;&#x2F;www.indiehackers.com&#x2F;businesses&#x2F;intrinio</a>
rocannonover 7 years ago
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:&#x2F;&#x2F;www.alphavantage.co&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.alphavantage.co&#x2F;</a><p><a href="https:&#x2F;&#x2F;www.alphavantage.co&#x2F;support&#x2F;#api-key" rel="nofollow">https:&#x2F;&#x2F;www.alphavantage.co&#x2F;support&#x2F;#api-key</a> &quot;While we are proud to provide free API service with no daily&#x2F;weekly&#x2F;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...&quot;
评论 #15620910 未加载
评论 #15633381 未加载
jklein11over 7 years ago
If you built a business around data that you didn&#x27;t explicitly have the rights to you built that house of cards yourself.
评论 #15617516 未加载
评论 #15617879 未加载
评论 #15617792 未加载
labithiotisover 7 years ago
There API is still working via <a href="http:&#x2F;&#x2F;finance.yahoo.com&#x2F;webservice&#x2F;v1&#x2F;symbols&#x2F;allcurrencies&#x2F;quote?format=json" rel="nofollow">http:&#x2F;&#x2F;finance.yahoo.com&#x2F;webservice&#x2F;v1&#x2F;symbols&#x2F;allcurrencies...</a>
评论 #15619726 未加载
评论 #15620983 未加载
csandstedtover 7 years ago
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:&#x2F;&#x2F;docs.tagnifi.com&#x2F;article&#x2F;63-search-tagnifi-markets" rel="nofollow">http:&#x2F;&#x2F;docs.tagnifi.com&#x2F;article&#x2F;63-search-tagnifi-markets</a>. Sign up at <a href="https:&#x2F;&#x2F;www.tagnifi.com&#x2F;trial" rel="nofollow">https:&#x2F;&#x2F;www.tagnifi.com&#x2F;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.
pstadlerover 7 years ago
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:&#x2F;&#x2F;github.com&#x2F;pstadler&#x2F;ticker.sh" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;pstadler&#x2F;ticker.sh</a>
vizzahover 7 years ago
Yeah. It&#x27;s been on &amp; 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:&#x2F;&#x2F;www.bloomberg.com&#x2F;markets&#x2F;api&#x2F;quote-page&#x2F;{CURRENCY_PAIR}%3ACUR?locale=en" rel="nofollow">http:&#x2F;&#x2F;www.bloomberg.com&#x2F;markets&#x2F;api&#x2F;quote-page&#x2F;{CURRENCY_PA...</a>
评论 #15619008 未加载
greenburgerover 7 years ago
The API at <a href="https:&#x2F;&#x2F;query2.finance.yahoo.com" rel="nofollow">https:&#x2F;&#x2F;query2.finance.yahoo.com</a> seems to still work [0]<p>[0] <a href="https:&#x2F;&#x2F;query2.finance.yahoo.com&#x2F;v8&#x2F;finance&#x2F;chart&#x2F;VZ?period1=1388563200&amp;period2=1509694074&amp;interval=1d&amp;events=history" rel="nofollow">https:&#x2F;&#x2F;query2.finance.yahoo.com&#x2F;v8&#x2F;finance&#x2F;chart&#x2F;VZ?period1...</a>
评论 #15617485 未加载
neximo64over 7 years ago
&gt; What violation of TOS?<p>It is against Yahoo&#x27;s TOS to scrape the data there. So yes its darn entitled to even expect a heads up.
评论 #15617248 未加载
评论 #15617440 未加载
qrpikeover 7 years ago
<a href="https:&#x2F;&#x2F;polygon.io" rel="nofollow">https:&#x2F;&#x2F;polygon.io</a> - real-time stock data APIs
评论 #15619050 未加载
jsemrauover 7 years ago
Roughly 10 years ago I build an Excel stock screener using this API. The data quality was always terrible.
评论 #15617291 未加载
clothridgeover 7 years ago
Intrinio (<a href="http:&#x2F;&#x2F;intrinio.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;intrinio.com&#x2F;</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&#x27;s customer service chat support is live practically 24&#x2F;7.<p>The real-time feeds can be found here: <a href="https:&#x2F;&#x2F;intrinio.com&#x2F;marketplace&#x2F;data#?category=prices&amp;sub_category=realtime" rel="nofollow">https:&#x2F;&#x2F;intrinio.com&#x2F;marketplace&#x2F;data#?category=prices&amp;sub_c...</a><p>The REST API for prices would be best in this feed: US Public Company Financials (<a href="https:&#x2F;&#x2F;intrinio.com&#x2F;data&#x2F;company-financials" rel="nofollow">https:&#x2F;&#x2F;intrinio.com&#x2F;data&#x2F;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:&#x2F;&#x2F;blog.intrinio.com&#x2F;stock-prices-from-intrinio&#x2F;" rel="nofollow">http:&#x2F;&#x2F;blog.intrinio.com&#x2F;stock-prices-from-intrinio&#x2F;</a>
评论 #15620569 未加载
csallenover 7 years ago
I interviewed the people behind Intrinio[1] for Indie Hackers. I haven&#x27;t used their product myself, so I can&#x27;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:&#x2F;&#x2F;intrinio.com" rel="nofollow">https:&#x2F;&#x2F;intrinio.com</a>
markchenoover 7 years ago
I wrote a small cli&#x2F;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&#x27;t count on it sticking around. Also pulls bitcoin data from gdax.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;markcheno&#x2F;go-quote" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;markcheno&#x2F;go-quote</a>
peterbradenover 7 years ago
The undocumented Google finance API was also turned off this month after many years.<p>There&#x27;s a severe dearth of good, free, market data API&#x27;s.
评论 #15617286 未加载
评论 #15617218 未加载
user48abcover 7 years ago
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&#x27;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&#x27;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.
binarymaxover 7 years ago
I did notice that in DDG, &quot;!finance TICKER&quot; 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?
dberlindover 7 years ago
I&#x27;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&#x27;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
评论 #15620990 未加载
runeksover 7 years ago
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&#x27;ve never marketed it in any way.
tyrauberover 7 years ago
Not just finance.yahoo.com, but also access through query.yahooapis.com.<p><a href="https:&#x2F;&#x2F;query.yahooapis.com&#x2F;v1&#x2F;public&#x2F;yql?callback=&amp;diagnostics=true&amp;env=store:&#x2F;&#x2F;datatables.org&#x2F;alltableswithkeys&amp;format=json&amp;q=SELECT%20*%20FROM%20yahoo.finance.quotes%20WHERE%20symbol%20IN%20(%27AAPL%27)" rel="nofollow">https:&#x2F;&#x2F;query.yahooapis.com&#x2F;v1&#x2F;public&#x2F;yql?callback=&amp;diagnost...</a>
olalondeover 7 years ago
Zero warnings? Didn&#x27;t Yahoo die like a few years ago?
评论 #15617922 未加载
pselbertover 7 years ago
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.
simonsarrisover 7 years ago
Good time to remind everyone that Google Finance said they would delete everybody&#x27;s portfolio&#x27;s in November and if you want the data you should download it.<p>You don&#x27;t see this unless you go to the Portfolios page: (not my screenshot) <a href="https:&#x2F;&#x2F;imgur.com&#x2F;0o4Ehxe" rel="nofollow">https:&#x2F;&#x2F;imgur.com&#x2F;0o4Ehxe</a>
vdenover 7 years ago
One more existing alternative: <a href="https:&#x2F;&#x2F;developers.exante.eu" rel="nofollow">https:&#x2F;&#x2F;developers.exante.eu</a><p>It&#x27;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&#x27;t for free though).
php2011over 7 years ago
Google lets you import stock price info into Google sheets using the =GOOGLEFINANCE() function.<p>But for more than a year, Google&#x27;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&#x27;t work. You get what you pay for.
foobawover 7 years ago
There are a lot of good free alternatives on the comments but I&#x27;m curious how reliable they are.<p>Obviously, Xignite is the leader in paid service but it&#x27;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&#x27;d rather have a cheaper, paid service.
评论 #15620521 未加载
pishpashover 7 years ago
That API has been flakey since months ago. You can still get quotes from Yahoo Finance in other ways just fine though.
dberlindover 7 years ago
Just circling back here (hoping someone can help me with my coverage). Given how the endpoint required no authentication (no uid&#x2F;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&#x27;s retirement?
MikeTVover 7 years ago
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?
tribbyover 7 years ago
the robinhood API is unofficial (for now) but it&#x27;s an easy way to pick up stock data for free.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;sanko&#x2F;Robinhood" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sanko&#x2F;Robinhood</a>
joshmnover 7 years ago
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?
评论 #15617228 未加载
c517402over 7 years ago
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.
timkpaineover 7 years ago
<a href="https:&#x2F;&#x2F;github.com&#x2F;timkpaine&#x2F;pyEX-zipline" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;timkpaine&#x2F;pyEX-zipline</a>
germs12over 7 years ago
its<i>
macroexchangeover 7 years ago
edit - hackernews apparently doesn&#x27;t value new ideas.
评论 #15617451 未加载
评论 #15619705 未加载
COilover 7 years ago
After 22 years they still can&#x27;t handle a mailbox correctly, so that&#x27;s not very astonishing.