The API definition for company count is available at
The URL for getting the company count is:
Query string values
The following values will only be applicable for using company count:
Please see the company search help page for explanations
of the above parameters.
The purpose of this method is to allow you to retrieve the number of matches that would occur
if you supplied the same search parameters to the company search method.
This method is most useful when you wish to paginate your search results.
Examples of calls to implement paging
Let's say you want to paginate results for the following example:
You are trying to search for a company called "Smith". This could return hundreds of matches.
Calling the company count service is done as follows:
Suppose the above call returned a value of 450.
If we wish to list 10 rows on each page, we would have 45 pages of 10 rows.
Consequently, the first call to company search will be:
The link to go to the second page of the results will be acheived by setting "skip" to 10:
To go to the 15th page, the link will be acheived by multiplying 10x15, and setting "skip" to the result (150):