Answering your question "Alternatively, is there a way to load various statements using XBRL via api or otherwise?" I could tell you Gepsio , the XBRL document object model for .NET. You can use it in .NET applications to use, validate, and send reports on various entries in an XBRL document.
Since Gepsio is a .NET component, it can also be used from PowerShell, which mainly brings XBRL consumption and validation in scripting environments. This blog post provides an example of using Gepsio from PowerShell.
Regarding the automated use of Edgar's documents, you should be aware that Gepsio can automatically consume documents hosted on the Internet by specifying the URL of the XBRL document when calling the Gepsio XbrlDocument.Load () method. The PowerShell example shown above on the blog gives an example of downloading XBRL from the Internet.
The blog post posted here also illustrates the use of Gepsio with C #.
source share