> For the complete documentation index, see [llms.txt](https://help.netnut.io/netnut-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.netnut.io/netnut-documentation/netnut-scraper-apis/serp-api/google-scraper/google-shopping/search-with-shoprs.md).

# Search with shoprs

This documentation provides an example of how to send a GET request to the SERP API and interpret the response.

### API Request[​](https://serp-api.netnut.io/docs/SERP/API%20Examples/Query#api-request) <a href="#api-request" id="api-request"></a>

To send a GET request to the SERP API for a news-related query, you can use the following:

* Bash
* Javascript
* Python
* Go

```
curl -L 'https://serp-api.netnut.io/search?q=iphone&hl=en&gl=US&udm=28&shoprs=CAESDRILEQAAAACE18dBGAEYCioGaXBob25lMh8IFxITUmF0aW5nOiBoaWdoIHRvIGxvdyoEEAEYAVADMiUIBRIMVW5kZXIg4oKqODAwGAIiDRILEQAAAACE18dBGAEqAhgBMggIChIEVXNlZFiJqiBgAogBAw' \
-H 'Accept: application/json' \
-H 'Authorization: Basic base64(username:password)'
```

### API Response[​](https://serp-api.netnut.io/docs/SERP/API%20Examples/Query#api-response) <a href="#api-response" id="api-response"></a>

The API will respond with a JSON object containing the search results. Here is an example of the response:

```
{
  "url": "https://www.google.com/search?q=iphone&hl=en&gl=US&start=0&udm=28&shoprs=CAESDRILEQAAAACE18dBGAEYCioGaXBob25lMh8IFxITUmF0aW5nOiBoaWdoIHRvIGxvdyoEEAEYAVADMiUIBRIMVW5kZXIg4oKqODAwGAIiDRILEQAAAACE18dBGAEqAhgBMggIChIEVXNlZFiJqiBgAogBAw",
  "general": {
    "searchEngine": "google_shopping",
    "language": "en",
    "device": "desktop",
    "searchType": "text",
    "pageTitle": "iphone - Google Shopping",
    "timestamp": "2026-01-04T15:43:07.321Z",
    "render": false
  },
  "input": {
    "originalUrl": "https://www.google.com/search?q=iphone&hl=en&gl=US&start=0&udm=28&shoprs=CAESDRILEQAAAACE18dBGAEYCioGaXBob25lMh8IFxITUmF0aW5nOiBoaWdoIHRvIGxvdyoEEAEYAVADMiUIBRIMVW5kZXIg4oKqODAwGAIiDRILEQAAAACE18dBGAEqAhgBMggIChIEVXNlZFiJqiBgAogBAw",
    "jobId": "c95568cc-8911-4fac-8030-934a358cc0f2"
  },
  "shoppingResults": [
    {
        "title": "Apple iPhone 17",
        "price": "$41.62 per month for 24 months. ",
        "rawPrice": 41.62,
        "previousPrice": "",
        "rawPreviousPrice": null,
        "source": "Apple",
        "moreSources": true,
        "rating": 4.74,
        "reviews": 5,
        "tag": "",
        "extensions": [],
        "snippet": "Quality camera (204 user reviews)",
        "delivery": "Free next-day delivery",
        "itemCondition": "",
        "link": "https://www.google.com/search?ibp=oshop&q=Apple%20iPhone%2017&prds=catalogid:15124621302495257126,gpcid:6027158597472037202,imageDocid:7125628098102614888,headlineOfferDocid:8223032854974810649,mid:576462866558881327,pvt:hg,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202&hl=en&gl=US&udm=28",
        "thumbnail": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcTPy3iSOz0_jrTmu3-9YwJXZkb2yxvngWsc1ryDoufVGZDxkBQu4P4Y1LI68ehNDjruyd127PL5ujSr_T6k2qqvqGc6f2I_9uXEUhJcBPxzPH87sTl2_qoDvAs",
        "rank": 1
    },
    {
        "title": "Apple iPhone 15 Restored",
        "price": "Current Price: $629.99. ",
        "rawPrice": 629.99,
        "previousPrice": "",
        "rawPreviousPrice": null,
        "source": "Best Buy",
        "moreSources": true,
        "rating": 4.74,
        "reviews": 40,
        "tag": "",
        "extensions": [],
        "snippet": "Performs well (1,472 user reviews)",
        "delivery": "",
        "itemCondition": "",
        "link": "https://www.google.com/search?ibp=oshop&q=Apple%20iPhone%2015%20Restored&prds=catalogid:9402654696244930073,gpcid:6601648695432433635,imageDocid:602301387290717443,headlineOfferDocid:13053670377175262918,mid:576462758755759090,pvt:hg,rds:PC_6601648695432433635%7CPROD_PC_6601648695432433635&hl=en&gl=US&udm=28",
        "thumbnail": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcRJrxY0_e6BFkca_cUaa7A9e3AqExwD5D8hio7SoOkYtcupFhRBAzsza8muOxaGIIym295rxuIY9mA8ruRMsVrqHTj5aoCB",
        "rank": 2
    },
    .
    .
    .
    {
      "title": "Restored Apple iPhone XS",
      "price": "Current Price: $187.00. ",
      "rawPrice": 187,
      "previousPrice": "",
      "rawPreviousPrice": null,
      "source": "Back Market",
      "moreSources": true,
      "rating": 4.54,
      "reviews": 16,
      "tag": "59% OFF",
      "extensions": [
        "59% OFF"
      ],
      "snippet": "Quality camera (1,886 user reviews)",
      "delivery": "",
      "itemCondition": "Refurbished",
      "link": "https://www.google.com/search?ibp=oshop&q=Restored%20Apple%20iPhone%20XS&prds=catalogid:13775462339270574669,gpcid:6811745323585508222,imageDocid:2186771518964014332,headlineOfferDocid:1981731685576781749,mid:576462311032611740,pvt:hg,rds:PC_6811745323585508222%7CPROD_PC_6811745323585508222&hl=en&gl=US&udm=28",
      "thumbnail": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcQ6iCoITiP7poAenPeb8gxgy2TVtFFNduLT4QK4a7aP9woD7tbpVM8DafDejc7W2l_2FIDZnF4HbiZW-dwsog5CHq34xvsEP5lg1cP_fKz6MqfcQzbVyWCp",
      "rank": 40
    }
  ],
  "filters": [
    {
      "filter_type": "filters_carousel",
      "options": [
        {
          "filter": "Under ₪800",
          "shoprs": "CAEYBSoGaXBob25lMh8IFxITUmF0aW5nOiBoaWdoIHRvIGxvdyoEEAEYAVADMggIChIEVXNlZGACiAED"
        },
        {
          "filter": "Used",
          "shoprs": "CAESDRILEQAAAACE18dBGAEYCioGaXBob25lMh8IFxITUmF0aW5nOiBoaWdoIHRvIGxvdyoEEAEYAVADMiUIBRIMVW5kZXIg4oKqODAwGAIiDRILEQAAAACE18dBGAEqAhgBYAKIAQM"
        }
      ]
    }
  ],
  "pagination": {
    "currentPage": 1,
    "nextPage": 2,
    "nextPageLink": "https://www.google.com/search?q=iphone&sca_esv=09c32fb3115d7f12&hl=en&gl=US&udm=28&prmd=ivnsbm&ei=iopaaa7mJaHl5NoPpNq10A0&start=10&sa=N&shoprs=CAESDRILEQAAAACE18dBGAEYCioGaXBob25lMh8IFxITUmF0aW5nOiBoaWdoIHRvIGxvdyoEEAEYAVADMiUIBRIMVW5kZXIg4oKqODAwGAIiDRILEQAAAACE18dBGAEqAhgBMggIChIEVXNlZFiJqiBgAogBAw",
    "nextPageStart": 10
  }
}

```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.netnut.io/netnut-documentation/netnut-scraper-apis/serp-api/google-scraper/google-shopping/search-with-shoprs.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
