API num & startIndex not working

i try to searh with this link companies?q=a
there are more thean 38000 result but the request json show me just 20 items and when i try with https://api.companieshouse.gov.uk/search/companies?q=a&items_per_page=100 i recive 100 items also i try with ,

https://api.companieshouse.gov.uk/search/companies?q=a&num=100
but not working
&startIndex=100

please help me

Hi wahibbouasla,

Apologies, it looks like the developer site has not been updated to match the latest search API. The num and startIndex parameters have been renamed items_per_page and start_index (to align with the rest of the API). The query should be https://api.companieshouse.gov.uk/search/companies?q=a&start_index=100&items_per_page=100.

Thanks,
Andrew

I searched with keyword a & found 886758 results & want to iterate it pagewise so I changed the start-index to 100, 200 & so on but when I am making start-index 300 its not fetching the results even if the number of records are more. Am I doing any mistake? Can you please help me to fetch all records page wise?

Thanks.

The limit of 200 results has been done by design, since it was felt that by the time you get to the 200th search match, the relevance to the search is so small, that it would not be interesting.

We have reviewed this decision and will be changing this. See: