Google Shopping API

Google Shopping API uses /api/v1/search?engine=google_shopping API endpoint to scrape real-time results.

Google Shopping Google Shopping New layout

Google displays the regular layout in most regions, except when you specify the gl (geolocation) parameter for one of the following countries, which use the new layout:

  • United States gl=us
  • Canada gl=ca
  • New Zealand gl=nz
  • Australia gl=au
  • Tokelau gl=tk
  • Norfolk Island gl=nf
  • Heard Island and McDonald Islands gl=hm
  • Christmas Island gl=cx
  • Cocos (Keeling) Islands gl=cc
  • Japan gl=jp

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.

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 Google google_domain domains.

  • Name
    gl
    Required
    Optional
    Description

    The default parameter us defines the country of the search. Check the full list of supported Google gl countries.

  • Name
    hl
    Required
    Optional
    Description

    The default parameter en defines the interface language of the search. Check the full list of supported Google hl languages.

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 the location parameter but we allow you to overwrite it directly. uule and location parameters can't be used together.

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.
    Note: this parameter is not compatible with a custom 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 custom tbs 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 custom tbs parameter.

  • Name
    condition
    Required
    Optional
    Description

    This parameter filters product condition. There are two options: new - for New products and used - for Used items.
    Note: this parameter is not compatible with a custom tbs 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 the page parameter to implement pagination functionality. Max num per page is 100, min - 1

    Edge case: Setting num=10 does not work as intended. Google Shopping page returns 60 shopping results per page instead of 10.

  • 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
GET
https://www.searchapi.io/api/v1/search?engine=google_shopping&gl=uk&location=London&q=PS5
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "google_shopping",
  "q": "PS5",
  "location": "London",
  "gl": "uk"
}

response = requests.get(url, params = params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_lLDb6vP7p7aJuMJboA5jqWZw",
    "status": "Success",
    "created_at": "2024-07-12T15:44:58Z",
    "request_time_taken": 1.9,
    "parsing_time_taken": 0.08,
    "total_time_taken": 1.98,
    "request_url": "https://www.google.com/search?q=PS5&oq=PS5&gl=uk&hl=en&tbm=shop&num=60&uule=w+CAIQICInTG9uZG9uIFRWIFJlZ2lvbixFbmdsYW5kLFVuaXRlZCBLaW5nZG9t&ie=UTF-8",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_lLDb6vP7p7aJuMJboA5jqWZw.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_lLDb6vP7p7aJuMJboA5jqWZw"
  },
  "search_parameters": {
    "engine": "google_shopping",
    "q": "PS5",
    "location": "London",
    "location_used": "London TV Region,England,United Kingdom",
    "google_domain": "google.com",
    "hl": "en",
    "gl": "uk",
    "num": "60"
  },
  "search_information": {
    "query_displayed": "PS5",
    "page": 1,
    "detected_location": "England, UK"
  },
  "filters": [
    {
      "type": "Show only",
      "options": [
        {
          "text": "On sale",
          "tbs": "mr:1,sales:1"
        }
      ]
    },
    {
      "type": "Price",
      "options": [
        {
          "text": "Up to £80",
          "tbs": "mr:1,price:1,ppr_max:80"
        },
        ...
      ]
    }
  ],
  "shopping_ads": [
    {
      "position": 1,
      "block_position": "top",
      "title": "Carry Case designed for Playstation Portal remote player for PS5 Console hold accessories and offers Travel and Storage Protection for headset",
      "seller": "Amazon.co.uk",
      "link": "https://www.google.com/aclk?sa=l&ai=DChcSEwjyyLmd7KGHAxWqzcIEHXZlCFQYABABGgJwdg&gclid=EAIaIQobChMI8si5neyhhwMVqs3CBB12ZQhUEAQYASABEgLiovD_BwE&sig=AOD64_2cp9NBXfQVMzkillFZHyo4yEWujQ&ctype=5&rct=j&q=&ved=0ahUKEwiR5LKd7KGHAxWxJzQIHcw_CFoQww8I2wk&adurl=",
      "price": "£24.91",
      "extracted_price": 24.91,
      "image": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcSb25apb6qN42B0iC2Jq-9GLN28MRmRxZtq425pEHyhsqU3rAHunh7w8_bqKwEyNTS2GG-3t8e4YHjAAGNpRVaDEuPmuV2y8joRjaRgBW8UrIdmJ5E6LoV-aQ&usqp=CAE"
    },
    ...
    {
      "position": 41,
      "block_position": "bottom",
      "title": "Maximum Games Five Night's at Freddy's: Security Breach - Collector's Edition (PS5)",
      "seller": "Amazon.co.uk",
      "link": "https://www.google.com/aclk?sa=l&ai=DChcSEwjyyLmd7KGHAxWqzcIEHXZlCFQYABBRGgJwdg&gclid=EAIaIQobChMI8si5neyhhwMVqs3CBB12ZQhUEAsYASABEgIrmvD_BwE&sig=AOD64_2DavKDWLQoV7sQ4mROc--WR3VUNw&ctype=5&rct=j&q=&ved=0ahUKEwiR5LKd7KGHAxWxJzQIHcw_CFoQ9A4IwRI&adurl=",
      "price": "£54.99",
      "extracted_price": 54.99,
      "image": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcTMULyQNolsGURg6b6AYDjR7nNTFOR3e1IJRkjmDPhls2vv3-bIypDd_YNx7g_YCUVMNz153DXEm9W5n_D38Cz_MLxYIhRSOvhmBIdPZ5hbHFuJS6hCcOnIAQ&usqp=CAE"
    }
  ],
  "shopping_results": [
    {
      "position": 1,
      "product_id": "15933547902019314603",
      "title": "Playstation 5 Console Digital Edition (PS5)",
      "link": "https://bargainshopuk.co.uk/playstation-5-digital-edition-console/?srsltid=AfmBOopicR6RWAXsRuGcMNwzSUftAlvKuUUADOENR9UKBBixxM4ukQtfZ68",
      "product_link": "https://www.google.com/shopping/product/15933547902019314603?gl=uk&hl=en",
      "seller": "BargainShop UK",
      "offers": "Compare prices from 5+ shops",
      "extracted_offers": 5,
      "offers_link": "https://www.google.com/shopping/product/15933547902019314603/offers?hl=en&uule=w+CAIQICInTG9uZG9uIFRWIFJlZ2lvbixFbmdsYW5kLFVuaXRlZCBLaW5nZG9t&num=60&ie=UTF-8&q=PS5&gl=uk&prds=eto:15917543633595192785_0,pid:9063927359223554219,rsk:PC_10252959786065141094&sa=X&ved=0ahUKEwiR5LKd7KGHAxWxJzQIHcw_CFoQ3q4ECKkL",
      "price": "£299.99",
      "extracted_price": 299.99,
      "rating": 4.4,
      "reviews": 9372,
      "delivery": "Free delivery",
      "thumbnail": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcQQIW5jhd0EFvUWgot02317u17opUZIZgjM3iDrBEdYEvT0LrRnFCNNPQiFPY-crd6t6GhHepATclSM1Ud7Ee9Y6o_qEEGzsZ7UEgfm3EQ&usqp=CAE"
    },
    ...
  ],
  "featured_results": [
    {
      "position": 1,
      "product_id": "15933547902019314603",
      "title": "Playstation 5 Console Digital Edition (PS5)",
      "link": "https://bargainshopuk.co.uk/playstation-5-digital-edition-console/?srsltid=AfmBOorFHPcF2Y4M9MNNbXxCNnZBuDVSqKlepttMyu5Nx4UgsJduAaB32Mw",
      "product_link": "https://www.google.com/shopping/product/15933547902019314603?gl=uk&hl=en",
      "seller": "BargainShop UK",
      "offers": "Compare prices from 5+ shops",
      "extracted_offers": 5,
      "offers_link": "https://www.google.com/shopping/product/15933547902019314603/offers?hl=en&uule=w+CAIQICInTG9uZG9uIFRWIFJlZ2lvbixFbmdsYW5kLFVuaXRlZCBLaW5nZG9t&num=60&ie=UTF-8&q=PS5&gl=uk&prds=eto:15917543633595192785_0,pid:9063927359223554219,rsk:PC_10252959786065141094&sa=X&ved=0ahUKEwiR5LKd7KGHAxWxJzQIHcw_CFoQ3q4ECLAM",
      "price": "£299.99",
      "extracted_price": 299.99,
      "rating": 4.4,
      "reviews": 9372,
      "delivery": "Free delivery",
      "remark": "Performs well",
      "thumbnail": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcQQIW5jhd0EFvUWgot02317u17opUZIZgjM3iDrBEdYEvT0LrRnFCNNPQiFPY-crd6t6GhHepATclSM1Ud7Ee9Y6o_qEEGzsZ7UEgfm3EQ&usqp=CAE"
    },
    {
      "position": 2,
      "product_id": "18041586683104937704",
      "title": "Playstation 5 Console – Call of Duty Modern Warfare II Bundle",
      "link": "https://clvox.com/product/playstation-5-console-call-of-duty-modern-warfare-ii-bundle/",
      "product_link": "https://www.google.com/shopping/product/18041586683104937704?gl=uk&hl=en",
      "seller": "clvox",
      "price": "£329.00",
      "extracted_price": 329,
      "rating": 4.7,
      "reviews": 57404,
      "delivery": "Free delivery",
      "remark": "Comfortable to use",
      "extensions": ["4K Capable"],
      "thumbnail": "https://encrypted-tbn1.gstatic.com/shopping?q=tbn:ANd9GcRa10ahs5_eydLS-cab6QwF19Fk0JfvI7dDxR2XPlkbC5U1bqJ5JcCZDlhF_Pgu7GZmp6Kotl_PkJLkdP1b9MYOv9-alCkmGg&usqp=CAE"
    },
    {
      "position": 3,
      "product_id": "7813551644200176554",
      "title": "Playstation 5 Slim Console - Marvels Spider-Man 2 Bundle",
      "link": "https://palirstier.myshopify.com/products/sony-playstation-5-slim-console-disk-edition-marvels-spider-man-2-bundle-playstation-5-system-1?currency=GBP&variant=49180896330063&utm_source=google&utm_medium=cpc&utm_campaign=Google%20Shopping&stkn=22f620a572dc&srsltid=AfmBOop_qoMSvngC98_iHJTP13wAhrQFQ9qjVhL47F4V-NUEJYRi-bKZiRc",
      "product_link": "https://www.google.com/shopping/product/7813551644200176554?gl=uk&hl=en",
      "seller": "palirstier",
      "offers": "Compare prices from 3 shops",
      "extracted_offers": 3,
      "offers_link": "https://www.google.com/shopping/product/7813551644200176554/offers?hl=en&uule=w+CAIQICInTG9uZG9uIFRWIFJlZ2lvbixFbmdsYW5kLFVuaXRlZCBLaW5nZG9t&num=60&ie=UTF-8&q=PS5&gl=uk&prds=eto:2008265345632752980_0,pid:2322032041075435512,rsk:PC_16225575101249780068&sa=X&ved=0ahUKEwiR5LKd7KGHAxWxJzQIHcw_CFoQ3q4ECM8M",
      "price": "£289.00",
      "extracted_price": 289,
      "rating": 4.7,
      "reviews": 16131,
      "delivery": "Free delivery",
      "remark": "Attractive",
      "extensions": ["Blu-ray Player"],
      "thumbnail": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcQvVIhIV4V1vazniZjXHqQxV7ovBhk4zp3DtJgcBKCG32xQYDmIjHTjMBY4Jb66FOPzdTZQxWCc3efiSn5z-RJJZenrvtjh5K35RS_u7VpL&usqp=CAE"
    }
  ],
  "categories": [
    {
      "type": "You might like",
      "options": [
        {
          "title": "Wi-Fi",
          "link": "https://www.google.com/search?sca_esv=20269cc155e0fb69&hl=en&gl=uk&tbm=shop&q=PS5&tbs=mr:1,pdtr0:3197703%7C3197705&sa=X&ved=0ahUKEwiR5LKd7KGHAxWxJzQIHcw_CFoQwQkIqRIoAA",
          "thumbnail": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcQ1LEYYeigH__6dp4qTl0zcRnhxDJCbRaL0M79qR7Y3LUZvss1-mGuNWgS4G5d3EtVro4J95A8YF8RUH5fE_ofy6sOTlJSJfTmBg1kVMOx0R1q99b7RTlTH&usqp=CAE"
        },
        ...
      ]
    }
  ],
  "pagination": {
    "current": 1,
    "next": "https://www.google.com/search?q=PS5&num=60&sca_esv=20269cc155e0fb69&hl=en&gl=uk&tbs=vw:d&tbm=shop&ei=hU-RZtGNNrHP0PEPzP-g0AU&start=60&sa=N&ved=0ahUKEwiR5LKd7KGHAxWxJzQIHcw_CFoQ8NMDCMcT",
    "other_pages": {
      "2": "https://www.google.com/search?q=PS5&num=60&sca_esv=20269cc155e0fb69&hl=en&gl=uk&tbs=vw:d&tbm=shop&ei=hU-RZtGNNrHP0PEPzP-g0AU&start=60&sa=N&ved=0ahUKEwiR5LKd7KGHAxWxJzQIHcw_CFoQ8tMDCLsT",
      "3": "https://www.google.com/search?q=PS5&num=60&sca_esv=20269cc155e0fb69&hl=en&gl=uk&tbs=vw:d&tbm=shop&ei=hU-RZtGNNrHP0PEPzP-g0AU&start=120&sa=N&ved=0ahUKEwiR5LKd7KGHAxWxJzQIHcw_CFoQ8tMDCL0T",
      "4": "https://www.google.com/search?q=PS5&num=60&sca_esv=20269cc155e0fb69&hl=en&gl=uk&tbs=vw:d&tbm=shop&ei=hU-RZtGNNrHP0PEPzP-g0AU&start=180&sa=N&ved=0ahUKEwiR5LKd7KGHAxWxJzQIHcw_CFoQ8tMDCL8T",
      "5": "https://www.google.com/search?q=PS5&num=60&sca_esv=20269cc155e0fb69&hl=en&gl=uk&tbs=vw:d&tbm=shop&ei=hU-RZtGNNrHP0PEPzP-g0AU&start=240&sa=N&ved=0ahUKEwiR5LKd7KGHAxWxJzQIHcw_CFoQ8tMDCMET",
      "6": "https://www.google.com/search?q=PS5&num=60&sca_esv=20269cc155e0fb69&hl=en&gl=uk&tbs=vw:d&tbm=shop&ei=hU-RZtGNNrHP0PEPzP-g0AU&start=300&sa=N&ved=0ahUKEwiR5LKd7KGHAxWxJzQIHcw_CFoQ8tMDCMMT",
      "7": "https://www.google.com/search?q=PS5&num=60&sca_esv=20269cc155e0fb69&hl=en&gl=uk&tbs=vw:d&tbm=shop&ei=hU-RZtGNNrHP0PEPzP-g0AU&start=360&sa=N&ved=0ahUKEwiR5LKd7KGHAxWxJzQIHcw_CFoQ8tMDCMUT"
    }
  }
}
Featured Results
GET
https://www.searchapi.io/api/v1/search?engine=google_shopping&gl=uk&location=London&q=Dungeons+and+Dragons
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "google_shopping",
  "q": "Dungeons and Dragons",
  "location": "London",
  "gl": "uk"
}

