bellingcat / EDGAR

Tool for the retrieval of corporate and financial data from the SEC
https://colab.research.google.com/github/bellingcat/EDGAR/blob/main/notebook/Bellingcat_EDGAR_Tool.ipynb
GNU General Public License v3.0
128 stars 15 forks source link

Use efts.sec.gov endpoint #20

Closed GalenReich closed 6 months ago

GalenReich commented 6 months ago

At the moment, the EDGAR tool uses Selenium and the web-based search tool, as well as HTML parsing with Beautiful Soup.

It appears that the efts.sec.gov endpoint returns neatly formatted JSON, we should use this instead!

Example query: https://efts.sec.gov/LATEST/search-index?q=operational%20efficiency&dateRange=custom&startdt=2020-02-28&enddt=2024-04-24&page=1&from=0