I am looking for a web API (free or available at some reasonable cost for an individual developer) to download financial statements for a given stock symbol (income statement, balance sheet and cash flow statements)
I searched on this site and found couple of useful links about stock quotes (Best/Most Comprehensive API for Stocks/Financial Data) I looked at YQL but it is limited to stock related information http://www.gummy-stuff.org/Yahoo-data.htm)
Google finance does not seem to give a programmatic api for financial statements.
Closest I could get to was http://www.mergent.com/ and they are not free:
Ideally, if the financial statement is in a "programmer friendly format", it would be terrific but I don't think that is feasible. Given that, an easy way of downloading this data is the second best option.
Any suggestions?
The Yahoo Finance API is a RESTful API that provides access to financial data. This data includes stock quotes, historical prices, and company information. The API is free to use and does not require an API key.
Users can access the EDGAR database at www.sec.gov/edgar to search by companies and filings, by all SEC-registered companies in a particular state or country, or with a specific Standard Industrial Classification (SIC) code. Current and historical EDGAR archives can be researched.
We offer a free plan that will allow users to make up to 250 market data API requests per day, for example you can access up to 5 years of annual statements for US companies.
The quantmod R package has functionality to pull financial statements from Google. It does this by scraping the HTML. If you'd like to give it a try, run these commands at a R prompt:
install.packages('quantmod') # run this once to install quantmod
library(quantmod)
getFinancials("IBM") # automatically assigns data to "IBM.f" object
viewFinancials(IBM.f,"BS","Q") # quarterly balance sheet
viewFinancials(IBM.f,"IS","Q") # quarterly income statement
viewFinancials(IBM.f,"CF","Q") # quarterly cash flow statement
viewFinancials(IBM.f,"BS","A") # annual balance sheet
viewFinancials(IBM.f,"IS","A") # annual income statement
viewFinancials(IBM.f,"CF","A") # annual cash flow statement
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With