Google Shopping API
Google Shopping API uses /api/v1/search?engine=google_shopping
API endpoint to scrape real-time results.
The Google Shopping API delivers a dynamic product search and comparison service. It compiles product data from a multitude of biggest merchants across the globe, categorizes similar products, and presents them in accordance with each user's search query.
API Parameters
Search Query
-
- Name
-
q
- Required
- Required
- Description
-
Parameter defines the query you want to search. You can use anything that you would use in a regular Google search.
Geographic Location
-
- Name
-
location
- Required
- Optional
- Description
-
Parameter defines from where you want the search to originate. If several locations match the location requested, we'll pick the most popular one. Head to the Locations API if you need more precise control.
-
- Name
-
uule
- Required
- Optional
- Description
-
Parameter is the Google encoded location you want to use for the search. SearchApi automatically generated the
uule
parameter when you use thelocation
parameter but we allow you to overwrite it directly.uule
andlocation
parameters can't be used together.
Localization
-
- Name
-
google_domain
- Required
- Optional
- Description
-
The default parameter
google.com
defines the Google domain of the search. Check the full list of supported Googlegoogle_domain
domains.
-
- Name
-
gl
- Required
- Optional
- Description
-
The default parameter
us
defines the country of the search. Check the full list of supported Googlegl
countries.
-
- Name
-
hl
- Required
- Optional
- Description
-
The default parameter
en
defines the interface language of the search. Check the full list of supported Googlehl
languages.
Filters
-
- Name
-
tbs
- Required
- Optional
- Description
-
This parameter restricts results to URLs based on encoded values. For instance,
mr:1,local_avail:1,ss:55
would filter products by nearby results with 55 miles radius. When tbs parameter is used, other filters are ignored.
-
- Name
-
sort_by
- Required
- Optional
- Description
-
This parameter controls the sort order. By default it returns products sorted by relevance. There are few more options to sort products:
relevance
- Relevance (default).review_score
- Review score.price_low_to_high
- Price: low to high.price_high_to_low
- Price: high to low.
tbs
parameter.
-
- Name
-
price_min
- Required
- Optional
- Description
-
This parameter controls the minimum price of the products returned. For instance -
100
value would return products with a minimum price of 100. Note: minimum price can't be higher than maximum price and this parameter is not compatible with a customtbs
parameter.
-
- Name
-
price_max
- Required
- Optional
- Description
-
This parameter controls the maximum price of the products returned. For instance -
2.50
value would return products with a maximum price of 2.50. Note: maximum price can't be lower than minimum price and this parameter is not compatible with a customtbs
parameter.
-
- Name
-
condition
- Required
- Optional
- Description
-
This parameter filters product condition. There are two options:
new
- for New products andused
- for Used items. Note: this parameter is not compatible with a customtbs
parameter.
Pagination
-
- Name
-
num
- Required
- Optional
- Description
-
This parameter specifies the number of results to display per page. By default, it is set to
60
. Use in combination with thepage
parameter to implement pagination functionality. Max num per page is100
, min -1
Edge case: Settingnum=10
does not work as intended. Google Shopping page returns60
shopping results per page instead of10
.
-
- Name
-
page
- Required
- Optional
- Description
-
This parameter indicates which page of results to return. By default, it is set to
1
. Use in combination with the num parameter to implement pagination.
Engine
-
- Name
-
engine
- Required
- Required
- Description
-
Parameter defines an engine that will be used to retrieve real-time data. It must be set to
google_shopping
.
API key
-
- Name
-
api_key
- Required
- Required
- Description
-
The
api_key
authenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY
) or in the Authorization header (Bearer YOUR_API_KEY
).
API Examples
Full Response
![Full Response](/assets/docs/google_shopping/search-a6e5033979b11170d9dcdedc01eb9be3162dd3b819571fbc5ef6207f9097efcb.png)
https://www.searchapi.io/api/v1/search?engine=google_shopping&location=California%2CUnited+States&q=PS5
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google_shopping",
"q": "PS5",
"location": "California,United States"
}
response = requests.get(url, params = params)
print(response.text)
{
"search_metadata": {
"id": "search_0E6M9wDPgb74HxLQoRnqybBA",
"status": "Success",
"created_at": "2024-07-19T12:55:24Z",
"request_time_taken": 2.09,
"parsing_time_taken": 0.08,
"total_time_taken": 2.17,
"request_url": "https://www.google.com/search?q=PS5&oq=PS5&gl=us&hl=en&tbm=shop&num=60&uule=w+CAIQICIYQ2FsaWZvcm5pYSxVbml0ZWQgU3RhdGVz&ie=UTF-8",
"html_url": "https://www.searchapi.io/api/v1/searches/search_0E6M9wDPgb74HxLQoRnqybBA.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_0E6M9wDPgb74HxLQoRnqybBA"
},
"search_parameters": {
"engine": "google_shopping",
"q": "PS5",
"location": "California,United States",
"location_used": "California,United States",
"google_domain": "google.com",
"hl": "en",
"gl": "us",
"num": "60"
},
"search_information": {
"query_displayed": "PS5",
"page": 1,
"detected_location": "California"
},
"filters": [
{
"type": "Show only",
"options": [
{
"text": "On sale",
"tbs": "mr:1,sales:1"
}
]
},
{
"type": "Price",
"options": [
{
"text": "Up to $500",
"tbs": "mr:1,price:1,ppr_max:500"
},
{
"text": "$500 – $800",
"tbs": "mr:1,price:1,ppr_min:500,ppr_max:800"
},
...
]
},
...
],
"shopping_results": [
{
"position": 1,
"product_id": "17378119400812485461",
"title": "PlayStation 5 God of War Bundle - Disc Edition",
"link": "https://natureraigns.com/product/ps5-console-god-of-war-ragnarok-bundle-white/",
"product_link": "https://www.google.com/shopping/product/17378119400812485461?gl=us&hl=en",
"seller": "Nature Reigns",
"offers": "Compare prices from 3 stores",
"extracted_offers": 3,
"offers_link": "https://www.google.com/shopping/product/17378119400812485461/offers?hl=en&q=PS5&num=60&gl=us&uule=w+CAIQICIYQ2FsaWZvcm5pYSxVbml0ZWQgU3RhdGVz&udm=28&prds=eto:15404342914120304727_0,pid:7625425352507524720,rsk:PC_9780189300843342177&sa=X&ved=0ahUKEwjH2puvk7OHAxUMx8kDHX4TCAkQ3q4ECN0P",
"price": "$351.97",
"extracted_price": 351.97,
"rating": 4.6,
"reviews": 58527,
"delivery": "Free delivery by Fri, Aug 2",
"extensions": ["Blu-ray Compatible"],
"thumbnail": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcTfihg8phcgQpmYjVJ7MqZZHGVtSJAkwJo3RiO9MTI-hGKlbdEoyGtzA1o3yewDX3YNHjhuCfPpThF9mUDnoiZp2fFMKWWjqU86cwupkYHjafszEA-izHED&usqp=CAE"
},
...
],
"featured_results": [
{
"position": 1,
"product_id": "17378119400812485461",
"title": "PlayStation 5 God of War Bundle - Disc Edition",
"link": "https://natureraigns.com/product/ps5-console-god-of-war-ragnarok-bundle-white/",
"product_link": "https://www.google.com/shopping/product/17378119400812485461?gl=us&hl=en",
"seller": "Nature Reigns",
"offers": "Compare prices from 3 stores",
"extracted_offers": 3,
"offers_link": "https://www.google.com/shopping/product/17378119400812485461/offers?hl=en&q=PS5&num=60&gl=us&uule=w+CAIQICIYQ2FsaWZvcm5pYSxVbml0ZWQgU3RhdGVz&udm=28&prds=eto:15404342914120304727_0,pid:7625425352507524720,rsk:PC_9780189300843342177&sa=X&ved=0ahUKEwjH2puvk7OHAxUMx8kDHX4TCAkQ3q4ECPsQ",
"price": "$351.97",
"extracted_price": 351.97,
"rating": 4.6,
"reviews": 58527,
"delivery": "Free delivery by Fri, Aug 2",
"remark": "Performs well",
"extensions": ["Blu-ray Compatible"],
"thumbnail": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcTfihg8phcgQpmYjVJ7MqZZHGVtSJAkwJo3RiO9MTI-hGKlbdEoyGtzA1o3yewDX3YNHjhuCfPpThF9mUDnoiZp2fFMKWWjqU86cwupkYHjafszEA-izHED&usqp=CAE"
},
...
],
"categories": [
{
"type": "Filter by color",
"options": [
{
"title": "White",
"link": "https://www.google.com/search?sca_esv=1fd16e8debd1a7ec&sca_upv=1&hl=en&gl=us&udm=28&q=PS5&tbs=mr:1,pdtr0:1717142%7C1717158&sa=X&ved=0ahUKEwjH2puvk7OHAxUMx8kDHX4TCAkQwQkIpBooAA",
"thumbnail": "https://encrypted-tbn1.gstatic.com/shopping?q=tbn:ANd9GcSXtn757tBgHQREKIPxWDpLNrkDsFurhJW890ajvNIVbPk-B0f84EQuoP-yU86wszjg9ELaioA_uaVOANKGXkqMrH61KYMi13GPluQjBCbeOg80HrQ20HoY&usqp=CAE"
},
...
]
}
],
"pagination": {
"current": 1,
"next": "https://www.google.com/search?q=PS5&num=60&sca_esv=1fd16e8debd1a7ec&sca_upv=1&hl=en&gl=us&tbs=vw:d&udm=28&ei=Q2KaZoetMIyOp84P_qagSA&start=60&sa=N&ved=0ahUKEwjH2puvk7OHAxUMx8kDHX4TCAkQ8NMDCMIa",
"other_pages": {
"2": "https://www.google.com/search?q=PS5&num=60&sca_esv=1fd16e8debd1a7ec&sca_upv=1&hl=en&gl=us&tbs=vw:d&udm=28&ei=Q2KaZoetMIyOp84P_qagSA&start=60&sa=N&ved=0ahUKEwjH2puvk7OHAxUMx8kDHX4TCAkQ8tMDCLga",
"3": "https://www.google.com/search?q=PS5&num=60&sca_esv=1fd16e8debd1a7ec&sca_upv=1&hl=en&gl=us&tbs=vw:d&udm=28&ei=Q2KaZoetMIyOp84P_qagSA&start=120&sa=N&ved=0ahUKEwjH2puvk7OHAxUMx8kDHX4TCAkQ8tMDCLoa",
"4": "https://www.google.com/search?q=PS5&num=60&sca_esv=1fd16e8debd1a7ec&sca_upv=1&hl=en&gl=us&tbs=vw:d&udm=28&ei=Q2KaZoetMIyOp84P_qagSA&start=180&sa=N&ved=0ahUKEwjH2puvk7OHAxUMx8kDHX4TCAkQ8tMDCLwa",
"5": "https://www.google.com/search?q=PS5&num=60&sca_esv=1fd16e8debd1a7ec&sca_upv=1&hl=en&gl=us&tbs=vw:d&udm=28&ei=Q2KaZoetMIyOp84P_qagSA&start=240&sa=N&ved=0ahUKEwjH2puvk7OHAxUMx8kDHX4TCAkQ8tMDCL4a",
"6": "https://www.google.com/search?q=PS5&num=60&sca_esv=1fd16e8debd1a7ec&sca_upv=1&hl=en&gl=us&tbs=vw:d&udm=28&ei=Q2KaZoetMIyOp84P_qagSA&start=300&sa=N&ved=0ahUKEwjH2puvk7OHAxUMx8kDHX4TCAkQ8tMDCMAa"
}
}
}
Featured Results
![Featured Results](/assets/docs/google_shopping/featured_results-49b19ba328442e0e6dd80f6ac8dca5ba8b3db9ec31a261f628fcb963d2a2d4b9.png)
https://www.searchapi.io/api/v1/search?engine=google_shopping&location=Washington%2CUnited+States&q=Dungeons+and+Dragons
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google_shopping",
"q": "Dungeons and Dragons",
"location": "Washington,United States"
}
response = requests.get(url, params = params)
print(response.text)
{
"featured_results": [
{
"position": 1,
"product_id": "17128350959726186274",
"title": "Dungeons & Dragons - Adventure Begins - Board Game",
"link": "https://www.amazon.com/Hasbro-Games-Dungeons-Dragons-Adventure/dp/B083YL5VCY?source=ps-sl-shoppingads-lpcontext&ref_=fplfs&psc=1&smid=ATVPDKIKX0DER",
"product_link": "https://www.google.com/shopping/product/17128350959726186274?gl=us&hl=en",
"seller": "Amazon.com",
"offers": "Compare prices from 10+ stores",
"extracted_offers": 10,
"offers_link": "https://www.google.com/shopping/product/17128350959726186274/offers?ie=UTF-8&gl=us&udm=28&num=60&uule=w+CAIQICIYV2FzaGluZ3RvbixVbml0ZWQgU3RhdGVz&q=Dungeons+and+Dragons&hl=en&prds=eto:10915070461031286351_0,pid:8345132313561376636,rsk:PC_7036727842417588766&sa=X&ved=0ahUKEwiAqN6NlLOHAxXOTDABHZCOAKEQ3q4ECOkQ",
"price": "$35.54",
"extracted_price": 35.54,
"rating": 4.7,
"reviews": 150,
"delivery": "$8.03 delivery",
"remark": "Fun",
"thumbnail": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcTkX8VP24QvuF0LfNQMFRQTpWx_uhoTsXF1Qh4m0PYWG8uRnxYnh4nuWyubXd2DxetxtuGjYlrXnYmQa2EQFJud_60mEqLvoljPlFhYOAhjB_gINNP51qXuxA&usqp=CAE"
},
...
]
}
Shopping Results
![Shopping Results](/assets/docs/google_shopping/shopping_results-0127ccee6c65c512e404c87765088d1dcddfafd5ec3af452d2c658ff830fc6a7.png)
https://www.searchapi.io/api/v1/search?engine=google_shopping&location=Miami-Dade+County%2CFlorida%2CUnited+States&q=XBOX
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google_shopping",
"q": "XBOX",
"location": "Miami-Dade County,Florida,United States"
}
response = requests.get(url, params = params)
print(response.text)
{
"shopping_results": [
{
"position": 1,
"product_id": "550615978285883586",
"title": "Xbox Series S 512gb Starter Bundle",
"link": "https://www.samsclub.com/p/xbox-series-s-512gb/P03022427?itemNumber=990323909",
"product_link": "https://www.google.com/shopping/product/550615978285883586?gl=us&hl=en",
"seller": "Sam's Club",
"offers": "Compare prices from 10+ stores",
"extracted_offers": 10,
"offers_link": "https://www.google.com/shopping/product/550615978285883586/offers?q=XBOX&hl=en&udm=28&gl=us&oq=XBOX&num=60&uule=w+CAIQICInTWlhbWktRGFkZSBDb3VudHksRmxvcmlkYSxVbml0ZWQgU3RhdGVz&prds=eto:5555339360438198631_0,pid:7999580076640316777,rsk:PC_3338220088030108590&sa=X&ved=0ahUKEwj9vOTTlLOHAxUZLdAFHSSPCbgQ3q4ECNQP",
"price": "$289.00",
"extracted_price": 289,
"rating": 4.7,
"reviews": 29030,
"delivery": "$94.85 delivery",
"extensions": ["4K Capable", "Xbox Network"],
"thumbnail": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcRrqr2us-gSWtD9szQgtiJ1UBiPkCjbLSLYC_Vh2i_g5CL6qmeACnBAOg7FVAP2EwYZtF3h93rrQw5M08rZHTQCwNdRhpOnZe7QFhJ1n-TSRYGmql_mnPk6&usqp=CAE"
},
{
"position": 2,
"product_id": "18645849156115410",
"title": "Microsoft - Xbox Series x 1TB Console",
"link": "https://www.gamestop.com/consoles-hardware/xbox-series-x%7Cs/consoles/products/microsoft-xbox-series-x-console/229049.html",
"product_link": "https://www.google.com/shopping/product/18645849156115410?gl=us&hl=en",
"seller": "GameStop",
"offers": "Compare prices from 10+ stores",
"extracted_offers": 10,
"offers_link": "https://www.google.com/shopping/product/18645849156115410/offers?q=XBOX&hl=en&udm=28&gl=us&oq=XBOX&num=60&uule=w+CAIQICInTWlhbWktRGFkZSBDb3VudHksRmxvcmlkYSxVbml0ZWQgU3RhdGVz&prds=eto:14880439753861116698_0,pid:9738872028475260018,rsk:PC_12635063620587454102&sa=X&ved=0ahUKEwj9vOTTlLOHAxUZLdAFHSSPCbgQ3q4ECOsP",
"price": "$439.99",
"extracted_price": 439.99,
"rating": 4.7,
"reviews": 60640,
"tag": "FREE 2-DAY",
"delivery": "Free delivery by Tue, Jul 23",
"badge": "Top Quality Store",
"extensions": ["4K Capable", "Xbox Network"],
"durability": "Used",
"thumbnail": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcQqJ-BVWRVFi1GPeAJ86GVzLhgvFxzustYpdg2khfwDkr9MENf07OPOujcTlGJ3Pp2JTMQzQ_SDjH9X6w6bY1VixZq3SkaVzS9WTqHelnGE&usqp=CAE"
},
...
]
}
Shopping Ads
![Shopping Ads](/assets/docs/google_shopping/shopping_ads-363d2069991ba83d010599f2b8dcadb12dffc82ad1ebaf0fc5b5dd42a001ed39.png)
https://www.searchapi.io/api/v1/search?engine=google_shopping&location=New+York%2CUnited+States&q=Iphone
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google_shopping",
"q": "Iphone",
"location": "New York,United States"
}
response = requests.get(url, params = params)
print(response.text)
{
"shopping_ads": [
{
"position": 1,
"block_position": "top",
"title": "Apple iPhone 13 - Midnight - 128GB (with 24 monthly payments + plan)",
"seller": "T-Mobile",
"link": "https://www.google.com/aclk?sa=l&ai=DChcSEwiktLX7lLOHAxXPXkcBHfkEAMgYABABGgJxdQ&ase=2&gclid=EAIaIQobChMIpLS1-5SzhwMVz15HAR35BADIEAQYASABEgId3fD_BwE&sig=AOD64_2IGMr2qZzPDw0_kUVdYUKw9wYJfw&ctype=46&q=&nis=4&ved=0ahUKEwiv9K77lLOHAxUOmokEHfvdAzMQqygIpxM&adurl=",
"price": "$0.00 now",
"extracted_price": 0,
"order_fullfillmed_method": "In store",
"installment": {
"down_payment": "$0.00 now",
"extracted_down_payment": 0,
"months": "24",
"extracted_months": 24,
"cost_per_month": "$26.25/mo",
"extracted_cost_per_moth": 26.25
},
"image": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcSTBnlgfLcDOc4nP2pQWBO3xvhd4V1C3x-lFQBEJ1qFuQBo42PKJtd85PM1hO2jRDzj7AyE0jajABHjpZ7rqx88XPQfTBKKFc7qUj5Yc1wmwZ_k-pryIS5G&usqp=CAE"
},
...
]
}
Nearby Results
![Nearby Results](/assets/docs/google_shopping/nearby_results-0381f6c5b2a9871140f2475ac1e0c4aceec26330377e1c9104da3a27ee1afbf6.png)
https://www.searchapi.io/api/v1/search?engine=google_shopping&location=New+York%2CUnited+States&q=Android&tbs=mr%3A1%2Clocal_avail%3A1%2Css%3A55
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google_shopping",
"q": "Android",
"location": "New York,United States",
"tbs": "mr:1,local_avail:1,ss:55"
}
response = requests.get(url, params = params)
print(response.text)
{
"nearby_results": [
{
"title": "Best Buy",
"link": "https://www.google.com/url?url=/search%3Fnum%3D60%26sca_esv%3D1fd16e8debd1a7ec%26sca_upv%3D1%26gl%3Dus%26hl%3Den%26q%3DBest%2BBuy%26ludocid%3D16833259304336389313%26ibp%3Dgwp%3B0,7%26lsig%3DAB86z5V-pWMgCQhxBxFbI9Tr2gHc%26ved%3D1t:83073%26ictx%3D111&rct=j&q=&esrc=s&opi=95576897&sa=U&ved=0ahUKEwjSpbiblbOHAxVwDEQIHYlMCuUQgYkFCLMQKAA&usg=AOvVaw3FpHBl_wcIlCoicxBvrq-F",
"address": "300 State Route 18, Suite 4, East Brunswick",
"distance": "29.3 miles",
"working_hours": "Today: 10:00 AM - 9:00 PM",
"phone": "(732) 257-5293",
"delivery_options": ["Curbside pickup", "In‑store pickup"],
"direction": "https://maps.google.com/maps?uule=w+CAIQICIWTmV3IFlvcmssVW5pdGVkIFN0YXRlcw&gl=us&udm=28&hl=en&num=60&daddr=300+State+Route+18,+Suite+4,+East+Brunswick,+NJ+08816,+United+States",
"items": [
{
"title": "Samsung Galaxy A03s 4G",
"link": "https://www.bestbuy.com/site/total-by-verizon-samsung-galaxy-a03s-s135dl-32gb-prepaid-black/6554831.p?skuId=6554831&ref=212&loc=1&utm_source=feed&extStoreId=598",
"price": "$49.99",
"extracted_price": 49.99,
"stock_information": "In stock",
"thumbnail": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcRlsirbcpLSYQnU1aVAfRACZtfKUz-kDs2Xv-SPQMHnDLlTWSVrTWDWsPIQ2w&usqp=CAE"
},
...
]
},
{
"title": "Walmart",
"link": "https://www.google.com/url?url=/search%3Fnum%3D60%26sca_esv%3D1fd16e8debd1a7ec%26sca_upv%3D1%26gl%3Dus%26hl%3Den%26q%3DWalmart%26ludocid%3D8544100581503833374%26ibp%3Dgwp%3B0,7%26lsig%3DAB86z5Vu0Y9kTPYL1rJ2aGSWy-8k%26ved%3D1t:83073%26ictx%3D111&rct=j&q=&esrc=s&opi=95576897&sa=U&ved=0ahUKEwjSpbiblbOHAxVwDEQIHYlMCuUQgYkFCMwQKAA&usg=AOvVaw3_F7kb_1csoAm_PCLGV9mv",
"address": "288 Larkin Dr, Monroe",
"distance": "45.0 miles",
"working_hours": "Today: 6:00 AM - 11:00 PM",
"phone": "(845) 783-3505",
"delivery_options": ["Curbside pickup", "In‑store pickup", "Delivery"],
"direction": "https://maps.google.com/maps?uule=w+CAIQICIWTmV3IFlvcmssVW5pdGVkIFN0YXRlcw&gl=us&udm=28&hl=en&num=60&daddr=288+Larkin+Dr,+Monroe,+NY+10950,+United+States",
"items": [
{
"title": "Samsung STSAS134DCPWP Straight Talk Galaxy A03s, 32GB, Black - Prepaid Smartphone",
"link": "https://www.walmart.com/ip/Straight-Talk-Samsung-Galaxy-A03s-32GB-Black-Prepaid-Smartphone-Locked-to-Straight-Talk/706770009?wl13=2637&selectedSellerId=0&wmlspartner=wlpa",
"price": "$39.88",
"extracted_price": 39.88,
"stock_information": "In stock",
"thumbnail": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcRiJJKGthxfTI8Metft8Dgku--QHmbVVN7kNN1z3nlIbLSgZQaICQ27Evvr9Kmj6ciU5EVqtCjU&usqp=CAE"
},
...
]
}
...
]
}
Categories
![Categories](/assets/docs/google_shopping/categories-912d24b9dd8db832d4a8ba8514acc181696b10f8d6fd7e10bc5b8e6f8dddf7bd.png)
https://www.searchapi.io/api/v1/search?engine=google_shopping&q=LOTR
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google_shopping",
"q": "LOTR"
}
response = requests.get(url, params = params)
print(response.text)
{
"categories": [
{
"type": "Filter by format",
"options": [
{
"title": "DVD",
"link": "https://www.google.com/search?sca_esv=1fd16e8debd1a7ec&sca_upv=1&gl=us&hl=en&udm=28&q=LOTR&tbs=mr:1,pdtr0:3045644%7C3045646&sa=X&ved=0ahUKEwi7vJeelbOHAxWikIkEHU5SBPcQwQkIjxkoAA",
"thumbnail": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcTiiveqglryXAWVXH1gs1FvcuzHYjqwHXSA2xStFJP8ZnGduStbdsr4ULblt9NSbuqHA3uAMIU&usqp=CAE"
},
...
]
},
{
"type": "You might like",
"options": [
{
"title": "Movie",
"link": "https://www.google.com/search?sca_esv=1fd16e8debd1a7ec&sca_upv=1&gl=us&hl=en&udm=28&q=LOTR&tbs=mr:1,pdtr0:3045649%7C3045651&sa=X&ved=0ahUKEwi7vJeelbOHAxWikIkEHU5SBPcQwQkInBkoAA",
"thumbnail": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcT8Z6NahE7O0Xz987y8ZHoY34HEQU7jPBJQsWUMBORge4CNUB-vD-FZidn_A0S-jzAEP0_p-oPn&usqp=CAE"
},
...
]
}
]
}
Filters
![Filters](/assets/docs/google_shopping/filters-bed9a7457ffbfc275480142b250daf629134d5ee0e88b177f025e254d7bd3178.png)
https://www.searchapi.io/api/v1/search?engine=google_shopping&location=New+York%2CUnited+States&q=Macbook
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google_shopping",
"q": "Macbook",
"location": "New York,United States"
}
response = requests.get(url, params = params)
print(response.text)
{
"filters": [
{
"type": "Show only",
"options": [
{
"text": "Available nearby",
"tbs": "mr:1,local_avail:1,ss:55"
},
{
"text": "On sale",
"tbs": "mr:1,sales:1"
}
]
},
{
"type": "Price",
"options": [
{
"text": "Up to $90",
"tbs": "mr:1,price:1,ppr_max:90"
},
{
"text": "$90 – $300",
"tbs": "mr:1,price:1,ppr_min:90,ppr_max:300"
},
...
]
},
{
"type": "Apple MacBook Product Line",
"options": [
{
"text": "MacBook Pro",
"tbs": "mr:1,pdtr0:946505%7C946506"
},
{
"text": "MacBook Air",
"tbs": "mr:1,pdtr0:946505%7C946507"
}
]
},
...
]
}
Related Results
![Related Results](/assets/docs/google_shopping/related_results-03e7b7bd11e7de002e0835f3c33b0bf60d143e727c36e0ea44f5bdff9d12467d.png)
https://www.searchapi.io/api/v1/search?engine=google_shopping&location=Miami-Dade+County%2CFlorida%2CUnited+States&q=PS5
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google_shopping",
"q": "PS5",
"location": "Miami-Dade County,Florida,United States"
}
response = requests.get(url, params = params)
print(response.text)
{
"related_results": [
{
"position": 1,
"product_id": "3430474849883084409",
"title": "Sony PlayStation 5 Disc Marvels Spider-Man 2 Bundle with Extra Cosmic Red ...",
"link": "https://19zsgzesvewk.icu/products/sony-playstation-5-disc-marvel-s-spider-man-2-bundle-with-extra-nova-pink-controller-and-surge-usb-hub-charging-stand?currency=USD&variant_sku_code=10663468-8787163-39872005-0-0-0-0",
"product_link": "https://www.google.com/shopping/product/3430474849883084409?gl=us&hl=en",
"seller": "Barbara",
"price": "$89.99",
"extracted_price": 89.99,
"original_price": "$659.00",
"extracted_original_price": 659,
"tag": "SALE",
"delivery": "Free delivery by Wed, Jul 24",
"thumbnail": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcR6QBSYhlB1jSdtnmiNxHAAQz1HVprbasBNk8-e5dkqka3KKQ6X2nn0yDLhH65PGx-odFeO5ZykJ-oluPD6lhYP7Ii1kiVINg&usqp=CAE"
},
...
]
}
Related Searches
![Related Searches](/assets/docs/google_shopping/related_searches-81e5ee86a373c182eb47426799aee50537f864de52540e1ea5674e4bd72adfc0.png)
https://www.searchapi.io/api/v1/search?engine=google_shopping&location=Miami-Dade+County%2CFlorida%2CUnited+States&q=lawn+mower
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google_shopping",
"q": "lawn mower",
"location": "Miami-Dade County,Florida,United States"
}
response = requests.get(url, params = params)
print(response.text)
{
"related_searches": [
{
"query": "lawn mower walmart",
"link": "https://www.google.com/search?hl=en&gl=us&tbm=shop&q=lawn+mower+walmart&sa=X&ved=0ahUKEwiShLKP5Y2AAxXuSTABHZJhASYQ2wsIwRg"
},
{
"query": "gas lawn mower",
"link": "https://www.google.com/search?hl=en&gl=us&tbm=shop&q=gas+lawn+mower&sa=X&ved=0ahUKEwiShLKP5Y2AAxXuSTABHZJhASYQ2wsIwxg"
},
...
]
}