Core APIs
...
Google
Google Places & Maps
Products
4min
google place products parameters get get /search?search type=place products the google place products parameters are applicable when making a request with search type=place products to retrieve place products for a place the place is specified in the data cid parameter, data cid values are returned from search type=places places requests https //docs trajectdata com/scaleserp/search api/searches/google/places data cid ids used in place products requests note that place products requests differ from place reviews ( docs https //docs trajectdata com/scaleserp/search api/searches/google/place reviews ) and place photos ( docs https //docs trajectdata com/scaleserp/search api/searches/google/place photos ) requests in that it required a data cid instead of a data id request parameter both data cid and data id ids are returned in places requests https //docs trajectdata com/scaleserp/search api/searches/google/places requests for example, to request place product results for a place with data cid=17441342146111713984 , the request would be http https //api scaleserp com/search?api key=demo\&search type=place products\&data cid=17441342146111713984curl l get https //api scaleserp com/search \\ d api key="demo" \\ d search type="place products" \\ d data cid="17441342146111713984"const axios = require('axios'); // set up the request parameters const params = { api key "demo", search type "place products", data cid "17441342146111713984" } // 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', 'search type' 'place products', 'data cid' '17441342146111713984' } \# 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', 'search type' => 'place products', 'data cid' => '17441342146111713984' ]); \# 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 place products parameters the following parameters are available for all requests made when search type=place products parameter required description search type required should be set to search type=place products data cid required the data cid of the place to retrieve place products for data cid values are returned in places requests https //docs trajectdata com/scaleserp/search api/searches/google/places hl optional the hl parameter determines the google ui language to return results view the full list of supported hl values here https //docs trajectdata com/scaleserp/search api/reference/google languages defaults to en next steps google place products results https //docs trajectdata com/scaleserp/search api/results/google/place products