Google Shopping (New Layout)

The JSON results for shopping_results are very similar between the old and the new layout. The differences are the filters parameter, pagination parameter, and the addition or removal of the categorized shopping results section.

Summary of Changes

- Sorting and filtering are now done through the shoprs parameter (tbs is no longer supported). It also works by using natural language, e.g., coffee less than $10 rather than just coffee.

- Pagination's num parameter is no longer supported. It should have 40 results per page by default.

- Pagination's start parameter is still supported, but there is a change in how it works, which is explained in the API Parameters section.

- direct_link has to be enabled to get the link in shopping_results.

- Featured Results, Nearby Results, and Related Results are no longer available.

- Introduced new categorized_shopping_results in the API response. It is sort of a replacement of Featured Results for the new layout.

API Parameters

Advanced Filters

shoprs

Optional

The parameter defines the helper ID for setting search filters. For search filters to be properly applied, the parameter must be used in combination with the updated q parameter, which now contains the name of the filter applied next to your original query.

Example:
- Original query: Coffee
- Query after applying filter "Sugar Free": sugar free Coffee

To apply filters to your search, follow serpapi_link, which you can find in your JSON output at filters[index].options[index].serpapi_link.

To apply multiple filters, you have to follow serpapi_link for each filter individualy. Each consecutive request will contain filters that have been previously applied next to the newly added one. To remove a filter, follow its corresponding serpapi_link.

Pagination

start

Optional

Parameter defines the result offset. It skips the given number of results. It's used for pagination. (e.g., 0 (default) is the first page of results, 60 is the 2nd page of results, 120 is the 3rd page of results, etc.).

For the new layout, the value is incremented by 10, meaning the first page is 0, the 2nd page is 10 and so on. This may be counterintuitive, since 40 results are returned per page. To easily retrieve paginated results accurately, it is advisable to follow the link provided in serpapi_pagination.next.

num

Optional

Parameter defines the maximum number of results to return. (e.g., 60 (default) returns 60 results, 40 returns 40 results, and 100 (maximum) returns 100 results).
Any number greater than maximum number (100) will default to 100.
Any number lesser than minimum number (1) will default to 60.

For the new layout, the parameter is no longer supported. 40 results are now returned per page.

API Results

Full results for  q: Coffee

Full results for  q: Coffee

JSON Example

