Google Product Specifications API
Google Product Specifications API uses /api/v1/search?engine=google_product_specs
API endpoint to scrape real-time results.
You can obtain product_id
and prds
parameters from the Google Shopping API.
Current engine is an extension of Google Product API.
API Parameters
Search Query
-
- Name
-
product_id
- Required
- Required
- Description
-
Parameter defines the product_id you want to search. You can find these values in JSON responses or in google shopping page that appears in URL:
https://www.google.com/shopping/product/product_id
.
-
- Name
-
prds
- Required
- Optional
- Description
-
Parameter defines the product you want to search, when
product_id
is equal to 1. For example:https://www.google.com/shopping/product/1?prds=prds&gl=us&hl=en&ie=UTF-8
.
Geographic Location
-
- Name
-
location
- Required
- Optional
- Description
-
Parameter defines from where you want the search to originate. If several locations match the location requested, we'll pick the most popular one. Head to the Locations API if you need more precise control.
-
- Name
-
uule
- Required
- Optional
- Description
-
Parameter is the Google encoded location you want to use for the search. SearchApi automatically generated the
uule
parameter when you use thelocation
parameter but we allow you to overwrite it directly.uule
andlocation
parameters can't be used together.
Localization
-
- Name
-
google_domain
- Required
- Optional
- Description
-
The default parameter
google.com
defines the Google domain of the search. Check the full list of supported Googlegoogle_domain
domains.
-
- Name
-
gl
- Required
- Optional
- Description
-
The default parameter
us
defines the country of the search. Check the full list of supported Googlegl
countries.
-
- Name
-
hl
- Required
- Optional
- Description
-
The default parameter
en
defines the interface language of the search. Check the full list of supported Googlehl
languages.
Engine
-
- Name
-
engine
- Required
- Required
- Description
-
Parameter defines an engine that will be used to retrieve real-time data. It must be set to
google_product_specs
.
API key
-
- Name
-
api_key
- Required
- Required
- Description
-
The
api_key
authenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY
) or in the Authorization header (Bearer YOUR_API_KEY
).
API Examples
Full Response
https://www.searchapi.io/api/v1/search?engine=google_product_specs&product_id=10300376706158921238
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google_product_specs",
"product_id": "10300376706158921238"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_wr07vRBGpw4dcaWlgb6ZlXJj",
"status": "Success",
"created_at": "2023-07-18T14:12:52Z",
"request_time_taken": 1.28,
"parsing_time_taken": 0.01,
"total_time_taken": 1.29,
"request_url": "https://www.google.com/shopping/product/10300376706158921238/specs?gl=us&hl=en&ie=UTF-8",
"html_url": "https://www.searchapi.io/api/v1/searches/search_wr07vRBGpw4dcaWlgb6ZlXJj.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_wr07vRBGpw4dcaWlgb6ZlXJj"
},
"search_parameters": {
"engine": "google_product_specs",
"product_id": "10300376706158921238",
"google_domain": "google.com",
"hl": "en",
"gl": "us"
},
"search_information": {
"detected_location": "New York"
},
"product": {
"product_id": "10300376706158921238",
"title": "ASUS - ROG Flow X13 2-in-1 13.4\" 4K Ultra HD Touch-Screen Laptop - AMD Ryzen 9 - 32GB RAM - NVIDIA GeForce GTX 1650 - 1TB SSD - Off Black(678)",
"link": "https://www.google.com/shopping/product/10300376706158921238?gl=us&hl=en&prds=pid:15221962698094095386,rsk:PC_11236437577711863230",
"rating": 4.5,
"reviews": 678,
"extensions": [
"Touchscreen",
"For Gaming",
"English / North America",
"3840 x 2160",
"Windows OS",
"AMD CPU",
"NVIDIA GPU",
"Solid State Drive",
"Octa Core",
"Black"
],
"description": "Powerful gaming has never been as flexible or portable as in the 2-in-1 ROG Flow X13. Do more on the go with a powerful CPU and advanced GPU. Perfect your play with a 4K UHD display."
},
"specifications": [
{
"category": "General",
"attributes": [
{
"name": "Product Type",
"value": "Notebook - flip design"
},
{
"name": "Operating System",
"value": "Windows 10 Pro"
},
{
"name": "Bundled with",
"value": "ASUS ROG XG Mobile GC31S"
}
]
},
{
"category": "Processor / Chipset",
"attributes": [
{
"name": "CPU",
"value": "AMD Ryzen 9 5980HS / 3 GHz"
},
{
"name": "Max Turbo Speed",
"value": "4.8 GHz"
},
{
"name": "Number of Cores",
"value": "8-core"
},
{
"name": "Cache",
"value": "16 MB"
},
{
"name": "64-bit Computing",
"value": "Yes"
}
]
},
{
"category": "Memory",
"attributes": [
{
"name": "RAM",
"value": "32 GB (provided memory is soldered)"
},
{
"name": "Technology",
"value": "LPDDR4X SDRAM"
}
]
},
{
"category": "Storage",
"attributes": [
{
"name": "Main Storage",
"value": "1 TB SSD M.2 2230 PCIe - NVM Express (NVMe)"
}
]
},
{
"category": "Display",
"attributes": [
{
"name": "Type",
"value": "13.4\""
},
{
"name": "LCD Backlight Technology",
"value": "LED backlight"
},
{
"name": "Touchscreen",
"value": "Yes"
},
{
"name": "Resolution",
"value": "3840 x 2400 (WQUXGA)"
},
{
"name": "V-Sync Rate at Max Res.",
"value": "60 Hz"
},
{
"name": "Widescreen",
"value": "Yes"
},
{
"name": "Image Aspect Ratio",
"value": "16:10"
},
{
"name": "Image Brightness",
"value": "300 cd/m²"
},
{
"name": "Color Gamut",
"value": "116% sRGB, 82% NTSC, 86% Adobe RGB"
},
{
"name": "Features",
"value": "Anti-glare, Adaptive-Sync technology, ±89° horizontal viewing angle, ±89° vertical viewing angle, Pantone Validated, IPS-level"
}
]
},
{
"category": "Audio & Video",
"attributes": [
{
"name": "Multi-GPU Configuration",
"value": "1 single GPU card / integrated GPU"
},
{
"name": "Graphics Processor",
"value": "NVIDIA GeForce GTX 1650 / AMD Radeon Graphics"
},
{
"name": "Video Memory",
"value": "4 GB GDDR6 SDRAM"
},
{
"name": "Video System Features",
"value": "NVIDIA Optimus"
},
{
"name": "Gaming",
"value": "Yes"
},
{
"name": "Camera",
"value": "Yes - 720p"
},
{
"name": "Sound",
"value": "Stereo speakers, array microphone"
},
{
"name": "Compliant Standards",
"value": "Dolby Atmos"
},
{
"name": "Audio Features",
"value": "Smart Amp"
}
]
},
{
"category": "Input",
"attributes": [
{
"name": "Type",
"value": "Keyboard, touchpad"
},
{
"name": "Keyboard Backlight",
"value": "Yes"
},
{
"name": "Features",
"value": "Chiclet keyboard"
}
]
},
{
"category": "Communications",
"attributes": [
{
"name": "Wireless",
"value": "802.11a/b/g/n/ac/ax, Bluetooth 5.1"
}
]
},
{
"category": "Battery",
"attributes": [
{
"name": "Technology",
"value": "4-cell lithium ion"
},
{
"name": "Capacity",
"value": "62 Wh"
}
]
},
{
"category": "AC Adapter",
"attributes": [
{
"name": "Input",
"value": "AC 120/230 V (50/60 Hz)"
},
{
"name": "Output",
"value": "100 Watt, 20 V, 5 A"
}
]
},
{
"category": "Connections & Expansion",
"attributes": [
{
"name": "Interfaces",
"value": "USB 3.2 Gen 2 2 x USB-C 3.2 Gen 2 (supports DisplayPort Alt Mode) (Power Delivery) HDMI Headphone/microphone combo jack"
}
]
},
{
"category": "Software",
"attributes": [
{
"name": "Software Included",
"value": "Microsoft 365 (30 days trial)"
}
]
},
{
"category": "Miscellaneous",
"attributes": [
{
"name": "Color",
"value": "Off black"
},
{
"name": "Security",
"value": "Fingerprint reader"
},
{
"name": "Features",
"value": "System password"
},
{
"name": "Included Accessories",
"value": "Sleeve, digital pen, USB-C power adapter"
}
]
},
{
"category": "Dimensions & Weight",
"attributes": [
{
"name": "Dimensions (WxDxH)",
"value": "11.8 in x 8.7 in x 0.6 in"
},
{
"name": "Weight",
"value": "2.87 lbs"
}
]
}
]
}