Java API for financial data

Kunal picture Kunal · Feb 4, 2011 · Viewed 25.2k times · Source

I am working on my Master's project and I am looking for a substantial amount of financial data about a particular company.

Example: let's say "Apple". I want the historic prices, current market price / ratios, quarterly results and the analyst calls.

I saw couple of posts on StackOverflow about YQL. I think I can get current price and various ratios from Yahoo Finance for free. However for other data, there are companies like Thomson Reuters, Bloomberg, etc. but they seem to have a closed system.

Where can I get an API to fetch various data? Is there anything which will help me get that data? I am fine with raw data as well in any format. Whatever I can get. Could you guys please suggest any API?

Answer

Dave F picture Dave F · Feb 4, 2011

Stephen is right on the money, if you really want a real wealth of data, you're probably gonna have to pay for it.

however, I've been successful on my own private projects by using the "API" spelled out here:

http://www.gummy-stuff.org/Yahoo-data.htm

I've pulled down all the stocks from the S&P 500 quite often, but if you ever publish that data, talk with yahoo. you'll probably have to license it.

btw, all this data is in CSV format, so get a CSV reader/converter etc. their easy to find