response = requests.get(url, params = params)
print(response.text)
Response
{
  "featured_results": [
    {
      "position": 1,
      "product_id": "16888999254707896489",
      "title": "Dungeons & Dragons Starter Set",
      "link": "https://www.ebay.co.uk/itm/175760325471?chn=ps&_ul=GB&mkevt=1&mkcid=28",
      "product_link": "https://www.google.com/shopping/product/16888999254707896489?gl=uk&hl=en",
      "seller": "eBay",
      "price": "£15.00",
      "extracted_price": 15,
      "rating": 4.7,
      "reviews": 256,
      "delivery": "£2.87 delivery",
      "remark": "Fun",
      "durability": "Used",
      "thumbnail": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcQMNvxrJNm6fJsAKe1ujxPcFjHrm5mL21cIhJXolIQ5G9OtlqOn3dF1Lu4a-TFqg7RHluY3E7gfMkseT9esaUQMleNqacn68-Ov1iFLaeKS3c3a7IGcpaUS&usqp=CAE"
    },
    ...
  ]
}

Shopping Results

Shopping Results
GET
https://www.searchapi.io/api/v1/search?engine=google_shopping&gl=uk&location=London&q=Iphone
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "google_shopping",
  "q": "Iphone",
  "location": "London",
  "gl": "uk"
}

