Google Shopping Results API via SerpApi

Code examples Build status
Live testing

To fetch Google shopping results from SerpApi, create a search with tbm parameter set to shop. (I.e., tbm=shop)

SerpApi JSON structure:

{
  ...
  "shopping_results": [
    {
      "position": Integer - Item position
      "title": String - Item title
      "link": String - Link to the Google item page 
      "price": String - Item price
      "rating": Float - Item rating
      "reviews": String - Item review count
      "snippet": String - Item description
      "extensions": String - Item tags/extensions
      "thumbnail": Image - Base64 data or URL
    },
  ...
}

Example of shopping results for "TV"

TV Shopping

{
  ...
  "shopping_results": [
    {
      "position": 1,
      "title": "Insignia - 32” Class – LED - 720p – Smart - HDTV – Fire TV Edition",
      "link": "https://www.google.com/shopping/product/6461643080097175527?hl=en&q=TV&uule=w+CAIQICInRGFsbGFzLUZ0LiBXb3J0aCxUWCxUZXhhcyxVbml0ZWQgU3RhdGVz&sourceid=chrome&gl=us&prds=paur:ClkAsKraX46xa1m7xMCKiRlbKsC4L3WL-mWYO5Jmotn9A8390JnSV8iANsRHWnGPkOQ0FZl095GJ9R-OeqPSuIxsyPtirbLUzBt-IjrD15FNhZPKea3O_kBgehIZAFPVH71ZuM4aY6VNPwAVayWikQdy-r9Afw&sa=X&ved=0ahUKEwirytCt-JbgAhXYHTQIHWgvDK0Q8wIIiAU",
      "source": "from 3 stores",
      "price": "$129.99",
      "rating": 4.6,
      "reviews": 853,
      "snippet": "Insignia HD Smart TV – Fire TV Edition delivers 720p picture quality with deep blacks and rich colors. With the Fire TV ...",
      "extensions": [
        "High Definition",
        "Smart TV",
        "32 in",
        "3 in deep",
        "Insignia",
        "NS Series",
        "LED",
        "720p",
        "Amazon Alexa",
        "3 HDMI Ports"
      ],
      "thumbnail": "data:image/webp;base64,UklGRtIuAABXRUJ...QVlA4IMYuAAAQ"
    },
    {
      "position": 2,
      "title": "Samsung 7 Series UN50NU7100F - 50\" LED Smart TV - 4K UltraHD - Charcoal Black",
      "link": "https://www.google.com/shopping/product/11260560742951078612?hl=en&q=TV&uule=w+CAIQICInRGFsbGFzLUZ0LiBXb3J0aCxUWCxUZXhhcyxVbml0ZWQgU3RhdGVz&sourceid=chrome&gl=us&prds=paur:CmkAsKraX-J7hYMYgOVlStnlYL3a6p0lpW0yJwX8whlSGu7n1WLRF71G79uXKSbYqZKe-TIJzTtWjHuMVGsoLl6BT6ajoSgMpgV29Dexqmg97MhlynczDHV2ljwm2Qad2xxVUUpSn8glGVMSGQBT1R-98MUDXXIBhuPbzX5TiL8bUW-QZ-U&sa=X&ved=0ahUKEwirytCt-JbgAhXYHTQIHWgvDK0Q8wIInQU",
      "source": "from 50+ stores",
      "price": "$419.99",
      "rating": 4.6,
      "reviews": 10089,
      "snippet": "Enjoy movies and games in HD with this 50-inch Samsung television. Motion Rate 120 technology maximizes the refresh rate to ...",
      "extensions": [
        "February 2018",
        "Smart TV",
        "High Definition",
        "30 lb",
        "50 in",
        "2.4 in deep",
        "Samsung",
        "Series 7",
        "LED",
        "4K"
      ],
      "thumbnail": "data:image/webp;base64,UklGRoo2AABXRUJQVlA4...AAAAAAAAx3d"
    },
    {
      "position": 3,
      "title": "Sharp LC 43LBU591U - 43\" LED Smart TV - 4K UltraHD",
      "link": "https://www.google.com/shopping/product/822110604001269890?hl=en&q=TV&uule=w+CAIQICInRGFsbGFzLUZ0LiBXb3J0aCxUWCxUZXhhcyxVbml0ZWQgU3RhdGVz&sourceid=chrome&gl=us&prds=paur:ClkAsKraX-tMOBIq8jXeBtMtMUt3JNmZb8MxY6Bjdi43mFifgIK1XI4DK9-boS_wstehw_GLltWySu0Si8duUfmOa1VBaYxbViOmLAOrvEAVaQclVxqD_64oPRIZAFPVH70NHmoLmRlC2tw77XP9qyhpR--9Ng&sa=X&ved=0ahUKEwirytCt-JbgAhXYHTQIHWgvDK0Q8wIItgU",
      "source": "from 5+ stores",
      "price": "$249.99",
      "rating": 4.6,
      "reviews": 6268,
      "snippet": "Only at Best Buy Enjoy maximum impact from this Sharp 43-inch TV. It turns up the detail thanks to ultra-precise 4K ...",
      "extensions": [
        "January 2017",
        "High Definition",
        "Smart TV",
        "21.6 lb",
        "43 in",
        "3.5 in deep",
        "Sharp",
        "LED",
        "4K",
        "38.2 in wide"
      ],
      "thumbnail": "data:image/webp;base64,UklGRjYgAABXRUJQVl...lGczIEbpe79yGGinHfZcAAAAAAx3dx3d"
    },
    {
      "position": 4,
      "title": "Insignia NS-43D420NA18 - 43\" LED TV - 1080p",
      "link": "https://www.google.com/shopping/product/2160489126389367176?hl=en&q=TV&uule=w+CAIQICInRGFsbGFzLUZ0LiBXb3J0aCxUWCxUZXhhcyxVbml0ZWQgU3RhdGVz&sourceid=chrome&gl=us&prds=paur:ClkAsKraX5FJk6qL2sxZkziAFyCjOn8_kgUlsg84f41EERhSHciZLHP9vMVdDmfhPGUaCPy9aQ5AxqRBsLPPErPGQf-ilQFnT-XGfEiM0YBP6zhakdeV2yPJvRIZAFPVH702-Dj9-ZwNp7_gIjvDEKgn3effSA&sa=X&ved=0ahUKEwirytCt-JbgAhXYHTQIHWgvDK0Q8wIIywU",
      "source": "from 4 stores",
      "price": "$189.99",
      "rating": 4.6,
      "reviews": 2119,
      "snippet": "Explore nature or immerse yourself in your favorite sports with this Insignia TV. It's big enough to create plenty of impact ...",
      "extensions": [
        "May 2017",
        "High Definition",
        "15.6 lb",
        "43 in",
        "3.4 in deep",
        "Insignia",
        "NS Series",
        "LED",
        "1080p",
        "38.1 in wide"
      ],
      "thumbnail": "data:image/webp;base64,UklGRnIQAABXRUJQ...PNp7kFpZCy9lqDcvXYAAAA"
    },
    {
      "position": 5,
      "title": "Insignia - 40\" Class - LED - 1080p - HDTV",
      "link": "https://www.google.com/shopping/product/5297998343812337400?hl=en&q=TV&uule=w+CAIQICInRGFsbGFzLUZ0LiBXb3J0aCxUWCxUZXhhcyxVbml0ZWQgU3RhdGVz&sourceid=chrome&gl=us&prds=paur:ClkAsKraX_C2Y-CAc3KYzD6eGD3M7dje6hXfGXuu_obTym9x7zajBPa8mZ0145PPD33wEDXO7G8u2YVqPPKW8QZWRpMYHcwl_OYm_dELBwTe2zmtrrF3pM9LQBIZAFPVH73RyBfovFk2jo2eOpzXEGxR2y3rwg&sa=X&ved=0ahUKEwirytCt-JbgAhXYHTQIHWgvDK0Q8wII3AU",
      "source": "from 2 stores",
      "price": "$179.99",
      "rating": 4.7,
      "reviews": 560,
      "snippet": "Enjoy a streaming marathon of your favorite shows with this 40-inch Insignia LED TV. The built-in speakers use DTS sound ...",
      "extensions": [
        "June 2018",
        "High Definition",
        "17.6 lb",
        "40 in",
        "3.4 in deep",
        "Insignia",
        "NS Series",
        "LED",
        "1080p",
        "35.6 in wide"
      ],
      "thumbnail": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcRIgcB71K4B7EdWAD4FD4H6PmRaIt3RmkbBk3HZN37YiFZS10mZ9jezW0DiKquqO17mvhjbQHdGPjBc28n9ZFf4YZdJx3ez1zat_DuH6leu&usqp=CAE"
    },
    ...
  ...
}