Skip to content
  • There are no suggestions because the search field is empty.

Paginating Through Results from Search and Ransomware API

A maximum of 20 results are returned per request. The ‘offset’ parameter allows you to skip a number of results. If your query has more than 20 total documents, use the following to get the ‘next’ page of results, with a maximum of 5,000* results returned for the same query.

  • offset=0 will return the first 20 results; this is the default
  • offset=20 will return results 21-40
  • offset=40 will return results 41-60
  • etc

Please see our documentation for current maximum pagination and offset values.

When you are initially developing and debugging, you can ask the Search API to return fewer than the default 20 results. The count= parameter allows you to set a number between 1 and 20.

Note that when using a count other than the default (20), you may need to adjust your offset. For example, if you set your count to 2 (count=2) while developing, you would use offset=0 to return the first 2 results, offset=2 to return results 3-4, offset=4 to return results 5-6, and so on.