Google Shopping

SERP API Google Shopping Query Parameters

Configure Google Shopping queries using Thordata’s SERP API, including localization parameters, geotargeting, pagination, and "advanced parameter" output options.

chevron-rightq ,Search Query(Required)hashtag

Define the search query used for data crawling (default value: q=pizza). Any keywords in any language are supported.

Example Request: Example with q:pizza parameter

curl -X POST https://scraperapi.thordata.com/request \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -H "Authorization: Bearer token" \
 -d "engine=google_shopping" \
 -d "q=pizza" \
 -d "json=1"

Localization

chevron-rightgoogle_domain,Domain(Optional)hashtag

Defines the domain used for scraping. Default: google.com.

Modify this or refer to the Google Domains pagearrow-up-right for a full list of supported domains.

Example Request:

Example results for q : pizza ,google_domain: google.co.ao

curl -X POST https://scraperapi.thordata.com/request \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -H "Authorization: Bearer token" \
 -d "engine=google_shopping" \
 -d "q=pizza" \
 -d "google_domain=google.co.ao" \
 -d "json=1"
chevron-rightgl ,Country(Optional)hashtag

Specifies the country/region for localized search results (default: us). Uses a two-letter country code (e.g., us, ru, uk).

For supported codes, see Google’s Country Listarrow-up-right.

Example Request:

Example results for q : pizza,gl: ru

curl -X POST https://scraperapi.thordata.com/request \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -H "Authorization: Bearer token" \
 -d "engine=google_shopping" \
 -d "q=pizza" \
 -d "gl=ru" \
 -d "json=1"
chevron-righthl ,Language(Optional)hashtag

Sets the UI language for search results (default: en). Uses a two-letter language code (e.g., en, es, zh-CN).

Full list: Google Language Codesarrow-up-right.

Example Request:

Example results for q : pizza,hl: es

curl -X POST https://scraperapi.thordata.com/request \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -H "Authorization: Bearer token" \
 -d "engine=google_shopping" \
 -d "q=pizza" \
 -d "json=1" \
 -d "hl=es"

Geotargeting

chevron-rightlocation ,Location(Optional)hashtag

Simulates searches from a precise location. Must be paired with uule. If omitted, the proxy’s location may be used.

Example Request:

Example results for q : pizza,location:India,uule:w+CAIQICIFSW5kaWE

chevron-rightuule ,Encoded Location(Optional)hashtag

Encodes the target location via Base64. Use with location.

Example Request:

Example results for q : pizza,location:India,uule:w+CAIQICIFSW5kaWE

Pagination

chevron-rightstart ,Result offset(Optional)hashtag

Parameter defines the result offset. It skips the given number of results. It's used for pagination. (e.g., 0 (default) is the first page of results, 10 is the 2nd page of results, 20 is the 3rd page of results, etc.).

Example Request:

Example results for q : pizza,start:30

chevron-rightnum ,Results per page(Optional)hashtag

Sets the number of results per page (default: 20).

Example Request:

Example results for q : pizza,num:20

Advanced Parameters

chevron-righttbs ,Advanced Search Parameters(Optional)hashtag

Time/type filtering (supports complex conditions), such as tbs=qdr:d qdr:d= contents within 24 hours tbs=sur:f, for example, shows only images

Example Request:

Example results for q : pizza,tbs:sur:f

chevron-rightshoprs ,Search Filter ID(Optional)hashtag

The parameter defines the token that includes metadata about query and search filter(s). Providing qparameter alongside the shoprs is not required.

Example Request:

Example results for q : pizza,shoprs:shoprs_1

chevron-rightmin_price ,最低价格(Optional)hashtag

The lower limit for the price range query. This parameter will override the corresponding filter embedded in the 'shoprs' parameter.

示例请求:

Example Request:

Example results for q : pizza,min_price:10

chevron-rightmax_price ,最高价格(Optional)hashtag

价格区间查询的上限。此参数会覆盖嵌入到 shoprs 参数中的相应过滤器。

示例请求:

查询 q : pizza,max_price:100的示例

chevron-rightsort_by,排序依据(Optional)hashtag

参数定义结果的排序顺序。

可用选项:

1 - 价格:从低到高

2 - 价格:从高到低

示例请求:

查询 q : pizza,sort_by:1的示例

chevron-rightfree_shipping,免费送货(Optional)hashtag

仅显示免费送货的商品。

示例请求:

查询 q : pizza,free_shipping:true的示例

chevron-righton_sale,特价中(Optional)hashtag

仅显示正在促销的商品。

示例请求:

查询 q : pizza,on_sale:true的示例

chevron-rightsmall_business,小型企业(Optional)hashtag

仅显示小型企业的产品。

示例请求:

查询 q : pizza,small_business:true的示例

For further assistance, contact us at [email protected].

Last updated