---
title: "Retrieving a specific page of the search results"
slug: "retrieving-a-specific-page-of-the-search-results"
abstract: "Basic examples that show you how to use the Discover Search and Recommendation API to get different pages of search results."
---
# Retrieving a specific page of the search results

When you make a request, there can be multiple pages of results for your query. This topic shows how you can retrieve different pages of the search results. This is a continuation of the [Querying product content](https://doc.sitecore.com/discover/en/developers/discover-developer-guide/integrate-using-discover-rest-apis/integrate-using-the-search-and-recommendation-api/examples-of-basic-search-and-recommendation-use-cases/querying-content.html#UUID-e550beba-520c-4966-e771-af94b61126dc_section-idm453834776276163287764365417 "Querying product content") example.

In the following code, you request the next three products for page number two of the results:

```JSON
{
  "query": {
    "keyphrase": ["red"]
  },
  "n_item": 3,
  "page_number": 2,
  "content": {}
}
```

The following code shows the corresponding response:

```JSON
{
  "ts": 1480977544,
  "rid": "response_id_q3",
  "url": "/searchpage?keyphrase=red&page=2",
  "query2id": {
    "keyphrase": "keyphrase_id_red"
  },
  "content": {
    "product": {
      "value": [
        {"name": "jacket", "color": "red", "price": 80},
        {"name": "red dress", "price": 100}
      ]
    }
  },
  "n_item": 2,
  "total_item": 5,
  "page_number": 2,
  "total_page": 2
}
```

Although three items per page (`n_item` = 3) are requested, you only get two product items in the response. This is because there are only five items in total and you are retrieving the last page, which returns only the two remaining items.