response = requests.get(url, params = params)
print(response.text)
Response
{
  "shopping_results": [
    {
      "position": 1,
      "product_id": "12885989670410083677",
      "title": "Apple iPhone 14 Pro Max - 256 GB - Silver",
      "link": "https://reboxed.co/products/apple-iphone-14-pro-max-256gb?variant=47873635811559&currency=GBP&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic&srsltid=AfmBOop9-Fvt8qNdtq7ygMRPmn7grhutn1zWE2cJ77ejQAYx16SSphxKOfY",
      "product_link": "https://www.google.com/shopping/product/12885989670410083677?gl=uk&hl=en",
      "seller": "Reboxed",
      "offers": "Compare prices from 10+ shops",
      "extracted_offers": 10,
      "offers_link": "https://www.google.com/shopping/product/12885989670410083677/offers?ie=UTF-8&hl=en&num=60&uule=w+CAIQICInTG9uZG9uIFRWIFJlZ2lvbixFbmdsYW5kLFVuaXRlZCBLaW5nZG9t&gl=uk&q=Iphone&prds=eto:12583733953133936675_0,pid:9736201198216370413,rsk:PC_8672923537105206374&sa=X&ved=0ahUKEwj_la6-76GHAxWUkYkEHQkhAZoQ3q4ECIcP",
      "price": "£779.00",
      "extracted_price": 779,
      "rating": 4.6,
      "reviews": 14824,
      "delivery": "Free delivery",
      "extensions": ["Smartphone", "Dual SIM", "5G"],
      "durability": "Used",
      "thumbnail": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcRR35f99pKL7GBsucJUhkaxu6jlt33QFYrp6GZyO3nJM2p2uSCywLmzTRCwYPeTFC9T_YTg64A&usqp=CAE"
    },
    {
      "position": 2,
      "product_id": "18385036958648533945",
      "title": "Apple iPhone 14 Pro - 256 GB - Deep Purple",
      "link": "https://www.backmarket.co.uk/en-gb/p/gb/cf863187-d88d-4473-a8c7-fd85b8f4fae2?shopping=gmc&srsltid=AfmBOorUsbr7e332ujaJYOCNj-U-v5DX5oqePb_r00BPCZc7ULJLWHL494I",
      "product_link": "https://www.google.com/shopping/product/18385036958648533945?gl=uk&hl=en",
      "seller": "Back Market",
      "offers": "Compare prices from 10+ shops",
      "extracted_offers": 10,
      "offers_link": "https://www.google.com/shopping/product/18385036958648533945/offers?ie=UTF-8&hl=en&num=60&uule=w+CAIQICInTG9uZG9uIFRWIFJlZ2lvbixFbmdsYW5kLFVuaXRlZCBLaW5nZG9t&gl=uk&q=Iphone&prds=eto:9700996149787327032_0,pid:8620659210465566941,rsk:PC_249950349010311029&sa=X&ved=0ahUKEwj_la6-76GHAxWUkYkEHQkhAZoQ3q4ECJoP",
      "price": "£607.64",
      "extracted_price": 607.64,
      "rating": 4.6,
      "reviews": 11940,
      "delivery": "£7.49 delivery",
      "extensions": ["Dual SIM", "5G", "Unlocked", "iOS"],
      "durability": "Refurbished",
      "thumbnail": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcTfWmgmsJYVux697JOV36iSl5bs0-0FlQedDwXQhG0CyYZC1kh7G6aLSw3YYbhQdPvjacKtfoghsA&usqp=CAE"
    }
    ...
  ]
}

