Searching Using Curl returns only 20 results a Page

I’ll reply here so your main queries get a chance for Companies House / someone more knowledgeable to pick up.

maximum number of results that the CH API returns

  1. Queries without an items_per_page but which still return a list e.g. company insolvency information, company exemptions, company registers.
  • all the data as far as I’m aware (presumably never going to be very extensive).
  1. Assuming (for lists) by “maximum number of results” you mean “maximum number of items returned in one request”
  • I had thought CH deliberately didn’t make any promises here but I found this thread:
    http://forum.aws.chdev.org/t/data-capped-limit/551
    … says “100” - and this is what I’d found experimentally e.g. anything above “items_per_page=100” just returns 100 results. You could always request 500 and see what you get…
  • if you don’t specify “items_per_page” the default seems to be 20.
  1. If you mean "is there a maximum number of results I can get (with multiple api calls):

Looking at your questions in general you seem to be saying “could the API be changed so I can efficiently replicate the data and keep updated with changes on a notification basis?”

CH repeatedly state that this is not their remit when creating the API. Providing more granularity in the way of searching (nationality) may be down to your own implementation. However:

  1. They provide the company, PSC datasets and accounts (if that interests you) as bulk data. You can also sign up on the forum for officer appointments as bulk data. It seems there’s no bulk dissolved companies data / disqualified officers although some people who post here offer these services themselves. Caveats - the company bulk data set is only updated monthly, the format doesn’t match the API and it doesn’t contain all data that you get e.g. with Company Profile in the API.
  2. They have plans - trailed now for a couple of years, search the forum - for a “streaming API” which sounds like it would give you the required updates on changes.
  3. Probably not useful for your needs but you can sign up to follow companies via email updates when they make a filing.

Aside from CH there are some services mentioned on the forum which may provide you with additional functionality - search around!

Edit: overview of bulk data products - see:

http://forum.aws.chdev.org/t/dissolved-company-bulk-data-available/1954

There’s also a DVD of ex-companies (for sale):

Found out about this in the following thread:
http://forum.aws.chdev.org/t/searching-using-curl-returns-only-20-results-a-page/1454/17