Google Product API
Retrieve product details from the Google Shopping product page using a known product ID. Set engine=google_product and pass product_id, then optionally enable the offers, specs, or reviews flags to expand the response.
Endpoint
Section titled “Endpoint” GET https://serp.shifter.io/v1?engine=google_product&api_key=YOUR_API_KEY
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
api_key | string | yes | Your SERP API key |
engine | string | yes | Must be google_product |
product_id | string | yes | The Google product ID |
device | string | no | desktop, mobile, or tablet |
google_domain | string | no | Google domain to use |
location | string | no | Geotargeting location name |
uule | string | no | Google encoded location string |
hl | string | no | Interface language code |
gl | string | no | Country code |
start | int | no | Result offset for pagination |
offers | int | no | Set to 1 or true to fetch offers |
specs | int | no | Set to 1 or true to fetch product specifications |
reviews | int | no | Set to 1 or true to fetch product reviews |
filter | string | no | Filter offers. Values: freeship:1, ucond:1, scoring:p, scoring:tp, scoring:cpd, scoring:mrd |
Example request
Section titled “Example request”curl "https://serp.shifter.io/v1?engine=google_product&api_key=YOUR_API_KEY&product_id=11607214845071611155"import requests
params = { "engine": "google_product", "api_key": "YOUR_API_KEY", "product_id": "11607214845071611155",}r = requests.get("https://serp.shifter.io/v1", params=params)data = r.json()import fetch from 'node-fetch';
const url = 'https://serp.shifter.io/v1?' + new URLSearchParams({ engine: 'google_product', api_key: 'YOUR_API_KEY', product_id: '11607214845071611155',});const data = await (await fetch(url)).json();Example response
Section titled “Example response”{ "search_parameters": { "engine": "google_product", "product_id": "11607214845071611155" }, "product_results": { "title": "Sony WH-1000XM5 Wireless Noise Cancelling Headphones", "prices": ["$349.00 - $399.99"], "rating": 4.7, "reviews": 2341, "extensions": ["Wireless", "Noise Cancelling"], "description": "Industry leading noise cancellation...", "media": [ { "type": "image", "link": "https://..." } ] }, "sellers_results": { "online_sellers": [ { "name": "Best Buy", "total_price": "$349.00" } ] }}