I’m not sure that’s possible. It seems to come down to processing the bulk financial info (not the API - see below) or - if the company has filed electronically via an iXBRL - downloading and processing those of interest. That could be done via the Filing History endpoint then the Document API.
You can find that data in XBRL format in bulk at:
…other than that you’d have to work through the filings and discover any XBRL for yourself.
Threads about obtaining financials:
https://forum.aws.chdev.org/t/will-company-financial-information-be-available/190
The categories there:
https://forum.aws.chdev.org/t/categorising-financial-information/1178
Getting bulk financial data - post to the following thread:
https://forum.aws.chdev.org/t/bulk-financial-data/744