Bulk Companies with Charges

I’m wondering if it’s possible to get a list of all the companies (all i need is CompanyNumbers) with Charges. This could be all the companies with “has_charges” flag as TRUE on the following get service:

GET https://api.companieshouse.gov.uk/company/{company_number}

I have some urgency on this so please confirm if this is possible, otherwise ill progress with another solution.

Regards,
Joao