/sec-edgar

Download all companies periodic reports, filings and forms from EDGAR database.

Primary LanguagePythonApache License 2.0Apache-2.0

sec-edgar

Tests Status Docs Status

Getting filings of various companies at once is really a pain, but SEC-Edgar does that for you. You can download all of a company’s periodic reports, filings and forms from the EDGAR database with a single command.

Installation

You may have to install the package using pip:

$ pip install secedgar

or

You can clone the project or download it as zip.

$ git clone https://github.com/sec-edgar/sec-edgar.git
$ cd sec-edgar
$ python setup.py install

Running

from secedgar.filings import Filing, FilingType

# 10Q filings for Apple (ticker "aapl")
my_filings = Filing(cik_lookup='aapl', filing_type=FilingType.FILING_10Q)
my_filings.save('~/path/to/dir')

Supported Methods

Currently this crawler supports many different filing types. To see the full list, please refer to the docs. If you don't see a filing type you would like to be supported, please create an issue on GitHub.

Documentation

To learn more about the APIs and latest changes in the project, read the official documentation.