The U.S. Securities and Exchange Commission has published an EDGAR API that is worth having a look at. With the API, you can do things like the following:
Well...this is a start.