EdgarAPI#
- class edgar_sec.EdgarAPI(cache_mode=False, cache_size=256)[source]#
Bases:
objectInteract with the US Securities and Exchange Commission EDGAR API.
This class provides methods to access the SEC’s EDGAR database through their RESTful API endpoints. The data.sec.gov service delivers JSON-formatted data without requiring authentication or API keys. The API provides access to: Filing entity submission history and XBRL financial statement data (forms 10-Q, 10-K, 8-K, 20-F, 40-F, 6-K).
Methods#
Initialize the EdgarAPI class the provide functions for accessing SEC EDGAR data. |
|
Get a company concept. |
|
Get all company facts. |
|
Retrieve aggregated XBRL facts across multiple companies for a specific period. |
|
Get a submission history. |