Copied to clipboard!

How does Google Pagination Work?

Pagination with Google results is simplified with SerpApi's Pagination API. It is also possible to paginate manually with Google's query parameters for finer control. Both options are covered below.

SerpApi Pagination

If you're looking to get started quickly with pagination, SerpApi Pagination is the easiest option. Every result set has a searpapi_pagination field that provides generated URL's for the next and previous result sets (if they exist):

{
  ...
  "serpapi_pagination": {
    "next_link": String - URL representing the next SerpAPI result set.
    "previous_link": String - URL representing the previous SerpAPI result set.
  },
  ...
}
  
The next_link and previous_link URL's respect the existing query parameters that were passed into the first request. By default, SerpAPI pagination will increment the start parameter by the total number of organic results returned. When there are no previous or next result sets, the respective fields are omitted.

Without pagination parameters

If no pagination parameters are provided in a request, SerpAPI will add them in as necessary.

{
  ...
  "serpapi_pagination": {
    "next_link": "https://serpapi.com/search?q=coffee&safe=active&start=10"
  },
  ...
}
    

With pagination parameters

If pagination parameters are provided in a request, the start parameter is adjusted according to the number of organic results returned.

{
  ...
  "serpapi_pagination": {
    "previous_link": "https://serpapi.com/search?q=coffee&start=25&num=25",
    "next_link": "https://serpapi.com/search?q=coffee&start=75&num=25"
  },
  ...
}
    

Manual Pagination

Manual pagination with Google is possible with two query parameters: start (defines the result offset) and num (defines the maximum number of returned results). For more information on the Google pagination parameters, view the Google Search Engine Overview Pagination section.