{
  "search_metadata": {
    "id": "66de950396562286c61dc642",
    "status": "Success",
    "json_endpoint": "https://serpapi.com/searches/61b291f7ccbeb7ff/66de950396562286c61dc642.json",
    "created_at": "2024-09-09 06:26:11 UTC",
    "processed_at": "2024-09-09 06:26:11 UTC",
    "google_shopping_url": "https://www.google.com/search?udm=28&q=Coffee&hl=en&gl=us",
    "raw_html_file": "https://serpapi.com/searches/61b291f7ccbeb7ff/66de950396562286c61dc642.html",
    "total_time_taken": 0.78
  },
  "search_parameters": {
    "engine": "google_shopping",
    "q": "Coffee",
    "google_domain": "google.com",
    "hl": "en",
    "gl": "us",
    "device": "desktop"
  },
  "search_information": {
    "shopping_results_state": "Results for exact spelling",
    "query_displayed": "Coffee"
  },
  "filters": [
    {
      "options": [
        {
          "text": "Nearby",
          "serpapi_link": "https://serpapi.com/search.json?device=desktop&engine=google_shopping&gl=us&google_domain=google.com&hl=en&q=Coffee+nearby&shoprs=CAEYAyoGY29mZmVlMgwIAxIGTmVhcmJ5GAJYt8sfYAI"
        },
        {
          "text": "On sale",
          "serpapi_link": "https://serpapi.com/search.json?device=desktop&engine=google_shopping&gl=us&google_domain=google.com&hl=en&q=Coffee+sale&shoprs=CAESBEoCGAEYBioGY29mZmVlMhMIBhIHT24gc2FsZRgCIgRKAhgBWLfLH2AC"
        },
        {
          "text": "Get it fast",
          "serpapi_link": "https://serpapi.com/search.json?device=desktop&engine=google_shopping&gl=us&google_domain=google.com&hl=en&q=coffee&shoprs=CAESDZoBCgoIEAM4AUADSAEYFCoGY29mZmVlMiQIFBILR2V0IGl0IGZhc3QiDZoBCgoIEAM4AUADSAEqBBABGAFgAg"
        },
        ...
      ]
    },
    {
      "type": "Sort by",
      "options": [
        {
          "text": "Price: low to high",
          "serpapi_link": "https://serpapi.com/search.json?device=desktop&engine=google_shopping&gl=us&google_domain=google.com&hl=en&q=coffee&shoprs=CAEYFyoGY29mZmVlMhwIFxISUHJpY2U6IGxvdyB0byBoaWdoKgQQARgBYAKIAQE"
        },
        {
          "text": "Price: high to low",
          "serpapi_link": "https://serpapi.com/search.json?device=desktop&engine=google_shopping&gl=us&google_domain=google.com&hl=en&q=coffee&shoprs=CAEYFyoGY29mZmVlMhwIFxISUHJpY2U6IGhpZ2ggdG8gbG93KgQQARgBYAKIAQI"
        }
      ]
    },
    {
      "type": "Type",
      "options": [
        {
          "text": "Whole Bean",
          "serpapi_link": "https://serpapi.com/search.json?device=desktop&engine=google_shopping&gl=us&google_domain=google.com&hl=en&q=whole+bean+coffee&shoprs=CAEYASoGY29mZmVlMhoIARIKV2hvbGUgQmVhbjoKCO7-OBDx_jgwAli3yx9gAg"
        },
        {
          "text": "Ground",
          "serpapi_link": "https://serpapi.com/search.json?device=desktop&engine=google_shopping&gl=us&google_domain=google.com&hl=en&q=ground+coffee&shoprs=CAEYASoGY29mZmVlMhYIARIGR3JvdW5kOgoI7v44EO_-ODACWLfLH2AC"
        },
        {
          "text": "Instant",
          "serpapi_link": "https://serpapi.com/search.json?device=desktop&engine=google_shopping&gl=us&google_domain=google.com&hl=en&q=instant+coffee&shoprs=CAEYASoGY29mZmVlMhcIARIHSW5zdGFudDoKCO7-OBDw_jgwAli3yx9gAg"
        },
        ...
      ]
    },
    ...
  ],
  "inline_shopping_results": [
    {
      "position": 1,
      "block_position": "top",
      "title": "Ground Coffee. Geisha Coffee | Honduran Single-Origin Specialty Coffee Ground / Light / 6",
      "price": "$331.00",
      "extracted_price": 331,
      "link": "https://www.google.com/aclk?sa=l&ai=DChcSEwic66CrnbWIAxUf0cIEHavLH2cYABABGgJwdg&ae=2&co=1&gclid=EAIaIQobChMInOugq521iAMVH9HCBB2ryx9nEAQYASABEgI81vD_BwE&sig=AOD64_1gRUs5iPwbGe4PY7lm9WBzZkJdIg&ctype=5&q=&ved=2ahUKEwiG5pernbWIAxUUD0QIHVKUFucQ5bgDKAB6BAgBEAg&adurl=",
      "source": "spirit animal coffee",
      "shipping": "Free shipping",
      "rating": 4.4,
      "reviews": 27,
      "thumbnail": "https://encrypted-tbn1.gstatic.com/shopping?q=tbn:ANd9GcQ5ED0Hja7jbiCXc_E2XOPL6MmG9XWNiy8CXNuFYQMSaIfYprH3EAIys6GdZvuBZeE2Kpe7ksiJMCN-C4dMqTBJdHNTt1tv41uYukss66nPZv48OgE2GirmIj__2u_TvzY7qh2fog&usqp=CAc",
      "extensions": [
        "Free returns (most)"
      ]
    },
    {
      "position": 2,
      "block_position": "top",
      "title": "Real Good Coffee Company - Whole Bean Coffee - Donut Shop Medium Roast Coffee Beans - 2 Pound Bag - 100% Whole Arabica Beans - Grind at Home, Brew",
      "price": "$27.99",
      "extracted_price": 27.99,
      "link": "https://www.google.com/aclk?sa=l&ai=DChcSEwic66CrnbWIAxUf0cIEHavLH2cYABADGgJwdg&ae=2&co=1&gclid=EAIaIQobChMInOugq521iAMVH9HCBB2ryx9nEAQYAiABEgL-h_D_BwE&sig=AOD64_2MNzclXSQtEhkqf-_axIT8c3H_nw&ctype=5&q=&ved=2ahUKEwiG5pernbWIAxUUD0QIHVKUFucQ5bgDKAB6BAgBEBU&adurl=",
      "source": "amazon.com",
      "thumbnail": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcTUZhK88Eycg9A-REsfN_UqOgi4y2OEECwLhYmtdOJfcDiF9BaTHUMQBxOwW3wPYVUhv24h9NA-rCjO3Ul3I7T9q-LiNw4OEL2lwysr3Nqg50gnpriLCh73fv3aZDmxAnKKYVsVcn8&usqp=CAc"
    },
    {
      "position": 3,
      "block_position": "top",
      "title": "Jamaica Blue Mountain 100% Single-Origin Coffee by Roast Theory Whole Bean Medium Roast 12 oz",
      "price": "$79.00",
      "extracted_price": 79,
      "link": "https://www.google.com/aclk?sa=l&ai=DChcSEwic66CrnbWIAxUf0cIEHavLH2cYABAGGgJwdg&ae=2&co=1&gclid=EAIaIQobChMInOugq521iAMVH9HCBB2ryx9nEAQYAyABEgJGi_D_BwE&sig=AOD64_3YJh3kAC-oW5nTDgN9Vw4Pi7hfxg&ctype=5&q=&ved=2ahUKEwiG5pernbWIAxUUD0QIHVKUFucQ5bgDKAB6BAgBECw&adurl=",
      "source": "roast theory",
      "shipping": "Free shipping",
      "thumbnail": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcRazg8r7LOLPb_s8Pp6YVmIC1yAZjr4R1G_EMXfr8AhRBXibwJ-3Ujpu1HhCQNOclGpvJQyORAtPOsUiKO_65SNOl2PBNrtdZyQrxzQWAQ&usqp=CAc"
    }
  ],
  "shopping_results": [
    {
      "position": 1,
      "title": "Starbucks Coffee Pike Place Roast",
      "product_link": "https://www.google.com/shopping/product/16185989814023774100?gl=us",
      "product_id": "16185989814023774100",
      "serpapi_product_api": "https://serpapi.com/search.json?device=desktop&engine=google_product&gl=us&google_domain=google.com&hl=en&product_id=16185989814023774100",
      "number_of_comparisons": "10+",
      "source": "Target",
      "source_icon": "https://encrypted-tbn3.gstatic.com/favicon-tbn?q=tbn%3AANd9GcTEcvKCC4vYSJ0lcojmG1G8H5SxvMYMWwuZ0hBVYInrlmIpQc8-QknEydjdLUOCUc4t5gk8LzLYNskt9jyjXHnjIq2sfztY",
      "price": "$8.99",
      "extracted_price": 8.99,
      "rating": 4.6,
      "reviews": 8900,
      "extensions": [
        "Free 90-day returns",
        "1.3 mi · In stock"
      ],
      "thumbnail": "https://encrypted-tbn1.gstatic.com/shopping?q=tbn:ANd9GcRC8CEuiPpXMQGiz7b4xY9OdFWgWyrhrUO_Aufl8_0Di_4xidXe1rxncCCaIM6lQQMojXGmNOEiJUXQAAgQ5iVS5goP4xEMSHbqj40Bxs36MRXzYTJDYiRNbg"
    },
    {
      "position": 2,
      "title": "Bones Coffee Company Crazelnut Ground Coffee",
      "product_link": "https://www.google.com/shopping/product/11518518117094326926?gl=us",
      "product_id": "11518518117094326926",
      "serpapi_product_api": "https://serpapi.com/search.json?device=desktop&engine=google_product&gl=us&google_domain=google.com&hl=en&product_id=11518518117094326926",
      "number_of_comparisons": "3+",
      "source": "Bones Coffee Company",
      "source_icon": "https://encrypted-tbn2.gstatic.com/favicon-tbn?q=tbn%3AANd9GcSP-3CAlIHM4vrNOnJx5Jd7oBV13KVkk1fiPTxyM09zvi5dG3Cb77DP5Yk91NGg0tnVV2YHLB83fSvddh4G2eFtTFdFtAhWT5aKHscH",
      "price": "$15.99",
      "extracted_price": 15.99,
      "extensions": [
        "30-day returns"
      ],
      "thumbnail": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcTLWG-MlwL2hEBhf2Fn7vkQcGUPyMq6JKp-QqV6yKeHI5o9OqJLcEe5tNVCqHigiDhiM3Q3xUf66AYaEcu68C3dOaVZI_rcQn_DtolWmwB32X_tOXv-CLf9Zg",
      "delivery": "Free $75+"
    },
    {
      "position": 3,
      "title": "Maxwell House Coffee Ground Original Roast",
      "product_link": "https://www.google.com/shopping/product/4527718256905102604?gl=us",
      "product_id": "4527718256905102604",
      "serpapi_product_api": "https://serpapi.com/search.json?device=desktop&engine=google_product&gl=us&google_domain=google.com&hl=en&product_id=4527718256905102604",
      "number_of_comparisons": "10+",
      "source": "Amazon.com",
      "source_icon": "https://encrypted-tbn2.gstatic.com/favicon-tbn?q=tbn%3AANd9GcT0TsMMuS8IRIUU_Envbo02npaZ6DJgbXTwa-h2DSMswBydNyxi_1NukUkPuQPc8-6EH8dopTDEyU5ccMeLEvcSrbCBtAW3",
      "price": "$13.75",
      "extracted_price": 13.75,
      "rating": 4.6,
      "reviews": 7700,
      "extensions": [
        "30-day returns",
        "Also nearby"
      ],
      "thumbnail": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcQMo0U3b8Tve9GgPKhcyO4cegUNQUaK_Pf8G2aEGbOFWPv3ljRGowgr8tFHe-afDrNEH41dQTbq9CCCLjh6cUa_Fntk4elL2Md2UF523vAotd5RnZ3-owBU"
    },
    ...
  ],
  "categorized_shopping_results": [
    {
      "title": "Popular products",
      "shopping_results": [
        {
          "position": 1,
          "title": "Folgers Classic Roast Ground Coffee",
          "product_link": "https://www.google.com/shopping/product/16914877625280977865?gl=us",
          "product_id": "16914877625280977865",
          "serpapi_product_api": "https://serpapi.com/search.json?device=desktop&engine=google_product&gl=us&google_domain=google.com&hl=en&product_id=16914877625280977865",
          "number_of_comparisons": "10+",
          "source": "Target",
          "source_icon": "https://encrypted-tbn3.gstatic.com/favicon-tbn?q=tbn%3AANd9GcTEcvKCC4vYSJ0lcojmG1G8H5SxvMYMWwuZ0hBVYInrlmIpQc8-QknEydjdLUOCUc4t5gk8LzLYNskt9jyjXHnjIq2sfztY",
          "price": "$5.79",
          "extracted_price": 5.79,
          "rating": 4.6,
          "reviews": 13000,
          "thumbnail": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcSe7aoXaL6e2cS2vXejlmXvK1LWPWofxCADtNc7jBWI-e40xSqor9i7zkSaBE2EnhPE_rRYCVyKsIs9lrQUy_g20Y9eXDd01578CXnoJEk1I3PMcnpUHNiT7Q",
          "delivery": "Free $35+"
        },
        {
          "position": 2,
          "title": "Maxwell House Wake Up Roast Ground Coffee",
          "product_link": "https://www.google.com/shopping/product/10822717519905177294?gl=us",
          "product_id": "10822717519905177294",
          "serpapi_product_api": "https://serpapi.com/search.json?device=desktop&engine=google_product&gl=us&google_domain=google.com&hl=en&product_id=10822717519905177294",
          "number_of_comparisons": "10+",
          "source": "CVS Pharmacy",
          "source_icon": "https://encrypted-tbn3.gstatic.com/favicon-tbn?q=tbn%3AANd9GcQwNQuzSmDF8_rZu40RJ6kU6_tfvoEpQTNECF7aBM-ELm7BFVtUG0h0o0dHo34Vh8PfFRur4VqTIblTRXaYqBbgeOybVA",
          "price": "$6.99",
          "extracted_price": 6.99,
          "old_price": "$16",
          "extracted_old_price": 16,
          "rating": 4.6,
          "reviews": 132,
          "extensions": [
            "1.5 mi · In stock",
            "55% OFF"
          ],
          "thumbnail": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcT4BJtEEMAzKFh8DdM2NNWCrsCQObVv3cQCuMriq49G6kkBtcWQZ3cFbgdZbpIyS1WuErBt-ysBGRClDIjY3KCOtYZT4jlc42VvzHPfI8my6KuUcCDNismF",
          "tag": "55% OFF"
        },
        {
          "position": 3,
          "title": "Black Rifle Coffee Company Murdered Out Coffee Roast",
          "product_link": "https://www.google.com/shopping/product/4540151658264937775?gl=us",
          "product_id": "4540151658264937775",
          "serpapi_product_api": "https://serpapi.com/search.json?device=desktop&engine=google_product&gl=us&google_domain=google.com&hl=en&product_id=4540151658264937775",
          "number_of_comparisons": "10+",
          "source": "Amazon.com - Seller",
          "source_icon": "https://encrypted-tbn2.gstatic.com/favicon-tbn?q=tbn%3AANd9GcT0TsMMuS8IRIUU_Envbo02npaZ6DJgbXTwa-h2DSMswBydNyxi_1NukUkPuQPc8-6EH8dopTDEyU5ccMeLEvcSrbCBtAW3",
          "price": "$17.09",
          "extracted_price": 17.09,
          "old_price": "$18",
          "extracted_old_price": 18,
          "rating": 4.9,
          "reviews": 16,
          "thumbnail": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcS0D6CLaKbxf28tGF5M4c9NoUCTc-lVkUHj9D7WmK3YKXQhu7UoXUyW019LR-r1yk5_EsSEKbJDLZNRbXluypsi4_rZdzoDNuBPYiCTeN_wABeggj3LlVgS",
          "tag": "5% OFF",
          "extensions": [
            "5% OFF"
          ]
        },
        ...
      ]
    },
    {
      "title": "Ground Coffee",
      "shopping_results": [
        {
          "position": 1,
          "title": "Folgers Classic Roast Ground Coffee",
          "product_link": "https://www.google.com/shopping/product/16914877625280977865?gl=us",
          "product_id": "16914877625280977865",
          "serpapi_product_api": "https://serpapi.com/search.json?device=desktop&engine=google_product&gl=us&google_domain=google.com&hl=en&product_id=16914877625280977865",
          "number_of_comparisons": "10+",
          "source": "Target",
          "source_icon": "https://encrypted-tbn3.gstatic.com/favicon-tbn?q=tbn%3AANd9GcTEcvKCC4vYSJ0lcojmG1G8H5SxvMYMWwuZ0hBVYInrlmIpQc8-QknEydjdLUOCUc4t5gk8LzLYNskt9jyjXHnjIq2sfztY",
          "price": "$5.79",
          "extracted_price": 5.79,
          "rating": 4.6,
          "reviews": 13000,
          "thumbnail": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcSe7aoXaL6e2cS2vXejlmXvK1LWPWofxCADtNc7jBWI-e40xSqor9i7zkSaBE2EnhPE_rRYCVyKsIs9lrQUy_g20Y9eXDd01578CXnoJEk1I3PMcnpUHNiT7Q",
          "delivery": "Free $35+"
        },
        ...
      ]
    },
    {
      "title": "Fast pickup or delivery",
      "shopping_results": [
        {
          "position": 1,
          "title": "Folgers Classic Roast Ground Coffee",
          "product_link": "https://www.google.com/shopping/product/16914877625280977865?gl=us",
          "product_id": "16914877625280977865",
          "serpapi_product_api": "https://serpapi.com/search.json?device=desktop&engine=google_product&gl=us&google_domain=google.com&hl=en&product_id=16914877625280977865",
          "number_of_comparisons": "10+",
          "source": "Walmart",
          "source_icon": "https://encrypted-tbn3.gstatic.com/favicon-tbn?q=tbn%3AANd9GcTnP5ISNmbEt5sfd-d6O77v8eZaWxR-UtwYkk865osEjKrS0r8udsVsfLPjH1VQBQizWhrYkhO2STFk8WaMhokVgFUhjn2NoxU",
          "price": "$5.42",
          "extracted_price": 5.42,
          "rating": 4.6,
          "reviews": 13000,
          "extensions": [
            "2.2 mi · In stock"
          ],
          "thumbnail": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcSe7aoXaL6e2cS2vXejlmXvK1LWPWofxCADtNc7jBWI-e40xSqor9i7zkSaBE2EnhPE_rRYCVyKsIs9lrQUy_g20Y9eXDd01578CXnoJEk1I3PMcnpUHNiT7Q"
        },
        ...
      ]
    },
    ...
  ],
  "pagination": {
    "next": "https://www.google.com/search?q=Coffee&sca_esv=449428b1edf18ef7&udm=28&gl=us&hl=en&ei=BZXeZsbPKZSekPIP0qjauA4&start=20&sa=N"
  },
  "serpapi_pagination": {
    "next_link": "https://serpapi.com/search.json?device=desktop&engine=google_shopping&gl=us&google_domain=google.com&hl=en&q=Coffee&start=20",
    "next": "https://serpapi.com/search.json?device=desktop&engine=google_shopping&gl=us&google_domain=google.com&hl=en&q=Coffee&start=20"
  }
}

