Alternatives to the Yahoo Finance API? [closed]

2019-01-21 08:13发布

问题:

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 documentation, and I need to pull dividend data which I was unable to find.

Quandl appears to work well but the data is spread across multiple databases which makes getting appropriate access timely and costly.

Does anyone know of any other viable alternatives?

回答1:

Alpha Vantage have real-time intraday as well as historical daily time series in JSON format. Accessing the data requires an API key but it is free.

Caveat: I have not yet used Alpha Vantage myself. The focus of my work requires long daily data series and for that Quandl (or, while it lasted, Yahoo) is better because (unlike Alpha Vantage) it provides both split-adjusted and un-adjusted data, which is helpful for tracking corporate actions etc.