# 购物搜索

该 `google_shopping_search` source 返回来自 Google Shopping 的搜索结果。每个呈现的结果都包含一个 **product token** 它是使用 `google_shopping_product` [source](https://developers.oxylabs.io/documentation/cn/zhua-qu-jie-jue-fang-an/web-scraper-api/targets/google/shopping/shopping-product).

## 请求示例

在下面的代码示例中，我们搜索 "Nvidia RTX" 以获取产品的 `令牌` 在响应中。

{% tabs %}
{% tab title="cURL" %}

```shell
curl 'https://realtime.oxylabs.io/v1/queries' \
--user 'USERNAME:PASSWORD' \
-H 'Content-Type: application/json' \
-d '{
    "source": "google_shopping_search",
    "query": "nvidia rtx",
    "render": "html",
    "parse": true
    }'
```

{% endtab %}

{% tab title="Python" %}

```python
import requests
from pprint import pprint


# 构建负载。
payload = {
    "source": "google_shopping_search",
    "query": "nvidia rtx",
    "render": "html",
    "parse": True
}

# 获取响应。
response = requests.request(
    "POST",
    "https://realtime.oxylabs.io/v1/queries",
    auth=("USERNAME", "PASSWORD"),
    json=payload,
)

# 将美化后的响应打印到 stdout。
pprint(response.json())
```

{% endtab %}

{% tab title="Node.js" %}

```javascript
const https = require("https");

const username = "USERNAME";
const password = "PASSWORD";
const body = {
    source: "google_shopping_search",
    query: "nvidia rtx",
    render: "html",
    parse: true
};

const options = {
    hostname: "realtime.oxylabs.io",
    path: "/v1/queries",
    method: "POST",
    headers: {
        "Content-Type": "application/json",
        Authorization:
            "Basic " + Buffer.from(`${username}:${password}`).toString("base64"),
    },
};

const request = https.request(options, (response) => {
    let data = "";

    response.on("data", (chunk) => {
        data += chunk;
    });

    response.on("end", () => {
        const responseData = JSON.parse(data);
        console.log(JSON.stringify(responseData, null, 2));
    });
});

request.on("error", (error) => {
    console.error("Error:", error);
});

request.write(JSON.stringify(body));
request.end();
```

{% endtab %}

{% tab title="HTTP" %}

```http
https://realtime.oxylabs.io/v1/queries?source=google_shopping_search&query=nvidia+rtx&render=html&parse=true&access_token=12345abcde
```

{% endtab %}

{% tab title="PHP" %}

```php
<?php

$params = array(
    'source' => 'google_shopping_search',
    'query' => 'nvidia rtx',
    'render' => 'html',
    'parse' => true
);

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, "https://realtime.oxylabs.io/v1/queries");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($params));
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_USERPWD, "USERNAME" . ":" . "PASSWORD");

$headers = array();
$headers[] = "Content-Type: application/json";
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

$result = curl_exec($ch);
echo $result;

if (curl_errno($ch)) {
    echo 'Error:' . curl_error($ch);
}
curl_close($ch);
```

{% endtab %}

{% tab title="Golang" %}

```go
package main

import (
	"bytes"
	"encoding/json"
	"fmt"
	"io/ioutil"
	"net/http"
)

func main() {
	const Username = "USERNAME"
	const Password = "PASSWORD"

	payload := map[string]interface{}{
		"source": "google_shopping_search",
		"query":  "nvidia rtx",
		"render": "html",
		"parse":  true,
	}

	jsonValue, _ := json.Marshal(payload)

	client := &http.Client{}
	request, _ := http.NewRequest("POST",
		"https://realtime.oxylabs.io/v1/queries",
		bytes.NewBuffer(jsonValue),
	)

	request.SetBasicAuth(Username, Password)
	response, _ := client.Do(request)

	responseText, _ := ioutil.ReadAll(response.Body)
	fmt.Println(string(responseText))
}

```

{% endtab %}

{% tab title="C#" %}

```csharp
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Json;
using System.Threading.Tasks;

namespace OxyApi
{
    class Program
    {
        static async Task Main()
        {
            const string Username = "USERNAME";
            const string Password = "PASSWORD";

            var parameters = new {
                source = "google_shopping_search",
                query = "nvidia rtx",
                render = "html",
                parse = true
            };

            var client = new HttpClient();

            Uri baseUri = new Uri("https://realtime.oxylabs.io");
            client.BaseAddress = baseUri;

            var requestMessage = new HttpRequestMessage(HttpMethod.Post, "/v1/queries");
            requestMessage.Content = JsonContent.Create(parameters);

            var authenticationString = $"{Username}:{Password}";
            var base64EncodedAuthenticationString = Convert.ToBase64String(System.Text.ASCIIEncoding.UTF8.GetBytes(authenticationString));
            requestMessage.Headers.Add("Authorization", "Basic " + base64EncodedAuthenticationString);

            var response = await client.SendAsync(requestMessage);
            var contents = await response.Content.ReadAsStringAsync();

            Console.WriteLine(contents);
        }
    }
}
```

{% endtab %}

{% tab title="Java" %}

```java
package org.example;

import okhttp3.*;
import org.json.JSONArray;
import org.json.JSONObject;
import java.util.concurrent.TimeUnit;

public class Main implements Runnable {
    private static final String AUTHORIZATION_HEADER = "Authorization";
    public static final String USERNAME = "USERNAME";
    public static final String PASSWORD = "PASSWORD";

    public void run() {
        JSONObject jsonObject = new JSONObject();
        jsonObject.put("source", "google_shopping_search");
        jsonObject.put("query", "nvidia rtx");
        jsonObject.put("render", "html");
        jsonObject.put("parse", true);

        Authenticator authenticator = (route, response) -> {
            String credential = Credentials.basic(USERNAME, PASSWORD);
            return response
                    .request()
                    .newBuilder()
                    .header(AUTHORIZATION_HEADER, credential)
                    .build();
        };

        var client = new OkHttpClient.Builder()
                .authenticator(authenticator)
                .readTimeout(180, TimeUnit.SECONDS)
                .build();

        var mediaType = MediaType.parse("application/json; charset=utf-8");
        var body = RequestBody.create(jsonObject.toString(), mediaType);
        var request = new Request.Builder()
                .url("https://realtime.oxylabs.io/v1/queries")
                .post(body)
                .build();

        try (var response = client.newCall(request).execute()) {
            if (response.body() != null) {
                try (var responseBody = response.body()) {
                    System.out.println(responseBody.string());
                }
            }
        } catch (Exception exception) {
            System.out.println("Error: " + exception.getMessage());
        }

        System.exit(0);
    }

    public static void main(String[] args) {
        new Thread(new Main()).start();
    }
}
```

{% endtab %}

{% tab title="JSON" %}

```json
{
    "source": "google_shopping_search",
    "query": "nvidia rtx",
    "render": "html",
    "parse": true
}
```

{% endtab %}
{% endtabs %}

{% hint style="warning" %}
**注意：** 只有已渲染的解析作业才会返回产品令牌。
{% endhint %}

我们在示例中使用同步 [**Realtime**](https://developers.oxylabs.io/documentation/cn/zhua-qu-jie-jue-fang-an/web-scraper-api/integration-methods/realtime) 集成方法。如果您想使用 [**Proxy Endpoint**](https://developers.oxylabs.io/documentation/cn/zhua-qu-jie-jue-fang-an/web-scraper-api/integration-methods/proxy-endpoint) 或异步 [**Push-Pull**](https://developers.oxylabs.io/documentation/cn/zhua-qu-jie-jue-fang-an/web-scraper-api/integration-methods/push-pull) 集成，请参阅 [**集成方法**](https://developers.oxylabs.io/documentation/cn/zhua-qu-jie-jue-fang-an/web-scraper-api/integration-methods) 部分。

## 请求参数值

### 通用

<table><thead><tr><th width="222">参数</th><th width="330.3333333333333">描述</th><th>默认值</th></tr></thead><tbody><tr><td><mark style="background-color:green;"><strong><code>source</code></strong></mark></td><td>设置爬虫。</td><td><code>google_shopping_search</code></td></tr><tr><td><mark style="background-color:green;"><strong><code>query</code></strong></mark></td><td>要搜索的关键词或短语。</td><td>-</td></tr><tr><td><mark style="color:默认;background-color:green;"><strong><code>render</code></strong></mark></td><td>启用 JavaScript 渲染。必须设置为 <code>html</code> 以获取产品 <strong>令牌</strong>. <a href="../../../features/js-rendering-and-browser-control/javascript-rendering"><strong>更多信息</strong></a><strong>.</strong></td><td>-</td></tr><tr><td><code>parse</code></td><td>当设置为时返回解析后的数据 <code>true</code>。查看输出 <a href="#output-data-dictionary"><strong>数据字典</strong></a>.</td><td><code>false</code></td></tr><tr><td><code>callback_url</code></td><td>回调端点的 URL。 <a href="../../../../integration-methods/push-pull#callback"><strong>更多信息</strong></a>.</td><td>-</td></tr><tr><td><code>user_agent_type</code></td><td>设备类型和浏览器。完整列表可在 <a href="../../../features/http-context-and-job-management/user-agent-type"><strong>here</strong></a>.</td><td><code>desktop</code></td></tr></tbody></table>

&#x20;   \- 必填参数

### 本地化

<table><thead><tr><th width="218">参数</th><th width="336.3333333333333">描述</th><th>默认值</th></tr></thead><tbody><tr><td><code>geo_location</code></td><td>应适配结果的地理位置。正确使用此参数对于获取正确数据非常重要。有关更多信息，请阅读我们建议的 <code>geo_location</code> 参数结构 <a href="../../../../features/localization/serp-localization#google"><strong>here</strong></a><strong>.</strong></td><td>-</td></tr><tr><td><code>locale</code></td><td><code>Accept-Language</code> 标头值，用于更改您 Google 搜索页面的网页界面语言。 <a href="../../../../features/localization/domain-locale-results-language#locale-1"><strong>更多信息</strong></a>.</td><td>-</td></tr><tr><td><code>context</code>:<br><code>results_language</code></td><td>结果语言。受支持的 Google 语言列表可在 <a href="../../../../features/localization/domain-locale-results-language#results-language"><strong>here</strong></a>.</td><td>-</td></tr></tbody></table>

{% hint style="warning" %}
**注意：** 确保您用于 的本地化参数在 各源之间相同（未定义则为无）。源之间的区域不一致可能导致数据不完整或不准确。 `google_shopping_product` 和 `google_shopping_search` 源 之间的区域不一致可能导致数据不完整或不准确。
{% endhint %}

### 分页

用于管理搜索结果分页和检索的控制项。

<table><thead><tr><th width="222">参数</th><th width="350.3333333333333">描述</th><th width="167">默认值</th></tr></thead><tbody><tr><td><code>start_page</code></td><td>起始页码。</td><td><code>1</code></td></tr><tr><td><code>pages</code></td><td>要检索的页数。</td><td><code>1</code></td></tr></tbody></table>

### 上下文参数

用于定制搜索上下文或针对特殊需求的高级选项。上下文参数应按下面所示添加到 context 数组中：

```json
...
"context": [
    {
        "key": "filter",
        "value": "0"
    }
]
...
```

<table><thead><tr><th width="222">参数</th><th width="350.3333333333333">描述</th><th>默认值</th></tr></thead><tbody><tr><td><code>context</code>:<br><code>sort_by</code></td><td>按给定条件对产品列表进行排序。 <code>r</code> 应用默认 Google 排序， <code>rv</code> - 按评论分数， <code>p</code> - 按价格升序， <code>pd</code> - 按价格降序。</td><td><code>r</code></td></tr><tr><td><code>context</code>:<br><code>min_price</code></td><td>要筛选的产品最低价格。</td><td>-</td></tr><tr><td><code>context</code>:<br><code>max_price</code></td><td>要筛选的产品最高价格。</td><td>-</td></tr><tr><td><code>context</code>:<br><code>nfpr</code></td><td><code>true</code> 将关闭拼写自动更正。</td><td>-</td></tr></tbody></table>

## 结构化数据

下面您可以找到一个 **结构化输出示例** 之间， `google_shopping_search`.

{% file src="<https://2655358775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzrXw45naRpCZ0Ku9AjY1%2Fuploads%2FwdPGjAxSYXIVy6fxCRhR%2Fgoogle_shopping_search-output.json?alt=media&token=28f851cf-527c-4619-a81a-c8f5fa6478fa>" %}

## 输出数据字典

**HTML 示例**

<figure><img src="https://2655358775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzrXw45naRpCZ0Ku9AjY1%2Fuploads%2FFVGJfaQ1B7tj2WcvNPWO%2FScreenshot%202025-10-15%20at%2015.24.16.png?alt=media&#x26;token=5e390c87-35ad-4d49-81fc-eb998643371f" alt=""><figcaption></figcaption></figure>

#### JSON 结构

下表列出了我们解析的每个搜索页面元素的详细清单，包括其描述和数据类型。表中还包含一些元数据。

<table><thead><tr><th width="240">键</th><th width="373">描述</th><th width="143">类型</th></tr></thead><tbody><tr><td><code>url</code></td><td>查询对应的 Google Shopping 搜索页面的 URL。</td><td>字符串</td></tr><tr><td><code>page</code></td><td>搜索结果的当前页码。</td><td>整数</td></tr><tr><td><code>结果</code></td><td>包含详细搜索结果的对象。</td><td>对象</td></tr><tr><td><code>pla</code> （可选）</td><td>包含各自详细信息的商品展示广告列表。</td><td>数组</td></tr><tr><td><code>filters</code> （可选）</td><td>各种筛选器的列表。</td><td>数组</td></tr><tr><td><code>organic</code></td><td>包含各自详细信息的非付费（自然）列表。</td><td>数组</td></tr><tr><td><code>search_information</code></td><td>提交的搜索查询的详细信息列表。</td><td>对象</td></tr><tr><td><code>search_information.query</code></td><td>原始搜索词。</td><td>字符串</td></tr><tr><td><code>search_information.showing_results_for</code></td><td>搜索结果为其显示的搜索词。`query` 和 `showing_results_for` 如果 Google 自动更正了提供的搜索词可能会不同。</td><td>字符串</td></tr><tr><td><code>last_visible_page</code></td><td>标识搜索结果页面中可见最大页码的值。（当通过滚动启动加载更多结果时为 -1）。</td><td>整数</td></tr><tr><td><code>parse_status_code</code></td><td>解析任务的状态代码。您可以在此处查看解析器状态代码的描述 <a href="https://github.com/oxylabs/gitbook-public-english/blob/master/scraping-solutions/web-scraper-api/targets/google/shopping/broken-reference/README.md"><strong>here</strong></a>.</td><td>整数</td></tr><tr><td><code>created_at</code></td><td>抓取任务创建的时间戳。</td><td>timestamp</td></tr><tr><td><code>updated_at</code></td><td>抓取任务完成的时间戳。</td><td>timestamp</td></tr><tr><td><code>status_code</code></td><td>抓取任务的状态代码。您可以在此处查看抓取器状态代码的描述 <a href="https://github.com/oxylabs/gitbook-public-english/blob/master/scraping-solutions/web-scraper-api/targets/google/shopping/broken-reference/README.md"><strong>here</strong></a>.</td><td>整数</td></tr><tr><td><code>job_id</code></td><td>与抓取任务关联的作业 ID。</td><td>字符串</td></tr></tbody></table>

{% hint style="info" %}
在下列部分，当某个结果类型存在多个项目时，解析后的 JSON 代码片段会被缩短。
{% endhint %}

### 付费列表广告

包含产品列表广告 (PLA) 的对象数组。（示例）

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXfkje7GDLS8Q67yEA9wX9tcFSZpI79pun9D5XUsoaHoOPqmVM9-eAAHoNd8n_pi46NKy648vV5yB_2GvzXZEhh7p8JRBV73GBVHiczC71v6haNGkdZqgYYnR8I44UdtzqzIGzdt3wp1dB0SG-xaR0sHCYj8?key=dCZ5EAYTk7rLOr8OSUpsuw" alt=""><figcaption></figcaption></figure>

```json
...
  "pla": [
    {
        "items": [
            {
                "pos": 1,
                "url": "/aclk?sa=l&ai=DChcSEwiY8fLUi9OGAxVtj1AGHYnVBj0YABABGgJkZw&gclid=EAIaIQobChMImPHy1IvThgMVbY9QBh2J1QY9EAQYASABEgKpS_D_BwE&sig=AOD64_2DguiyFTR4GRY6Ww9o__l9HgJC_A&ctype=5&q=&ved=0ahUKEwj-6ezUi9OGAxWiWUEAHdbxAgsQww8I2xA&adurl=",
                "price": "$2,199.00",
                "title": "Polycade Sente: Black",
                "seller": "Polycade",
                "thumbnail": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcS59ZNOrZH96cy_cOgzxL52VoJYq9iPl7q8g26f9odcuG8pY8ZRxe9YMhkZDPnFAZDyP04lu29gy57ObwsKpWHb_pzQBja34tkErnSAz3nw&usqp=CAE"
            },
            {
                "pos": 2,
                "url": "/aclk?sa=l&ai=DChcSEwiY8fLUi9OGAxVtj1AGHYnVBj0YABADGgJkZw&gclid=EAIaIQobChMImPHy1IvThgMVbY9QBh2J1QY9EAQYAiABEgJwHvD_BwE&sig=AOD64_0LFB8jrHwNdEkmOdjcjGOdhQ9ZVg&ctype=5&q=&ved=0ahUKEwj-6ezUi9OGAxWiWUEAHdbxAgsQww8I3hA&adurl=",
                "price": "$2,199.00",
                "title": "Polycade Sente: White",
                "seller": "Polycade",
                "thumbnail": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcQ2onFg_aXbg8LTX3qJT9f9XdiFrl_SNLXlpKhSjCQQ2c5EmQcrNXPwCMphjugJUhWctBpRVC0BiS4OUnq0FRAeQ4BXEWI6FuvZvGERsLc&usqp=CAE"
            },
                                ...
        ],
        "pos_overall": 1
    }
],
...
```

<table><thead><tr><th width="188">键 (pla)</th><th width="434">描述</th><th>类型</th></tr></thead><tbody><tr><td><code>项目</code></td><td>页面中可用的所有 PLA 项目。</td><td>数组</td></tr><tr><td><code>pos</code></td><td>表示某个项目在 PLA 结果中位置的指示器。</td><td>整数</td></tr><tr><td><code>url</code></td><td>产品的 URL。</td><td>字符串</td></tr><tr><td><code>price</code></td><td>商品展示广告中产品的价格。</td><td>字符串</td></tr><tr><td><code>title</code></td><td>商品展示广告中产品的标题。</td><td>字符串</td></tr><tr><td><code>rating</code></td><td>产品的评分。</td><td>整数</td></tr><tr><td><code>seller</code></td><td>商品展示广告中产品的卖家。</td><td>字符串</td></tr><tr><td><code>thumbnail</code></td><td>产品缩略图图片的 URL。</td><td>字符串</td></tr><tr><td><code>reviews_count</code></td><td>产品的评论数量。</td><td>可选</td></tr><tr><td><code>pos_overall</code></td><td>表示该结果在 SERP 中的位置。</td><td>整数</td></tr></tbody></table>

### 筛选器

<figure><img src="https://2655358775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzrXw45naRpCZ0Ku9AjY1%2Fuploads%2FbQA38FgDLSPjyisdPCfx%2FScreenshot%202025-10-15%20at%2016.29.04.png?alt=media&#x26;token=fb4173e0-f084-4371-addd-640228026a35" alt=""><figcaption></figcaption></figure>

```json
...
"filters": [
    {
        "name": "仅显示",
        "values": [
            {
                "url": "/search?sca_esv=bbd3241cb3940ce2&sca_upv=1&gl=us&hl=en&tbm=shop&q=adidas&tbs=mr:1,sales:1&sa=X&ved=0ahUKEwikoMX_iNOGAxVvFbkGHV6uDZcQ7KEGCJ4WKAA",
                "value": "促销中"
            }
        ]
    },
    {
        "name": "价格",
        "values": [
            {
                "url": "/search?sca_esv=bbd3241cb3940ce2&sca_upv=1&gl=us&hl=en&tbm=shop&q=adidas&tbs=mr:1,price:1,ppr_max:40&sa=X&ved=0ahUKEwikoMX_iNOGAxVvFbkGHV6uDZcQvSsIohYoAA",
                "value": "最高 $40"
            },
                                ...
                                {
                "url": "/search?sca_esv=bbd3241cb3940ce2&sca_upv=1&gl=us&hl=en&tbm=shop&q=adidas&tbs=mr:1,price:1,ppr_min:90&sa=X&ved=0ahUKEwikoMX_iNOGAxVvFbkGHV6uDZcQvSsIpRYoAw",
                "value": "超过 $90"
            }
        ]
    },
    {
        "name": "颜色",
        "values": [
            {
                "url": "/search?sca_esv=bbd3241cb3940ce2&sca_upv=1&gl=us&hl=en&tbm=shop&q=adidas&tbs=mr:1,color:specific,color_val:black&sa=X&ved=0ahUKEwikoMX_iNOGAxVvFbkGHV6uDZcQtSsIrBYoAA",
                "value": "黑色"
            },
                                ...
                                {
                "url": "/search?sca_esv=bbd3241cb3940ce2&sca_upv=1&gl=us&hl=en&tbm=shop&q=adidas&tbs=mr:1,color:specific,color_val:pink&sa=X&ved=0ahUKEwikoMX_iNOGAxVvFbkGHV6uDZcQtSsIshYoBg",
                "value": "粉色"
            }
        ]
    },
                        ...
]
```

<table><thead><tr><th width="238">键 (filters)</th><th width="402">描述</th><th width="113">类型</th></tr></thead><tbody><tr><td><code>name</code></td><td>筛选类别的名称</td><td>字符串</td></tr><tr><td><code>values</code></td><td>类别内可用的筛选选项。</td><td>数组</td></tr><tr><td><code>values.url</code></td><td>表示该筛选选项的过滤搜索查询的 URL。</td><td>字符串</td></tr><tr><td><code>values.value</code></td><td>筛选选项的显示名称</td><td>字符串</td></tr><tr><td><code>values.merchant_id</code> （可选）</td><td>与此筛选选项关联的商家 ID。</td><td>字符串</td></tr></tbody></table>

### 自然结果

包含有机（自然）搜索结果详细信息的对象数组。

<figure><img src="https://2655358775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzrXw45naRpCZ0Ku9AjY1%2Fuploads%2FzYqsLANm9HZ9DMfeVQNc%2FScreenshot%202025-10-15%20at%2016.34.10.png?alt=media&#x26;token=2de4c379-ddac-4648-a42d-a6f6b9957662" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2655358775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzrXw45naRpCZ0Ku9AjY1%2Fuploads%2FsmE3qjM6CkyUsWlZIVBK%2FScreenshot%202025-10-15%20at%2016.26.24.png?alt=media&#x26;token=9ee312a4-eaf0-4056-8086-53247a3337da" alt=""><figcaption></figcaption></figure>

```json
...
"organic": [
    {
        "pos": 1,
        "url": "https://www.google.com/shopping/product/16307418470740744792?q=nvidia+rtx&hl=en&udm=28&sei=j5fsaPC2FYWQur8P293m8A8&gl=us",
        "type": "grid",
        "price": 3090,
        "title": "NVIDIA GeForce RTX 5090 32GB GDDR7 Graphics Card",
        "token": "eyJjYXRhbG9naWQiOiAiMTYzMDc0MTg0NzA3NDA3NDQ3OTIiLCAiZ3BjaWQiOiAiMjM4NTIwNzk2NTI4MjUxMzUzOSIsICJpbWFnZURvY2lkIjogIjkyMjY0MjkwODMxMzQ4NDkwNDUiLCAibWlkIjogIiIsICJwdm8iOiAiMjMiLCAicHZ0IjogImhnIiwgInJkcyI6ICJQQ18yMzg1MjA3OTY1MjgyNTEzNTM5fFBST0RfUENfMjM4NTIwNzk2NTI4MjUxMzUzOSIsICJwcm9kdWN0aWQiOiAiIiwgInF1ZXJ5IjogIm52aWRpYSBydHgifQ==",
        "rating": 4.6,
        "currency": "USD",
        "delivery": "周五之前免费送达",
        "merchant": {
            "name": "eBay"
        },
        "price_str": "$3,090.00",
        "thumbnail": "<THUMBNAIL_STR>",
        "product_id": "1503163696221055935",
        "pos_overall": 1,
        "reviews_count": 311
    },
]
...
```

<table><thead><tr><th width="266">键 (organic)</th><th width="360">描述</th><th>类型</th></tr></thead><tbody><tr><td><code>pos</code></td><td>产品在搜索结果中的位置。</td><td>整数</td></tr><tr><td><code>url</code></td><td>产品页面的 URL。</td><td>字符串</td></tr><tr><td><code>类型</code></td><td>列表布局的类型。</td><td>字符串</td></tr><tr><td><code>price</code></td><td>指定货币下产品的价格。</td><td>浮点数</td></tr><tr><td><code>title</code></td><td>产品列表的标题。</td><td>字符串</td></tr><tr><td><code>令牌</code></td><td>产品令牌。</td><td>字符串</td></tr><tr><td><code>rating</code> （可选）</td><td>产品的平均用户评分，通常以 5 分制计。</td><td>整数</td></tr><tr><td><code>currency</code></td><td>产品价格使用的货币代码。</td><td>字符串</td></tr><tr><td><code>delivery</code></td><td>交付详情，包括预计交付日期和退货政策。</td><td>字符串</td></tr><tr><td><code>merchant</code> （可选）</td><td>包含有关出售该产品的商家详细信息的对象。</td><td>对象</td></tr><tr><td><code>merchant.url</code></td><td>商家页面的 URL。</td><td>字符串</td></tr><tr><td><code>merchant.name</code></td><td>商家的名称。</td><td>字符串</td></tr><tr><td><code>price_str</code></td><td>作为字符串显示的产品价格，包括货币符号。</td><td>字符串</td></tr><tr><td><code>thumbnail</code></td><td>产品缩略图的 URL。</td><td>字符串</td></tr><tr><td><code>product_id</code></td><td>产品的唯一标识符。</td><td>字符串</td></tr><tr><td><code>pos_overall</code></td><td>产品在搜索结果中的整体位置。</td><td>整数</td></tr><tr><td><code>reviews_count</code> （可选）</td><td>该产品的评论总数。</td><td>整数</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.oxylabs.io/documentation/cn/zhua-qu-jie-jue-fang-an/web-scraper-api/targets/google/shopping/shopping-search.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
