How to get data about a company's financials, balance sheet, cash flow, etc. via its ticker symbol [closed] How to get data about a company's financials, balance sheet, cash flow, etc. via its ticker symbol [closed] xml xml

How to get data about a company's financials, balance sheet, cash flow, etc. via its ticker symbol [closed]


Yahoo! finance has a really simple API which returns results in CSV format. As well as stock price it can also return Dividend Yield, EBITDA, Annualized Gains etc.Here's an example:

http://finance.yahoo.com/d/quotes.csv?s=MSFT+AAPL+f=j4g3y

A really good explanation of what it can return is available here

[Edit] I just tried to use the explanation page, but it has been the subject of a Yahoo takedown notice. WayBack Machine solves that problem: http://web.archive.org/web/20140503202125/http://www.gummy-stuff.org/Yahoo-data.htm


Have you tried wolframalpha.com? for example if you enter MSFT it gives incredible information regarding microsoft. And here is their api information http://www.wolframalpha.com/WolframAlphaAPI.pdf


Xignite has a pretty cheap $50 a month or so api and it seems to be actually useful.

If you are going to be scraping web pages I'd recommend you just grab a useful library like hpricot.