Our API is in a simple, original JSON format, which has actually caught on as a standard method for displaying rates because it's so simple to work with (unlike the Yahoo API, which required you to parse the obscure nested objects to pull out the basic info you needed...) If you need assistance porting from the deprecated Yahoo! (I am the founder of Open Exchange Rates.) I am the author of Value Viz on github.
Daily prices You need to be familiar with RESTFUL services.
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.
This is the code I'm using in Java (it's for the XML version, but it can be use for JSON as well): URL url = new URL ("https://finance.yahoo.com/webservice/v1/symbols/" stocks "/quote"); Http URLConnection urlc = (Http URLConnection) Connection (); Request Property ("User-Agent", "Mozilla/5.0 (Linux; Android 6.0; Moto E2(4G-LTE) Build/MPI24.65-39) Apple Web Kit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.81 Mobile Safari/537.36"); Document xml = Document Builder Instance ()Document Builder ().parse (Input Stream ()); var quotes = await Yahoo. Get Historical Async("AAPL", new Date Time(2016, 1, 1), new Date Time(2016, 7, 1), Period.
Daily); foreach (var candle in history) // You should be able to query data from various markets including US, HK, TW var dividend History = await Yahoo.
tickers=MSFT&begin=2012-02-19 Multiple tickers You can just comma separate tickers: https://quantprice.herokuapp.com/api/v1.1/scoop/period?
tickers=IBM, MSFT&begin=2012-02-19 Rate limit All requests are rate limited to 10 requests per hour.
link where you need to write the symbol, the parameters and columns.
For more information , visit the page https://developer.yahoo.com/yql/ Yes, it does seem like Yahoo!
has discontinued the (private, mostly-undocumented) Yahoo Finance API that many have been relying on for years for currency data.
For example, if you are downloading from curl in php use as follows: Since the service is down, I use the following URL to query Yahoo data (for ACA.
PA): Link The JSON result is different but I found the informations that interests me.