Shopping Ads

Shopping Ads
GET
https://www.searchapi.io/api/v1/search?engine=google_shopping&gl=uk&location=London&q=XBOX
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "google_shopping",
  "q": "XBOX",
  "location": "London",
  "gl": "uk"
}

response = requests.get(url, params = params)
print(response.text)
Response
{
  "shopping_ads": [
    {
      "position": 1,
      "block_position": "top",
      "title": "Xbox Series S – Starter Bundle | Next-Gen, All Digital Console | Includes 3 Months of Game Pass Ultimate",
      "seller": "Amazon.co.uk",
      "link": "https://www.google.com/aclk?sa=l&ai=DChcSEwiJyr787qGHAxWhDK0GHYaOBEEYABABGgJwdg&ase=2&gclid=EAIaIQobChMIicq-_O6hhwMVoQytBh2GjgRBEAQYASABEgINiPD_BwE&sig=AOD64_1Wa_B-JVz5UTAaFX-pGTAte0fAOg&ctype=5&q=&nis=4&ved=0ahUKEwi7orr87qGHAxVQMDQIHeMBCfwQww8Ihgo&adurl=",
      "price": "£224.00",
      "extracted_price": 224,
      "image": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcRnzL-EmR0Sf9GL6lWlGfIHTYglwPQyI3HO921TdxiU3_erqRClggH7wLrgESkFWkAsVhAckgMPA-OPrszrO9t-sUKuEe3vclAuzqt9h-GNdv2phnlxKzlt&usqp=CAE"
    },
    ...
    {
      "position": 41,
      "block_position": "bottom",
      "title": "Microsoft Xbox Series S 512 SSD Console - Brand New",
      "seller": "Zextons",
      "link": "https://www.google.com/aclk?sa=l&ai=DChcSEwiJyr787qGHAxWhDK0GHYaOBEEYABBRGgJwdg&ase=2&gclid=EAIaIQobChMIicq-_O6hhwMVoQytBh2GjgRBEAsYASABEgK3mPD_BwE&sig=AOD64_3hfE-RzSm1djeLIhAuoj3o6q-kLw&ctype=5&q=&nis=4&ved=0ahUKEwi7orr87qGHAxVQMDQIHeMBCfwQ9A4I_RI&adurl=",
      "price": "£239.99",
      "extracted_price": 239.99,
      "rating": 4.5,
      "reviews": 29229,
      "image": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcTcjIBFF-JL1P_d3Iv8axYGayGj7Ygr7Kt8ubFiyMRrPueIPRCY77D9-QsCmUr1gfS-fRuzIii8OCbwR7dyHn9CEPkjD8NOjtBIyR2xlj1wjFwWV9txYjxI&usqp=CAE"
    },
    ...
  ]
}