Sorting results from low to high Price

shoprs parameter is used to sort the results by price from low to high.

Sorting results from low to high Price

JSON Example

{
  ...
  "shopping_results": [
    {
      "position": 1,
      "title": "Jim Beam Bourbon Vanilla Flavored Ground Coffee",
      "product_link": "https://www.google.com/shopping/product/1442874032837242875?gl=us",
      "product_id": "1442874032837242875",
      "serpapi_product_api": "https://serpapi.com/search.json?device=desktop&engine=google_product&gl=us&google_domain=google.com&hl=en&product_id=1442874032837242875",
      "link": "https://www.instacart.com/products/32927451-jim-beam-bourbon-vanilla-flavored-ground-coffee-4-oz?retailer_id=1425&utm_term=pbi-0&utm_campaign=jim-beam-bourbon-vanilla-flavored-ground-coffee---4-oz_dollar-tree&utm_source=instacart_google&utm_medium=shopping_free_listing&utm_content=productid-32927451_retailerid=1425",
      "links": [
        "https://www.instacart.com/products/32927451-jim-beam-bourbon-vanilla-flavored-ground-coffee-4-oz?retailer_id=1425&utm_term=pbi-0&utm_campaign=jim-beam-bourbon-vanilla-flavored-ground-coffee---4-oz_dollar-tree&utm_source=instacart_google&utm_medium=shopping_free_listing&utm_content=productid-32927451_retailerid=1425",
        "https://www.amazon.com/Bourbon-Vanilla-Flavored-Ground-Coffee/dp/B0BXJVCYVN?source=ps-sl-shoppingads-lpcontext&ref_=fplfs&psc=1&smid=A2OV5GYQOOQ745",
        "https://www.ebay.com/itm/285991448877?chn=ps&mkevt=1&mkcid=28&srsltid=AfmBOorS-A-wvuRyBJFIPfZLRLVYLnzG9PWntTxWKrhopRX5-MMgu6MaK74"
      ],
      "number_of_comparisons": "3+",
      "source": "Instacart",
      "source_icon": "https://encrypted-tbn2.gstatic.com/favicon-tbn?q=tbn%3AANd9GcRngqAbfW0x23n8oqJtdFVknt6-sMA1P5DgMtGr-NXEJU4l7AaZbDYJ7gEMwhCy47cf2gYkhikc10DvrotTsSgIrZVaD4jVYCLNng",
      "price": "$1.25",
      "extracted_price": 1.25,
      "rating": 5,
      "reviews": 1,
      "snippet": "Medium Roast · Vanilla · 4 oz",
      "thumbnail": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcTLP1vK_ol3X2f_JFftu5ustef7bYJhi6ur6yZPVii52UsUtsh_pyYCiW-EXX-z9YooFDH_raGPr15LH_qtPGcNmDMVOWur7-9DBBk6nCwQOPkV6biBsEs"
    },
    {
      "position": 2,
      "title": "Nescafe Classic Coffee",
      "product_link": "https://www.google.com/shopping/product/15066607414922740163?gl=us",
      "product_id": "15066607414922740163",
      "serpapi_product_api": "https://serpapi.com/search.json?device=desktop&engine=google_product&gl=us&google_domain=google.com&hl=en&product_id=15066607414922740163",
      "link": "https://fetchnbuy.in/products/nescafe-classic-coffee-glass-jar-50g?currency=INR&variant=41536260014248&utm_source=google&utm_medium=cpc&utm_campaign=Google%20Shopping&stkn=367865669ac8",
      "links": [
        "https://fetchnbuy.in/products/nescafe-classic-coffee-glass-jar-50g?currency=INR&variant=41536260014248&utm_source=google&utm_medium=cpc&utm_campaign=Google%20Shopping&stkn=367865669ac8",
        "https://www.walmart.com/ip/NESCAFE-Classic-Instant-Coffee-Powder-Pouch-50g/5444688967?wmlspartner=wlpa&selectedSellerId=101445939",
        "https://www.ebay.com/itm/335420155616?chn=ps&mkevt=1&mkcid=28&srsltid=AfmBOoo9PzH-HZFtdodKJ49p_-ujP14UkR99kDnCsis2JDWcN-5am4XjnoM"
      ],
      "number_of_comparisons": "10+",
      "source": "Fetch N Buy",
      "source_icon": "https://encrypted-tbn2.gstatic.com/favicon-tbn?q=tbn%3AANd9GcQGmaZaewgq7bay9hEIT8cUXDhIPLPmORu7gTWXcGATkVeopBjv1oG6U3rlLbbg-rUprPdyGefgIPnV2DmJtU93mQ2aUQ",
      "price": "$1.96",
      "extracted_price": 1.96,
      "rating": 4.8,
      "reviews": 1800,
      "snippet": "Tastes good (75 user reviews)",
      "extensions": [
        "30-day returns"
      ],
      "thumbnail": "https://encrypted-tbn1.gstatic.com/shopping?q=tbn:ANd9GcTU_a-FSmuJkuv2f9pKQJxZGiGi0z8voOhuzeIznKm7TEfiHxLJRAyhIw8Od4U9Mf7lLpIZTJyReOockG662YLO2uRiIJuHyF-9rgzlULxLdkjyDsue17Uh7Q"
    },
    {
      "position": 3,
      "title": "Bones Coffee Co. S'morey Time Cold Brew Latte",
      "product_link": "https://www.google.com/shopping/product/3381956491686238051?gl=us",
      "product_id": "3381956491686238051",
      "serpapi_product_api": "https://serpapi.com/search.json?device=desktop&engine=google_product&gl=us&google_domain=google.com&hl=en&product_id=3381956491686238051",
      "link": "https://www.bonescoffee.com/products/smorey-time-cold-brew-latte-single-can?variant=44349986570292?variant=44349986570292&srsltid=AfmBOoo4NnjXGAVzcTq6M_jIZ88oCCw2-8VGYpIdNrw3JFBviU2DedEgl0Y",
      "links": [
        "https://www.bonescoffee.com/products/smorey-time-cold-brew-latte-single-can?variant=44349986570292?variant=44349986570292&srsltid=AfmBOoo4NnjXGAVzcTq6M_jIZ88oCCw2-8VGYpIdNrw3JFBviU2DedEgl0Y",
        "https://www.walmart.com/ip/Bones-Coffee-Company-Ready-to-Drink-Cold-Brew-Coffee-Can-S-morey-Time-Flavor-11-fl-oz/2043462902?wl13=85&selectedSellerId=0&wmlspartner=wlpa",
        "https://www.target.com/p/bones-coffee-company-s-morey-time-flavored-cold-brew-coffee-s-mores-graham-crackers-flavor/-/A-91254928?ref=tgt_adv_xsf&AFID=google&CPNG=Dry%2BGrocery+-+Target+Plus&adgroup=231-10"
      ],
      "number_of_comparisons": "5+",
      "source": "Bones Coffee Company",
      "source_icon": "https://encrypted-tbn2.gstatic.com/favicon-tbn?q=tbn%3AANd9GcSP-3CAlIHM4vrNOnJx5Jd7oBV13KVkk1fiPTxyM09zvi5dG3Cb77DP5Yk91NGg0tnVV2YHLB83fSvddh4G2eFtTFdFtAhWT5aKHscH",
      "price": "$2.98",
      "extracted_price": 2.98,
      "rating": 4.1,
      "reviews": 11,
      "snippet": "Can · Ready-to-Drink · No Sugar Added",
      "extensions": [
        "30-day returns"
      ],
      "thumbnail": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcS-qnddsHkckFRVIYZBWyPDdZfXWi-xTEPYDNTromfzrY169AaXSImiFvSaFV_xruaEntQlqDGCJVcBAj6ha7yKP6xsF_RlV5oUNmPrIWzkJx6ZVL_gnVyVOA",
      "delivery": "Free $75+"
    },
    ...
  ],
  ...
}

