Need to Page through advanced-search/companies, but fails after start_index 10000

I’ve been trying to figure out a good way to page through all company numbers. Best option I see is to use the Advance Search API. However it seems to throw an error after start_index reaches 10000. Is this expected behavior? or is this an error?

command

curl -u 801932d9-9bdc-4428-b413-61ef40f0e791:  https://api.company-information.service.gov.uk/advanced-search/companies?start_index=10000&size=1

result

{"timestamp":"2023-09-22T22:08:47.822+00:00","status":500,"error":"Internal Server Error","path":"/advanced-search/companies"}
1 Like

Page through all company numbers?
The API is not intended for that sort of use.
We do have bulk products Companies House that
that may be more suited to your needs

1 Like