Google Immersive Product API
The Google Immersive Product API scrapes Google product results from the immersive popup view, returning brand info, price range, and store-level listings with ratings and reviews.
Endpoint:
https://api.scrapingdog.com/google_immersive_productAPI Parameters
π
Authentication
api_keyRequiredYour personal API key. Available on your dashboard.
Type: String
π
Request Parameters
page_tokenRequiredThis parameter specifies the token required to display additional product details in Google's immersive popup.
Type: String
π
Sellers Pagination
storesOptionalThis parameter enables the pagination to get more sellers. Passtrueto enable it. It can only be used withsoriparameter.
Default:false
Type: StringsoriOptionalThis parameter works together with thestoresparameter to fetch the next page of seller results. Its value depends on how many sellers were returned in the previous API responses.
Example:
If your last two API responses included 5-5 sellers each, setsori=10in your next API call to continue from the next set of sellers.
Type: String
π
Geographic Location and Localization
countryOptionalThis parameter specifies the country for the Google search using a two-letter country code (e.g., US for the United States, UK for the United Kingdom, or FR for France). For a complete list of supported countries, see the Google Country Parameter.
Default Value -us
Type - StringlanguageOptionalLanguage of the results. Possible Values -en,es,fr,de, etc. For a complete list of supported languages, see the Google Language Page.
Default Value -en
Type - String
API Examples
Code to Integrate
curl "https://api.scrapingdog.com/google_immersive_product?api_key=APIKEY&page_token=PAGE_TOKEN"
import requests url = "https://api.scrapingdog.com/google_immersive_product" params = { "api_key": "APIKEY", "page_token": "PAGE_TOKEN" } response = requests.get(url, params=params) if response.status_code == 200: print(response.json())
const axios = require('axios'); axios.get('https://api.scrapingdog.com/google_immersive_product', { params: { api_key: 'APIKEY', page_token: 'PAGE_TOKEN' } }).then(response => console.log(response.data)) .catch(error => console.error(error.message));
<?php $url = 'https://api.scrapingdog.com/google_immersive_product/?' . http_build_query([ 'api_key' => 'APIKEY', 'page_token' => 'PAGE_TOKEN', ]); $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); echo curl_exec($ch); curl_close($ch);
require 'net/http' require 'uri' url = URI.parse("https://api.scrapingdog.com/google_immersive_product/") url.query = URI.encode_www_form('api_key' => 'APIKEY', 'page_token' => 'PAGE_TOKEN') http = Net::HTTP.new(url.host, url.port) http.use_ssl = true puts http.request(Net::HTTP::Get.new(url)).body
import java.io.*; import java.net.*; public class Main { public static void main(String[] args) throws Exception { String apiUrl = "https://api.scrapingdog.com/google_immersive_product/?api_key=APIKEY&page_token=PAGE_TOKEN"; URL url = new URL(apiUrl); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); conn.setRequestMethod("GET"); BufferedReader reader = new BufferedReader(new InputStreamReader(conn.getInputStream())); String line; while ((line = reader.readLine()) != null) System.out.println(line); conn.disconnect(); } }
API Response
{
"title": "FOLGERS GROUND COFFEE CLASSIC ROAST",
"brand": "Folgers",
"reviews": 13269,
"rating": "4.6",
"price_range": "$5.88 - $8.49",
"stores": [
{
"name": "Walmart",
"link": "https://www.walmart.com/ip/Folgers-Classic-Roast",
"price": "$6.53",
"ratings": "4.3/5",
"reviews": "908"
},
{
"name": "Target",
"link": "https://www.target.com/p/folgers-classic",
"price": "$6.49",
"ratings": "4.6/5",
"reviews": "318"
}
]
}