Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Programmatic API for downloading historical financial statements [closed]

Tags:

api

finance

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?

like image 385
serverman Avatar asked Sep 12 '10 00:09

serverman


People also ask

Is the Yahoo Finance API free?

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.

How do I find historical financial data?

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.

Is Financialmodelingprep free?

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.


1 Answers

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
like image 75
Joshua Ulrich Avatar answered Sep 20 '22 12:09

Joshua Ulrich