Google SERP
Google Product API
The Google Product API allows users to retrieve detailed product information from Google, with options to specify product ID, location, search type, and filters for offers and reviews.
Get Your API Key
Sign in at hasdata.com, go to your account settings, and copy your API key.
All requests must include your key in the x-api-key
header.
Make Your First Request
API Parameters
Parameter | Default Value | Required | Description |
---|---|---|---|
productId | 6543846486633453096 | Yes | The product ID to get results for. |
location | Austin,Texas,United States | No | Google canonical location for the search. |
uule | - | No | The encoded location parameter. |
domain | - | No | Google domain to use. Default is google.com. |
gl | - | No | The two-letter country code for the country you want to limit the search to. |
hl | - | No | The two-letter language code for the language you want to use for the search. |
searchType | - | No | Parameter for fetching specific product information, such as ‘offers’, ‘specs’, or ‘reviews’. |
start | - | No | This parameter specifies the number of search results to skip and is used for pagination. For example, a value of 0 (default) indicates the first page of results, 10 refers to the second page, and 20 to the third page. This parameter is applicable only when searchType=offers is specified. For reviews pagination use filter parameter. |
filter | - | No | Filter parameter for refining search results. Supports various filters for offers and reviews. Multiple filters can be passed using a comma. The available filters are: Offers filters: - freeship:1 : Show only products with free shipping.- ucond:1 : Show only used products.- scoring:p : Sort by base price.- scoring:tp : Sort by total price.- scoring:cpd : Sort by current promotion deals (special offers).- scoring:mrd : Sort by seller’s rating.Reviews filters: - rnum:{number} : Number of results (100 is max). |