Fascinating. It seemed like the EDGAR API looked too good to be true. Sounds like it was.
Then you have a bunch of third party providers that offer APIs that return cleaned up SEC filings and charge like few thousand dollars a year. The downside is the latency they add.
https://www.sec.gov/search-filings/public-dissemination-serv...