ZoomInfo Developer Blog

Paging for Faster Performance

Paging exists in the API and isn't documented. There are undocumented paging parameters 'page' and 'rpp' for the company detail, person detail and company competitor queries. The 'page' parameter stands for the page offset, with 1 for the first page, 2 for the second and so forth. The 'rpp' parameter stands for requests per page.

A typical scenario is to page 10 results at a time. The request parameters would look something like this:

&page=1&rpp=10 for the first ten results 1 - 10
&page=2&rpp=10 for the next ten results 11 - 20

Most end users only can digest 10 - 20 results visually at a time, so requesting more isn't helping them out and in fact is slowing down how long they wait to get results.

So, some of you are probably asking, why is this important? Three reasons. The first is that it really improves the user experience--fewer results means much snappier response times. The second is that it really decreases the load on our servers and that makes us happy ;) The third is that once everybody gets in the habit of paging, we can increase the number of results that can be paged.

Feel free to follow up with comments in the forum.

Cheers,

Daryl

1 Comment

  1. jdoyle275 hours ago

    great idea.