Google Product API
Google Product API
/search?engine=google_product
API endpoint allows you to fetch the results from Google product pages via our SerpApi service.
Api Details
Endpoint
GET https://serpapi.abcproxy.com/search
Description Retrieve comprehensive user profile including
basic info
,account status
and optionalpermission sets
.
Request
HTTP Request
API Parameters
Search Query
product_id
string
Yes
query parameter
4887235756540435899
Geographic Location
location
string
No
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.json API if you need more precise control. The location and uule parameters can't be used together. It is recommended to specify location at the city level in order to simulate a real user’s search. If location is omitted, the search may take on the location of the proxy.
Korea
uule
string
No
Parameter is the Google encoded location you want to use for the search. uule and location parameters can't be used together.
-
Localization
google_domain
string
No
-
gl
string
No
Amgola-ao
hl
string
No
Akan-ak
Pagination
start
int
No
The start index of the search results, specifying the first match that should be included in the search results
This parameter works only for Online Sellers.
This parameter is deprecated for use with Reviews. Use the filter
parameter with serpapi_pagination.next_page_filter
instead to paginate through reviews.
0
page
int
No
Parameter defines the page number for Google Online Sellers.
This parameter works only for Online Sellers.
This parameter is deprecated for use with Reviews. Use the filter
parameter with serpapi_pagination.next_page_filter
instead to paginate through reviews.
10
Search Type
offers
boolean
No
Parameter for fetching offers results. Replaces former sellers=online
results.
The offers
parameter cannot be used with offer_id
parameter.
true
orfalse
specs
boolean
No
Parameter for fetching specs results..
The specs
parameter cannot be used with offer_id
parameter.
true
orfalse
reviews
boolean
No
Parameter for fetching reviews results.
The reviews
parameter cannot be used with offer_id
parameter.
true
orfalse
Advabced Filters
filter
string
No
Parameter defines filters, sorting, and pagination for reviews and offers results.
Offers filters:
freeship:1
Show only products with free shipping
ucond:1
Show only used products
scoring:p
Sort by base price
offer_id
string
No
Parameter defines ID used to fetch multiple offers from an online seller, and can be found inside sellers_results.online_sellers
.
The offer_id
parameter can’t be used with offers
, specs
and reviews
parameters.
-
Serpapi Parameters
engine
string
Yes
Set parameter to google_product
to use the Google Product API engine.
google_product
no_cache
boolean
No
Parameter will force SerpApi to fetch the Google Product results even if a cached version is already present. A cache is served only if the query and all parameters are exactly the same. Cache expires after 1h. Cached searches are free, and are not counted towards your searches per month. It can be set to false
(default) to allow results from the cache, or true
to disallow results from the cache. no_cache and async parameters should not be used together.
true
orfalse
api_key
string
Yes
Parameter defines the SerpApi private key to use.
YOUR_API_KEY
Response
Success 200
Response Body
Response Fields
search_metadata
object
Contains timing
and status information
search_parameters
object
Contains query parameters
and search context
product_results
object []
Product search
results
sellers_results
object []
Seller's result
related_products
object []
related products
specs_results
object []
specification
structure
reviews_results
object []
Comment result
product_variations
string
Product variant
Error Responses
Common Errors
200
400
API Key can not be empty
200
401
Param error
200
402
API Key error
200
403
Insufficient Balance
200
404
Deduction failed
200
405
Failed to record usage count
200
406
Unsupported engine
200
407
Network error
200
408
File not found
200
409
Limit param error
200
410
Build url error
200
411
Failed to QueryRecentRecord
200
412
Failed to find json
200
413
Get html error
200
414
HTML is empty
200
429
Too many request
Error Example
Last updated