Core APIs
...
Shopping & Products
Online Sellers *New*
4 min
google product online sellers parameters get get /search?search type=sellers online the google product online sellers parameters are applicable when making a request with search type=sellers online to retrieve product online sellers results from the product knowledge pannel for a given product id and gpc id the product id is specified in the product id parameter and and gpc id is specificied in gpc id you should also specify a location parameter to geo locate the request (locations can be retrieved via the https //docs trajectdata com/valueserp/locations api/overview ) product details requests return a variant hash which is a unique identifier used to get a variant specific information for a product you can u se variant hash in combination with product id and gpc id and request sellers online to fetch variant specific online sellers if available google product ids and gpc ids are returned by https //docs trajectdata com/valueserp/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/valueserp/search api/searches/google/shopping request to ensure appropriate product details are returned, either location or gl and hl are required for search type=sellers online for example, to request product online sellers results for the product id 2826726591980094389 and gpc id 2883234210698146338 in the location united states , the request would be http https //api serpwow\ com/search?api key=demo\&search type=sellers online\&product id=2826726591980094389\&gpc id=2883234210698146338\&location=united+statescurl l get https //api serpwow\ com/live/search \\ d api key="demo" \\ d product id="12094323291759970870" \\ d search type="product" \\ d product type="sellers online" \\ d location="united+states"const axios = require('axios'); // set up the request parameters const params = { api key "demo", product id "12094323291759970870", search type "product", product type "sellers online", location "united+states" } // make the http get request axios get('https //api serpwow\ com/live"/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' '12094323291759970870', 'search type' 'product', 'product type' 'sellers online', 'location' 'united+states' } \# make the http get request api result = requests get('https //api serpwow\ com/live/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' => '12094323291759970870', 'search type' => 'product', 'product type' => 'sellers online', 'location' => 'united+states' ]); \# make the http get request $ch = curl init(sprintf('%s?%s', 'https //api serpwow\ com/live/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 online sellers parameters the following parameters are available for all requests made when search type=sellers online is supplied true 159,178,550left 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 1 1 unhandled content type left 1 1 unhandled content type left 1 1 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 1 1 unhandled content type left 1 1 unhandled content type left 1 1 unhandled content type left 1 1 unhandled content type left 1 1 unhandled content type left 1 1 unhandled content type next steps https //docs trajectdata com/serpwow/search api/results/google/product online sellers