The SEC announced that an Application Programming Interface (API) is now available, giving developers fast and easy access to EDGAR data for corporate disclosures. The API includes XBRL data from financial statements (forms 10-Q, 10-K, 8-K, 20-F, 40-F, 6-K, and their variants) and real-time entity information and submission details in a JavaScript Object Notation format. Also, a bulk zip file to download all API data is updated nightly. Additional related information is available on the EDGAR Application Programming Interfaces
documentation page.
For feedback regarding its implementation of APIs, the SEC invites inquiries and recommendations via email at webmaster@sec.gov.
Sources:
SEC Disclosure Data API Available (sec.gov)