Filtering using natural language

shoprs parameter is not used in this example. Instead, we are using natural language. By adding ... that use can in the query, we are filtering the results similarly to the previous example.

Filtering using natural language

JSON Example

{
  ...
  "shopping_results": [
    {
      "position": 1,
      "title": "High Brew Coffee Cold Brew Triple Shot Black",
      "product_link": "https://www.google.com/shopping/product/14001293297131079167?gl=us",
      "product_id": "14001293297131079167",
      "serpapi_product_api": "https://serpapi.com/search.json?device=desktop&engine=google_product&gl=us&google_domain=google.com&hl=en&product_id=14001293297131079167",
      "link": "https://www.amazon.com/High-Brew-Coffee-Black-Triple/dp/B07NJN39RC?source=ps-sl-shoppingads-lpcontext&ref_=fplfs&psc=1&smid=ATVPDKIKX0DER",
      "links": [
        "https://www.amazon.com/High-Brew-Coffee-Black-Triple/dp/B07NJN39RC?source=ps-sl-shoppingads-lpcontext&ref_=fplfs&psc=1&smid=ATVPDKIKX0DER",
        "https://blidz.com/web/deal/66a2cd0a04b0d61872fe9d45?srsltid=AfmBOoowJIREDGOOQItItMJTzVh0a8qoLOI6ezxbH70T8o069EPEjJby950",
        "https://www.walmart.com/ip/High-Brew-Cold-Brew-Coffee-Triple-Shot-Black-11-Oz-Pack-of-12/1213633796?wmlspartner=wlpa&selectedSellerId=101021359"
      ],
      "number_of_comparisons": "3+",
      "source": "Amazon.com",
      "source_icon": "https://encrypted-tbn2.gstatic.com/favicon-tbn?q=tbn%3AANd9GcT0TsMMuS8IRIUU_Envbo02npaZ6DJgbXTwa-h2DSMswBydNyxi_1NukUkPuQPc8-6EH8dopTDEyU5ccMeLEvcSrbCBtAW3",
      "price": "$31.38",
      "extracted_price": 31.38,
      "rating": 4.9,
      "reviews": 19,
      "extensions": [
        "30-day returns"
      ],
      "thumbnail": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcSlILd_Ad2q0cCiLD7OpRdbMyOhiHPjpxTz7gMJVoUb7AHrgC7lrEXxVZz8N3ElUbQCsiM7x_NpTTpmbcVsZBlgs2qasLq8AYvwrN60RVZDhVE_Qj6WaLtZ"
    },
    {
      "position": 2,
      "title": "UCC Original Blend Coffee with Milk",
      "product_link": "https://www.google.com/shopping/product/4551140284869113595?gl=us",
      "product_id": "4551140284869113595",
      "serpapi_product_api": "https://serpapi.com/search.json?device=desktop&engine=google_product&gl=us&google_domain=google.com&hl=en&product_id=4551140284869113595",
      "link": "https://eshop.tokyocentral.com/products/ucc-milk-coffee-can-337ml?variant=47836232220965&currency=USD&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic&srsltid=AfmBOopDfOylIoSRX2phHLozHJlaCkFBSsvz-9ljdE8J91X6USKTGE2iny4",
      "links": [
        "https://eshop.tokyocentral.com/products/ucc-milk-coffee-can-337ml?variant=47836232220965&currency=USD&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic&srsltid=AfmBOopDfOylIoSRX2phHLozHJlaCkFBSsvz-9ljdE8J91X6USKTGE2iny4",
        "https://www.walmart.com/ip/UCC-Coffee-with-Milk-11-3-fl-oz/34482871?wmlspartner=wlpa&selectedSellerId=101606232",
        "https://gohanmarket.com/products/ucc-coffee-w-milk-can-9-1floz?variant=32130042429491&currency=USD&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic&srsltid=AfmBOoqsVGrXdW5sglzR3kcwsJuD57uT_-KaogkeyX3xPQfHZeZpD9Ut1H8"
      ],
      "number_of_comparisons": "10+",
      "source": "Tokyo Central",
      "source_icon": "https://encrypted-tbn2.gstatic.com/favicon-tbn?q=tbn%3AANd9GcREEJPXQDt_vARILNGtTX6HrXuAYR2637W5Jsm4sRWwpXh0fekk527RaQCvLlxnfuesCU5f_sHtUKp75T3KcEs_rpJFehGSGEmL0i8PyFba",
      "price": "$1.69",
      "extracted_price": 1.69,
      "old_price": "$2",
      "extracted_old_price": 2,
      "rating": 4.4,
      "reviews": 10,
      "thumbnail": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcRZVS_1tA554QEByV3hqq1v5nNWBzCmN4jAMhIYcr6NHI6zpBwzzcVg4eP8LFxNaOAkmAr6QStM6W_E0bwgk48UWCxoHDgU1o0hV20fIRaP",
      "tag": "15% OFF",
      "extensions": [
        "15% OFF"
      ]
    },
    {
      "position": 3,
      "title": "Vanilla Crafted Cold Brew Canned Coffee | Caribou Coffee",
      "product_link": "https://www.google.com/shopping/product/1?gl=us&prds=pid:15203517303923432355",
      "product_id": "15203517303923432355",
      "serpapi_product_api": "https://serpapi.com/search.json?device=desktop&engine=google_product&gl=us&google_domain=google.com&hl=en&product_id=15203517303923432355",
      "link": "https://www.cariboucoffee.com/product/cold-brew-vanilla-crafted-coffee-12pk-cans/?srsltid=AfmBOopfFpbgyBsNkvqzTLbCJ-BDr6av98vKOSuv5L7_Wy83Gwp_JCqWg-U",
      "links": [
        "https://www.cariboucoffee.com/product/cold-brew-vanilla-crafted-coffee-12pk-cans/?srsltid=AfmBOopfFpbgyBsNkvqzTLbCJ-BDr6av98vKOSuv5L7_Wy83Gwp_JCqWg-U"
      ],
      "source": "Caribou Coffee",
      "source_icon": "https://encrypted-tbn3.gstatic.com/favicon-tbn?q=tbn%3AANd9GcSU5iqyUMI6b6hh6uv2VSJ3f5qcUY2ReXD1TOyxMJXX4YA2K7HmLOAFkdIcHUeuJeMKfh_Dv0K7bUJygtPeLNjYtT9_3Mc1-3HxKwEZezE",
      "price": "$37.99",
      "extracted_price": 37.99,
      "extensions": [
        "30-day returns"
      ],
      "thumbnail": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcT1hlyhunATIFvX0_v0XG5hGotyMEVr4yyVOSsS9h4PrHu4pMbP_SlMlZS0SEAESRS2Pcrsn9O0fLvA9_dea1CLHEEuDyzGGpXwUW3bZkJEgkHB9nEM5yglyw"
    },
    ...
  ],
  ...
}