If you're interested in grabbing Morningstar data but cash strapped there are ways to do it without actually paying for it.
Historical Price API
The following URL will get you access to all available historical Morningstar price data for the Ford Corporation
Now you will have every single daily piece of data for Ford between the dates of 01/01/1900 and 10/10/2014
Real Time Quote API
For more fine grained data for current market activity you can call the real time quote API.
Which will give you all data for the Ford Corporation within the last 5 days. Included is data for intraday trading.
Get statistics for things like the following: Revenue, Net Income, Shares, Return on Equity, etc. all in CSV. For example; if I wanted to get all of the key ratios for Facebook I could do something like
You can then get your favorite CSV library to read the data for you.
Financial data for any ticker symbol you desire. Let's try Twitter (TWTR). First let's get the income statement
OK that's a lot of url parameters so let's break it down a bit:
- reportType: is = Income Statement, cf = Cash Flow, bs = Balance Sheet
- period: 12 for annual reporting, 3 for quarterly reporting
- dataType: this doesn't seem to change and is always
- order: asc or desc (ascending or descending)
- columnYear: 5 or 10 are the only two values supported
- number: The units of the response data. 1 = None 2 = Thousands 3 = Millions 4 = Billions
So if we wanted to get the annual balance sheet information for TWTR we could request
Likewise for Cash Flow;
This is in no way an official API. As such it is not supported by Morningstar the organization. Furthermore, I would advise to rate limit your downloads to be nice to Morningstar's servers. If not to be nice to Morningstar then to be kind to the other users of the unofficial API so as not to ruin a good thing.
More fine grained analysis on each parameter forthcoming besides some wonky URL. Also, analysis on the response data.