Nearby Results

Nearby Results
GET
https://www.searchapi.io/api/v1/search?engine=google_shopping&gl=de&location=Berlin&q=Android&tbs=mr%3A1%2Clocal_avail%3A1%2Css%3A55
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "google_shopping",
  "q": "Android",
  "location": "Berlin",
  "gl": "de",
  "tbs": "mr:1,local_avail:1,ss:55"
}

response = requests.get(url, params = params)
print(response.text)
Response
{
  "nearby_results": [
    {
      "title": "MediaMarkt",
      "link": "https://www.google.com/url?url=/search%3Fnum%3D60%26sca_esv%3D88d037c54ddcbe29%26sca_upv%3D1%26hl%3Den%26gl%3Dde%26q%3DMediaMarkt%26ludocid%3D5186462629944118068%26ibp%3Dgwp%3B0,7%26lsig%3DAB86z5Xy8w0UKe9zfA47g6toVN8S%26ved%3D1t:83073%26ictx%3D111&rct=j&q=&esrc=s&opi=95576897&sa=U&ved=0ahUKEwjJ5bH_86GHAxXTIkQIHTQlDlEQgYkFCJ0PKAA&usg=AOvVaw2SS45cAuOirULiMmfS71eO",
      "address": "Johannisthaler Chaussee 309, Berlin",
      "distance": "19,6 km",
      "working_hours": "Today: 10:00 AM - 8:00 PM",
      "phone": "0221 22243333",
      "delivery_options": ["Curbside pickup", "In‑store pickup", "Delivery"],
      "direction": "https://maps.google.com/maps?oq=Android&hl=en&gl=de&uule=w+CAIQICIVQmVybGluLEJlcmxpbixHZXJtYW55&num=60&daddr=Johannisthaler+Chaussee+309,+12351+Berlin,+Deutschland",
      "items": [
        {
          "title": "Xiaomi Redmi 13C 128 GB / 4 GB - Smartphone - Clover Green",
          "link": "https://www.mediamarkt.de/de/product/_xiaomi-redmi-13c-128-gb-clover-green-dual-sim-2907084.html?storeId=535",
          "price": "€124.99",
          "extracted_price": 124.99,
          "stock_information": "In stock",
          "thumbnail": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcRx6cp_ApxOru0inbepB-hiZJm6ynX_wzCCfvb4f6_qtwgVEm2cuLQeBDQLcywwzt11YgvQSCm3JWd9pYNiuUrX6uLvrTE-uppl5oHK3w&usqp=CAE"
        },
        ...
      ]
    },
    {
      "title": "saturn.de",
      "link": "https://www.google.com/url?url=/search%3Fnum%3D60%26sca_esv%3D88d037c54ddcbe29%26sca_upv%3D1%26hl%3Den%26gl%3Dde%26q%3Dsaturn.de%26ludocid%3D14023163535298384952%26ibp%3Dgwp%3B0,7%26lsig%3DAB86z5XhEFmMVmoOU3xYWeKq-0wG%26ved%3D1t:83073%26ictx%3D111&rct=j&q=&esrc=s&opi=95576897&sa=U&ved=0ahUKEwjJ5bH_86GHAxXTIkQIHTQlDlEQgYkFCLcPKAA&usg=AOvVaw07L0A4Yzy5TUINn9hwbi2Q",
      "address": "Marzahner Promenade 1a, Eastgate, Berlin",
      "distance": "19,6 km",
      "working_hours": "Today: 10:00 AM - 8:00 PM",
      "phone": "0221 22243333",
      "delivery_options": ["Curbside pickup", "In‑store pickup", "Delivery"],
      "direction": "https://maps.google.com/maps?oq=Android&hl=en&gl=de&uule=w+CAIQICIVQmVybGluLEJlcmxpbixHZXJtYW55&num=60&daddr=Marzahner+Promenade+1a,+Eastgate,+12679+Berlin,+Deutschland",
      "items": [
        {
          "title": "Xiaomi Redmi 13C 128 GB / 4 GB - Smartphone - Clover Green",
          "link": "https://www.saturn.de/de/product/_xiaomi-redmi-13c-128-gb-clover-green-dual-sim-2907084.html?utm_source=google&utm_medium=seo-product%20feed",
          "price": "€124.99",
          "extracted_price": 124.99,
          "stock_information": "In stock",
          "thumbnail": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcRx6cp_ApxOru0inbepB-hiZJm6ynX_wzCCfvb4f6_qtwgVEm2cuLQeBDQLcywwzt11YgvQSCm3JWd9pYNiuUrX6uLvrTE-uppl5oHK3w&usqp=CAE"
        },
        ...
      ]
    },
    ...
  ]
}

