Core APIs
...
Shopping & Products
Reviews (deprecating 10/31)
5 min
google product deprecating on 10/31 google no longer supports individual shopping product pages with reviews product review information now appears within a right hand product knowledge panel when you click an item in the shopping results as a result, we are replacing the google shopping product request with the new docid 3hapftg7juwbdr1aei4ey request, which extracts data directly from this panel the product details request replaces the legacy product, online sellers and specifications requests we are separating out the reviews information as part of a new product reviews request google product reviews parameters get get /search?search type=product\&product type=reviews the google product reviews parameters are applicable when making a request with search type=product and product type=reviews to retrieve product reviews results for a given product id the product id is specified in the product id parameter and you should also specify a location parameter to geo locate the request (locations can be retrieved via the https //docs trajectdata com/scaleserp/locations api/overview ) google product ids are returned by https //docs trajectdata com/scaleserp/search api/results/google/shopping requests products & location google product pages are highly location sensitive so it is important that you specify a location that matches the location that was used to retrieve the product id in the original https //docs trajectdata com/scaleserp/search api/searches/google/shopping request place reviews pagination product reviews results do not contain a traditional pagination section where a specific page of results is uniquely addressable instead, each product type=reviews result will return a next page token in its' product results pagination object this next page token can be passed in to the next page token request parameter to retrieve the next page of product reviews results for example, to request product reviews results for the product id 13244508647295616715 in the location united states , the request would be http https //api scaleserp com/search?api key=demo\&search type=product\&product type=reviews\&product id=13244508647295616715\&location=united+statescurl l get https //api scaleserp com/search \\ d api key="demo" \\ d product id="13244508647295616715" \\ d search type="product" \\ d product type="reviews" \\ d location="united+states"const axios = require('axios'); // set up the request parameters const params = { api key "demo", product id "13244508647295616715", search type "product", product type "reviews", location "united+states" } // make the http get request axios get('https //api scaleserp com"/search', { params }) then(response => { // print the json response console log(json stringify(response data, 0, 2)); }) catch(error => { // catch and print the error console log(error); })import requests import json \# set up the request parameters params = { 'api key' 'demo', 'product id' '13244508647295616715', 'search type' 'product', 'product type' 'reviews', 'location' 'united+states' } \# make the http get request api result = requests get('https //api scaleserp com/search', params) \# print the json response print(json dumps(api result json()))\<?php \# set up the request parameters $querystring = http build query(\[ 'api key' => 'demo', 'product id' => '13244508647295616715', 'search type' => 'product', 'product type' => 'reviews', 'location' => 'united+states' ]); \# make the http get request $ch = curl init(sprintf('%s?%s', 'https //api scaleserp com/search', $querystring)); curl setopt($ch, curlopt returntransfer, true); curl setopt($ch, curlopt followlocation, true); \# the following options are required if you're using an outdated openssl version \# more details https //www openssl org/blog/blog/2021/09/13/letsencryptrootcertexpire/ curl setopt($ch, curlopt ssl verifyhost, false); curl setopt($ch, curlopt ssl verifypeer, false); curl setopt($ch, curlopt timeout, 180); $api result = curl exec($ch); curl close($ch); \# print the json response echo $api result; ?> google product reviews parameters the following parameters are available for all requests made when search type=product and product type=reviews true 386,386,386left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type next steps https //docs trajectdata com/scaleserp/search api/results/google/product reviews