The interesting point on using YQL is that you can personalize your response format (json or xml) and properties. You can check on Github and YQL data table. Under the hood, the YQL Open Data Table is really just using the yahoo CSV API to actually get the stock prices. Yahoo webservice API: get json from /webservice/v1/symbols see example.Yahoo CSV Finance API: get csv results from, see example.Yahoo YQL Finance API: use YQL (Yahoo Query Language) and data table from, see example.I know 3 ways to fetch Stock quotes from Yahoo API: Then, now you know the risks, let’s chat about how to fetch stock quotes. You wont be able to find a decent quality web service without paying a fee, which is typically based on the number of hits (and sometimes data points) you consume. ![]() You will also need to purchase access to a web service that offers the prices. Redistribution of delayed equities prices is actually free anyways, but you still have to sign a redistribution agreement with the exchanges. Its pretty unfortunate - especially when you are providing an educational service as one of our sites does (to schools), but its how the exchanges make money and it wouldn’t be fair to companies like ours that pay the redistribution fees for people to just be able to launch free financial apps. Note that your are still considered to be redistribution data even if you are just displaying the prices on your website and not actually allowing the users to download the data. Point being, you need to go directly to the exchanges or to a data aggregator that offers redistribution (still need to sign redistribution agreements). You are required to sign redistribution agreements and pay redistribution fees with each exchange you display prices from even if you are pulling the data from a data aggregator and not directly from the exchange. I run three financial websites (including one free one) and can tell you that the issue is not with Yahoo! Finance, but with who they pull their data from, which is typically either straight from the exchanges or from a data aggregator (like Morningstar, Thomson Reuters, Interactive Data, etc.). You cannot use their data for redistribution no matter what the case is (even if its a free website). Redistribution agreement with the exchangesĪn interesting comment explains redistribution rights of Yahoo financial datas: Sell, lease, share, transfer, or sublicense the Yahoo APIs or access or access codes thereto or derive income from the use or provision of the Yahoo APIs, whether for direct commercial or monetary gain or otherwise, unless the API Documents specifically permit otherwise or Yahoo gives prior, express, written permission.below for details, but don’t seems to prevent the use for free purpose. Yahoo APIs Terms of Use prevent to “derive income from the use of the Yahoo APIs”, check Clause 1.7.4. ![]() It appears some have reverse engineered an API that they use to pull Finance data, but they are breaking our Terms of Service (no redistribution of Finance data) in doing this so I would encourage you to avoid using these webservices. The same Robyn Tippins also mentioned on previous comment why the webservice is online: A response of a Yahoo Community Manager on 2009 is NO:Ģ The data that we provide is not available for distribution at all off of Yahoo! ![]() I had difficulties to understand if it’s allowed to use Yahoo Finance API for own project. Legality of use of Yahoo! data on commercial website? Yahoo Community Manager response !\ Update : Yahoo finance API discontinued and now ?…, see our post to find an alternative. If you want to try another provider, feel free to look at 96 Stocks APIs: Bloomberg, NASDAQ and E*TRADE article. Yahoo finance API seems to be the most popular since Google Finance API has been deprecated (have been discontinued in October 2012).
0 Comments
Leave a Reply. |