Categories

Categories
GET
https://www.searchapi.io/api/v1/search?engine=google_shopping&gl=es&q=LOTR
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "google_shopping",
  "q": "LOTR",
  "gl": "es"
}

response = requests.get(url, params = params)
print(response.text)
Response
{
  "categories": [
    {
      "type": "Filter by format",
      "options": [
        {
          "title": "DVD",
          "link": "https://www.google.com/search?sca_esv=88d037c54ddcbe29&hl=en&gl=es&tbm=shop&q=LOTR&tbs=mr:1,pdtr0:3045644%7C3045646&sa=X&ved=0ahUKEwjbkYXF9KGHAxWGlIkEHUAmBJYQwQkI_Q8oAA",
          "thumbnail": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcScoDZj_mDTWChpZ97a3QKSRSKSnuGCAMjwJpdf82M6egMLlyVUKBK10DlgnNDgya5bLJvBDM5CXAQA_nk80Dc5aMZeQzFDGvvhLATKKE9l&usqp=CAE"
        },
        ...
      ]
    },
    {
      "type": "You might like",
      "options": [
        {
          "title": "Action & Adventure",
          "link": "https://www.google.com/search?sca_esv=88d037c54ddcbe29&hl=en&gl=es&tbm=shop&q=LOTR&tbs=mr:1,pdtr0:4972903%7C4972906&sa=X&ved=0ahUKEwjbkYXF9KGHAxWGlIkEHUAmBJYQwQkIihAoAA",
          "thumbnail": "https://encrypted-tbn1.gstatic.com/shopping?q=tbn:ANd9GcRFHjzXs67pBtkvkgfR4Qmte33WH1Gjm5kBds6ZoM_cTa85yxDnGhHaIsr-Oq2bC2dLgMmqCiS2Mbq5GEwcdmzR560gaC1OOi7fUXHibUtRNRmQD7_e6r0qCQ&usqp=CAE"
        },
        ...
      ]
    }
  ]
}

