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.
- Pagination's start parameter is not recommended. To easily retrieve paginated results accurately, it is advisable to follow the link provided in serpapi_pagination.next
.
- 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
.
direct_link
Optional
The parameter determine if the search results should include direct link of each products. By default it is false
, if you need direct link, set it to true
.
This parameter only applies to the new layout (US and few other countries). Most countries have not yet switched to the new layout, so the link
will be present without needing this parameter.
When using this parameter, it is expected the search will take longer than a normal search request.
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 parameter is not recommended. 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.
API Results
Full results for q: Coffee
{
"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"
}
}
Results with Direct Link for q: Coffee
The new layout in Google Shopping doesn't include the direct link to the product. SerpApi has to make extra requests to get the direct link. Due to this, we require the direct_link parameter to be enabled. As a side effect, the search request might take longer than a normal search request.
SerpApi is able to get multiple direct links as links
for each product when they are available.
{
...
"shopping_results": [
{
"position": 1,
"title": "Maxwell House Wake Up Medium 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",
"link": "https://www.cvs.com/shop/maxwell-house-ground-coffee-wake-up-roast-30-65-oz-prodid-861983?skuId=861983&cgaa=QWxsb3dHb29nbGVUb0FjY2Vzc0NWU1BhZ2Vz",
"links": [
"https://www.cvs.com/shop/maxwell-house-ground-coffee-wake-up-roast-30-65-oz-prodid-861983?skuId=861983&cgaa=QWxsb3dHb29nbGVUb0FjY2Vzc0NWU1BhZ2Vz",
"https://www.ebay.com/itm/387234384109?chn=ps&mkevt=1&mkcid=28&srsltid=AfmBOorU-6LEhHklEOa9sQz7CrPqBQesbpH46dsdqkR4RpQwAQ09nwMKWdY",
"https://www.ubereats.com/product/b/2ea42b24-6767-52cc-9e0f-b68da3f9fa79?utm_campaign=google-shopping-free-listings&utm_medium=organic&utm_source=google&srsltid=AfmBOorf2jBduF33xeKHgVSe0nKB2kHP8LlE-b11ELIgZp21XuEPiyA1ta0®ion_id=1040056000075159041300101511010410040505030503110309010500071402050504041404110306"
],
"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": [
"60-day returns",
"55% OFF"
],
"thumbnail": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcSGP0iPIEQJHjx9e9vprjGyL_ETs9I6SyEuRbieGYaz-LzF4yXc5ploHLeoBR3UXCdyATRimMZJ-sg-C33tHAWE2XCDNJd_YaKtCCDaf7qaXc3qF-cfj9z0",
"tag": "55% OFF",
"delivery": "Free $35+"
},
{
"position": 2,
"title": "Death Wish Coffee Co Whole Bean Dark Roast Coffee",
"product_link": "https://www.google.com/shopping/product/4513377598390994170?gl=us",
"product_id": "4513377598390994170",
"serpapi_product_api": "https://serpapi.com/search.json?device=desktop&engine=google_product&gl=us&google_domain=google.com&hl=en&product_id=4513377598390994170",
"link": "https://www.deathwishcoffee.com/products/death-wish-coffee?variant=2414002503693¤cy=USD&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic&srsltid=AfmBOoraWk22DFpU5DEeF4NbaIVWTrfJGVEFJVORBNBe0tBqkeu1Lj89zw4",
"links": [
"https://www.deathwishcoffee.com/products/death-wish-coffee?variant=2414002503693¤cy=USD&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic&srsltid=AfmBOoraWk22DFpU5DEeF4NbaIVWTrfJGVEFJVORBNBe0tBqkeu1Lj89zw4",
"https://www.amazon.com/Death-Wish-Organic-Certified-Coffee/dp/B006CNTR6W?source=ps-sl-shoppingads-lpcontext&ref_=fplfs&psc=1&smid=A3FFNGPA34M6B1",
"https://www.walmart.com/ip/Death-Wish-Coffee-Organic-and-Fair-Trade-Dark-Roast-Whole-Bean-Coffee-16oz/326922352?wmlspartner=wlpa&selectedSellerId=101398653"
],
"number_of_comparisons": "10+",
"source": "Death Wish Coffee Company",
"source_icon": "https://encrypted-tbn2.gstatic.com/favicon-tbn?q=tbn%3AANd9GcT3xpS8aLa1ivOxeHyWvRGBXbhgo_A5FgGRlBTVarzT7wjaQU_uH6wFDHNaQ3bsWbOini649L-mTNBU-SjN276G42MOU6acT2n-4qriYIeq5Q",
"price": "$15.99",
"extracted_price": 15.99,
"old_price": "$20",
"extracted_old_price": 20,
"rating": 4.8,
"reviews": 5200,
"extensions": [
"Free 30-day returns",
"20% OFF"
],
"thumbnail": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcTJXdzj6ra6FxIeh9Tgm4o_GbkTanmcQpWT2pROYMYIhqX8Hl8PcnOXKBAYUAxLpBxJ6h6HH7k2OTc6t36CmYK6jtC80hCsHX2HbW1tbtyvhW4LlmrYi_pl",
"tag": "20% OFF",
"delivery": "Free $50+"
},
{
"position": 3,
"title": "Dunkin Ground Coffee Original Blend Medium Roast",
"product_link": "https://www.google.com/shopping/product/13144439343082777610?gl=us",
"product_id": "13144439343082777610",
"serpapi_product_api": "https://serpapi.com/search.json?device=desktop&engine=google_product&gl=us&google_domain=google.com&hl=en&product_id=13144439343082777610",
"link": "https://www.target.com/p/dunkin-39-original-blend-medium-roast-ground-coffee-12oz/-/A-13399846?sid=2075S&afid=google&ref=tgt_adv_xsf&CPNG=Dry+Grocery&adgroup=231-10",
"links": [
"https://www.target.com/p/dunkin-39-original-blend-medium-roast-ground-coffee-12oz/-/A-13399846?sid=2075S&afid=google&ref=tgt_adv_xsf&CPNG=Dry+Grocery&adgroup=231-10",
"https://www.amazon.com/Dunkin-Donuts-Original-Medium-Ground/dp/B009HSNDI2?source=ps-sl-shoppingads-lpcontext&ref_=fplfs&psc=1&smid=ATVPDKIKX0DER",
"https://www.walmart.com/ip/Dunkin-Original-Blend-Ground-Coffee-Medium-Roast-12-Oz-Bag/10448644?wl13=5891&selectedSellerId=0&wmlspartner=wlpa"
],
"number_of_comparisons": "10+",
"source": "Target",
"source_icon": "https://encrypted-tbn3.gstatic.com/favicon-tbn?q=tbn%3AANd9GcTEcvKCC4vYSJ0lcojmG1G8H5SxvMYMWwuZ0hBVYInrlmIpQc8-QknEydjdLUOCUc4t5gk8LzLYNskt9jyjXHnjIq2sfztY",
"price": "$9.99",
"extracted_price": 9.99,
"rating": 4.6,
"reviews": 10000,
"extensions": [
"Free 90-day returns"
],
"thumbnail": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcQww8-gHGWqq1oFk25Jc7CAi8wqs_rmfsQIjwrZu6pzRydlBgZYs8Qrz5bq-mofzUlGPvY8vj5dF5fWtPYzmA7zNS071FnksCHN6un_KriYLObKfOs_cRin",
"delivery": "Free $35+"
},
...
],
...
}
Sorting results from low to high Price
shoprs parameter is used to sort the results by price from low to high.
{
...
"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 and sorting results in single search
shoprs parameter is used to filter and sort the results. In this example, we are filtering the results to show only the products that have Can as a container and sorting the results by price from low to high.
{
...
"shopping_results": [
{
"position": 1,
"title": "Butter-Nut Original Blend Ground Coffee, Medium Roast, 12 Ounce Steel Can",
"product_link": "https://www.google.com/shopping/product/1?gl=us&prds=pid:17316450535194736535",
"product_id": "17316450535194736535",
"serpapi_product_api": "https://serpapi.com/search.json?device=desktop&engine=google_product&gl=us&google_domain=google.com&hl=en&product_id=17316450535194736535",
"link": "https://blidz.com/web/deal/63f2dc627392a57828dccf35?srsltid=AfmBOop8HzpkJHJ8sSNdYmZcy2ac0TGTkVv-T8Jd-9ODTiXpXr_91blWx4c",
"links": [
"https://blidz.com/web/deal/63f2dc627392a57828dccf35?srsltid=AfmBOop8HzpkJHJ8sSNdYmZcy2ac0TGTkVv-T8Jd-9ODTiXpXr_91blWx4c"
],
"source": "Blidz",
"source_icon": "https://encrypted-tbn0.gstatic.com/favicon-tbn?q=tbn%3AANd9GcTTJ0jEax8orAQ7NkCM4iUnWJS8QAaxnXc0mAkFqnoxgc3EPVkB5_2rPQiC551mgN5wMxsryQyG6F8V4S-fmZUEglM",
"price": "$0.99",
"extracted_price": 0.99,
"rating": 5,
"reviews": 1,
"snippet": "Medium Roast · 12 oz · Ground",
"extensions": [
"30-day returns"
],
"thumbnail": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcQQodu7JOduUtoxAc7Q8ZJ-gBMh2RZUDw8q3tqNYBfV8htRooazQ6eXxw6jcjSJn60XwIE0NBXZ",
"delivery": "Free delivery"
},
{
"position": 2,
"title": "Rise Brewing Co Nitro Cold Brew Coffee Original Black",
"product_link": "https://www.google.com/shopping/product/2673734966866871804?gl=us",
"product_id": "2673734966866871804",
"serpapi_product_api": "https://serpapi.com/search.json?device=desktop&engine=google_product&gl=us&google_domain=google.com&hl=en&product_id=2673734966866871804",
"link": "https://northwestfinewines.com/shop/product/rise-nitro-cold-brew/5c93fdcdb7cf4712ca718884?option-id=2249b49ca5dbad2f7c41b4c62a0252ecc9fda39416cbbfa5df92be3e0be9c05d",
"links": [
"https://northwestfinewines.com/shop/product/rise-nitro-cold-brew/5c93fdcdb7cf4712ca718884?option-id=2249b49ca5dbad2f7c41b4c62a0252ecc9fda39416cbbfa5df92be3e0be9c05d",
"https://www.amazon.com/RISE-Brewing-Co-Original-Coffee/dp/B0788DWH4Q?source=ps-sl-shoppingads-lpcontext&ref_=fplfs&psc=1&smid=APT8M1YL3WZKF",
"https://www.walmart.com/ip/RISE-Brewing-Co-Original-Black-Nitro-Cold-Brew-Coffee-7-fl-oz-Can/899392012?wmlspartner=wlpa&selectedSellerId=0"
],
"number_of_comparisons": "10+",
"source": "Northwest",
"source_icon": "https://encrypted-tbn1.gstatic.com/favicon-tbn?q=tbn%3AANd9GcQyPfBzkjR5QW_c7Ug1UFZ2PHfjKkKGcq_sC9aKHkerC7mm8kcZssN78Y-QVW0lNj_jOGvwA8PyE7wAD75e3Bng7ilzhKDZ3lp8VCm-_QC0",
"price": "$0.99",
"extracted_price": 0.99,
"rating": 4.8,
"reviews": 297,
"snippet": "Tastes good (35 user reviews)",
"thumbnail": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcTyNiWtfm8Ee6q-_zEaTNrBgIlL-FekgDoZ91koy-VynwKbPyaf4qNkwTu0lA"
},
{
"position": 3,
"title": "Mr Brown Iced Coffee Blue Mountain",
"product_link": "https://www.google.com/shopping/product/5294469377138806497?gl=us",
"product_id": "5294469377138806497",
"serpapi_product_api": "https://serpapi.com/search.json?device=desktop&engine=google_product&gl=us&google_domain=google.com&hl=en&product_id=5294469377138806497",
"link": "https://shop.fubonn.com/product/0002561620250",
"links": [
"https://shop.fubonn.com/product/0002561620250",
"https://www.walmart.com/ip/Mr-Brown-Blue-Mountain-Blend-Iced-Coffee-8-12-Fl-Oz/147389227?wl13=2641&selectedSellerId=0&wmlspartner=wlpa",
"https://www.amazon.com/Mr-Brown-Coffee-Mountain-Ounce/dp/B00FVWQUM4?source=ps-sl-shoppingads-lpcontext&ref_=fplfs&psc=1&smid=ATVPDKIKX0DER"
],
"number_of_comparisons": "10+",
"source": "Fubonn Supermarket",
"source_icon": "https://encrypted-tbn0.gstatic.com/favicon-tbn?q=tbn%3AANd9GcTli1TBGIcopA4rkIAr8KjspKfBnHRl95Yyb7yZ2gA6ckPfE6EYltGuEhlKWZvtW1CrXujziUNmHJoJLHzla5eaBo4rOak5_18",
"price": "$1.29",
"extracted_price": 1.29,
"rating": 4.6,
"reviews": 87,
"snippet": "8 count · Ready-to-Drink · Can",
"thumbnail": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcRuF9PFgp0ROR-fIyJP66xDxByoT19i73J1lZh5MnhM68KrGqdiGsUfzhrjlVA_pKBNVGsOUDyT",
"delivery": "$8.50 same-day"
},
...
],
...
}
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.
{
...
"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¤cy=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¤cy=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¤cy=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"
},
...
],
...
}
Full results for q: Coffee
{
"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"
}
}
Results with Direct Link for q: Coffee
The new layout in Google Shopping doesn't include the direct link to the product. SerpApi has to make extra requests to get the direct link. Due to this, we require the direct_link parameter to be enabled. As a side effect, the search request might take longer than a normal search request.
SerpApi is able to get multiple direct links as links
for each product when they are available.
{
...
"shopping_results": [
{
"position": 1,
"title": "Maxwell House Wake Up Medium 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",
"link": "https://www.cvs.com/shop/maxwell-house-ground-coffee-wake-up-roast-30-65-oz-prodid-861983?skuId=861983&cgaa=QWxsb3dHb29nbGVUb0FjY2Vzc0NWU1BhZ2Vz",
"links": [
"https://www.cvs.com/shop/maxwell-house-ground-coffee-wake-up-roast-30-65-oz-prodid-861983?skuId=861983&cgaa=QWxsb3dHb29nbGVUb0FjY2Vzc0NWU1BhZ2Vz",
"https://www.ebay.com/itm/387234384109?chn=ps&mkevt=1&mkcid=28&srsltid=AfmBOorU-6LEhHklEOa9sQz7CrPqBQesbpH46dsdqkR4RpQwAQ09nwMKWdY",
"https://www.ubereats.com/product/b/2ea42b24-6767-52cc-9e0f-b68da3f9fa79?utm_campaign=google-shopping-free-listings&utm_medium=organic&utm_source=google&srsltid=AfmBOorf2jBduF33xeKHgVSe0nKB2kHP8LlE-b11ELIgZp21XuEPiyA1ta0®ion_id=1040056000075159041300101511010410040505030503110309010500071402050504041404110306"
],
"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": [
"60-day returns",
"55% OFF"
],
"thumbnail": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcSGP0iPIEQJHjx9e9vprjGyL_ETs9I6SyEuRbieGYaz-LzF4yXc5ploHLeoBR3UXCdyATRimMZJ-sg-C33tHAWE2XCDNJd_YaKtCCDaf7qaXc3qF-cfj9z0",
"tag": "55% OFF",
"delivery": "Free $35+"
},
{
"position": 2,
"title": "Death Wish Coffee Co Whole Bean Dark Roast Coffee",
"product_link": "https://www.google.com/shopping/product/4513377598390994170?gl=us",
"product_id": "4513377598390994170",
"serpapi_product_api": "https://serpapi.com/search.json?device=desktop&engine=google_product&gl=us&google_domain=google.com&hl=en&product_id=4513377598390994170",
"link": "https://www.deathwishcoffee.com/products/death-wish-coffee?variant=2414002503693¤cy=USD&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic&srsltid=AfmBOoraWk22DFpU5DEeF4NbaIVWTrfJGVEFJVORBNBe0tBqkeu1Lj89zw4",
"links": [
"https://www.deathwishcoffee.com/products/death-wish-coffee?variant=2414002503693¤cy=USD&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic&srsltid=AfmBOoraWk22DFpU5DEeF4NbaIVWTrfJGVEFJVORBNBe0tBqkeu1Lj89zw4",
"https://www.amazon.com/Death-Wish-Organic-Certified-Coffee/dp/B006CNTR6W?source=ps-sl-shoppingads-lpcontext&ref_=fplfs&psc=1&smid=A3FFNGPA34M6B1",
"https://www.walmart.com/ip/Death-Wish-Coffee-Organic-and-Fair-Trade-Dark-Roast-Whole-Bean-Coffee-16oz/326922352?wmlspartner=wlpa&selectedSellerId=101398653"
],
"number_of_comparisons": "10+",
"source": "Death Wish Coffee Company",
"source_icon": "https://encrypted-tbn2.gstatic.com/favicon-tbn?q=tbn%3AANd9GcT3xpS8aLa1ivOxeHyWvRGBXbhgo_A5FgGRlBTVarzT7wjaQU_uH6wFDHNaQ3bsWbOini649L-mTNBU-SjN276G42MOU6acT2n-4qriYIeq5Q",
"price": "$15.99",
"extracted_price": 15.99,
"old_price": "$20",
"extracted_old_price": 20,
"rating": 4.8,
"reviews": 5200,
"extensions": [
"Free 30-day returns",
"20% OFF"
],
"thumbnail": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcTJXdzj6ra6FxIeh9Tgm4o_GbkTanmcQpWT2pROYMYIhqX8Hl8PcnOXKBAYUAxLpBxJ6h6HH7k2OTc6t36CmYK6jtC80hCsHX2HbW1tbtyvhW4LlmrYi_pl",
"tag": "20% OFF",
"delivery": "Free $50+"
},
{
"position": 3,
"title": "Dunkin Ground Coffee Original Blend Medium Roast",
"product_link": "https://www.google.com/shopping/product/13144439343082777610?gl=us",
"product_id": "13144439343082777610",
"serpapi_product_api": "https://serpapi.com/search.json?device=desktop&engine=google_product&gl=us&google_domain=google.com&hl=en&product_id=13144439343082777610",
"link": "https://www.target.com/p/dunkin-39-original-blend-medium-roast-ground-coffee-12oz/-/A-13399846?sid=2075S&afid=google&ref=tgt_adv_xsf&CPNG=Dry+Grocery&adgroup=231-10",
"links": [
"https://www.target.com/p/dunkin-39-original-blend-medium-roast-ground-coffee-12oz/-/A-13399846?sid=2075S&afid=google&ref=tgt_adv_xsf&CPNG=Dry+Grocery&adgroup=231-10",
"https://www.amazon.com/Dunkin-Donuts-Original-Medium-Ground/dp/B009HSNDI2?source=ps-sl-shoppingads-lpcontext&ref_=fplfs&psc=1&smid=ATVPDKIKX0DER",
"https://www.walmart.com/ip/Dunkin-Original-Blend-Ground-Coffee-Medium-Roast-12-Oz-Bag/10448644?wl13=5891&selectedSellerId=0&wmlspartner=wlpa"
],
"number_of_comparisons": "10+",
"source": "Target",
"source_icon": "https://encrypted-tbn3.gstatic.com/favicon-tbn?q=tbn%3AANd9GcTEcvKCC4vYSJ0lcojmG1G8H5SxvMYMWwuZ0hBVYInrlmIpQc8-QknEydjdLUOCUc4t5gk8LzLYNskt9jyjXHnjIq2sfztY",
"price": "$9.99",
"extracted_price": 9.99,
"rating": 4.6,
"reviews": 10000,
"extensions": [
"Free 90-day returns"
],
"thumbnail": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcQww8-gHGWqq1oFk25Jc7CAi8wqs_rmfsQIjwrZu6pzRydlBgZYs8Qrz5bq-mofzUlGPvY8vj5dF5fWtPYzmA7zNS071FnksCHN6un_KriYLObKfOs_cRin",
"delivery": "Free $35+"
},
...
],
...
}
Sorting results from low to high Price
shoprs parameter is used to sort the results by price from low to high.
{
...
"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 and sorting results in single search
shoprs parameter is used to filter and sort the results. In this example, we are filtering the results to show only the products that have Can as a container and sorting the results by price from low to high.
{
...
"shopping_results": [
{
"position": 1,
"title": "Butter-Nut Original Blend Ground Coffee, Medium Roast, 12 Ounce Steel Can",
"product_link": "https://www.google.com/shopping/product/1?gl=us&prds=pid:17316450535194736535",
"product_id": "17316450535194736535",
"serpapi_product_api": "https://serpapi.com/search.json?device=desktop&engine=google_product&gl=us&google_domain=google.com&hl=en&product_id=17316450535194736535",
"link": "https://blidz.com/web/deal/63f2dc627392a57828dccf35?srsltid=AfmBOop8HzpkJHJ8sSNdYmZcy2ac0TGTkVv-T8Jd-9ODTiXpXr_91blWx4c",
"links": [
"https://blidz.com/web/deal/63f2dc627392a57828dccf35?srsltid=AfmBOop8HzpkJHJ8sSNdYmZcy2ac0TGTkVv-T8Jd-9ODTiXpXr_91blWx4c"
],
"source": "Blidz",
"source_icon": "https://encrypted-tbn0.gstatic.com/favicon-tbn?q=tbn%3AANd9GcTTJ0jEax8orAQ7NkCM4iUnWJS8QAaxnXc0mAkFqnoxgc3EPVkB5_2rPQiC551mgN5wMxsryQyG6F8V4S-fmZUEglM",
"price": "$0.99",
"extracted_price": 0.99,
"rating": 5,
"reviews": 1,
"snippet": "Medium Roast · 12 oz · Ground",
"extensions": [
"30-day returns"
],
"thumbnail": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcQQodu7JOduUtoxAc7Q8ZJ-gBMh2RZUDw8q3tqNYBfV8htRooazQ6eXxw6jcjSJn60XwIE0NBXZ",
"delivery": "Free delivery"
},
{
"position": 2,
"title": "Rise Brewing Co Nitro Cold Brew Coffee Original Black",
"product_link": "https://www.google.com/shopping/product/2673734966866871804?gl=us",
"product_id": "2673734966866871804",
"serpapi_product_api": "https://serpapi.com/search.json?device=desktop&engine=google_product&gl=us&google_domain=google.com&hl=en&product_id=2673734966866871804",
"link": "https://northwestfinewines.com/shop/product/rise-nitro-cold-brew/5c93fdcdb7cf4712ca718884?option-id=2249b49ca5dbad2f7c41b4c62a0252ecc9fda39416cbbfa5df92be3e0be9c05d",
"links": [
"https://northwestfinewines.com/shop/product/rise-nitro-cold-brew/5c93fdcdb7cf4712ca718884?option-id=2249b49ca5dbad2f7c41b4c62a0252ecc9fda39416cbbfa5df92be3e0be9c05d",
"https://www.amazon.com/RISE-Brewing-Co-Original-Coffee/dp/B0788DWH4Q?source=ps-sl-shoppingads-lpcontext&ref_=fplfs&psc=1&smid=APT8M1YL3WZKF",
"https://www.walmart.com/ip/RISE-Brewing-Co-Original-Black-Nitro-Cold-Brew-Coffee-7-fl-oz-Can/899392012?wmlspartner=wlpa&selectedSellerId=0"
],
"number_of_comparisons": "10+",
"source": "Northwest",
"source_icon": "https://encrypted-tbn1.gstatic.com/favicon-tbn?q=tbn%3AANd9GcQyPfBzkjR5QW_c7Ug1UFZ2PHfjKkKGcq_sC9aKHkerC7mm8kcZssN78Y-QVW0lNj_jOGvwA8PyE7wAD75e3Bng7ilzhKDZ3lp8VCm-_QC0",
"price": "$0.99",
"extracted_price": 0.99,
"rating": 4.8,
"reviews": 297,
"snippet": "Tastes good (35 user reviews)",
"thumbnail": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcTyNiWtfm8Ee6q-_zEaTNrBgIlL-FekgDoZ91koy-VynwKbPyaf4qNkwTu0lA"
},
{
"position": 3,
"title": "Mr Brown Iced Coffee Blue Mountain",
"product_link": "https://www.google.com/shopping/product/5294469377138806497?gl=us",
"product_id": "5294469377138806497",
"serpapi_product_api": "https://serpapi.com/search.json?device=desktop&engine=google_product&gl=us&google_domain=google.com&hl=en&product_id=5294469377138806497",
"link": "https://shop.fubonn.com/product/0002561620250",
"links": [
"https://shop.fubonn.com/product/0002561620250",
"https://www.walmart.com/ip/Mr-Brown-Blue-Mountain-Blend-Iced-Coffee-8-12-Fl-Oz/147389227?wl13=2641&selectedSellerId=0&wmlspartner=wlpa",
"https://www.amazon.com/Mr-Brown-Coffee-Mountain-Ounce/dp/B00FVWQUM4?source=ps-sl-shoppingads-lpcontext&ref_=fplfs&psc=1&smid=ATVPDKIKX0DER"
],
"number_of_comparisons": "10+",
"source": "Fubonn Supermarket",
"source_icon": "https://encrypted-tbn0.gstatic.com/favicon-tbn?q=tbn%3AANd9GcTli1TBGIcopA4rkIAr8KjspKfBnHRl95Yyb7yZ2gA6ckPfE6EYltGuEhlKWZvtW1CrXujziUNmHJoJLHzla5eaBo4rOak5_18",
"price": "$1.29",
"extracted_price": 1.29,
"rating": 4.6,
"reviews": 87,
"snippet": "8 count · Ready-to-Drink · Can",
"thumbnail": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcRuF9PFgp0ROR-fIyJP66xDxByoT19i73J1lZh5MnhM68KrGqdiGsUfzhrjlVA_pKBNVGsOUDyT",
"delivery": "$8.50 same-day"
},
...
],
...
}
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.
{
...
"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¤cy=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¤cy=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¤cy=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"
},
...
],
...
}