Filters

Filters
GET
https://www.searchapi.io/api/v1/search?engine=google_shopping&gl=uk&q=Macbook
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "google_shopping",
  "q": "Macbook",
  "gl": "uk"
}

response = requests.get(url, params = params)
print(response.text)
Response
{
  "filters": [
    {
      "type": "Show only",
      "options": [
        {
          "text": "On sale",
          "tbs": "mr:1,sales:1"
        }
      ]
    },
    {
      "type": "Price",
      "options": [
        {
          "text": "Up to £250",
          "tbs": "mr:1,price:1,ppr_max:250"
        },
        ...
      ]
    },
    {
      "type": "Brand",
      "options": [
        {
          "text": "Apple",
          "tbs": "mr:1,pdtr0:703960%7C703973"
        },
        ...
      ]
    },
    ...
  ]
}
Related Results
GET
https://www.searchapi.io/api/v1/search?engine=google_shopping&gl=uk&q=PS5
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "google_shopping",
  "q": "PS5",
  "gl": "uk"
}

response = requests.get(url, params = params)
print(response.text)
Response
{
  "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
GET
https://www.searchapi.io/api/v1/search?engine=google_shopping&gl=uk&location=London&q=lawn+mower
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "google_shopping",
  "q": "lawn mower",
  "location": "London",
  "gl": "uk"
}

response = requests.get(url, params = params)
print(response.text)
Response
{
  "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"
    },
    ...
  ]
}