> For the complete documentation index, see [llms.txt](https://developers.oxylabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.oxylabs.io/products/cn/web-scraper-api/mu-biao/dian-zi-shang-wu/walmart/shang-pin.md).

# 商品

使用 网页爬虫API 抓取 Walmart 商品页。获取商品的标题、价格、评分、卖家、变体、规格和履约选项，并支持门店本地化。

该 `walmart_product` source 用于抓取 Walmart 商品页面。配合 `"parse": true` 响应为结构化 JSON（字段说明见下方数据字典）；不使用它时，响应中包含页面 HTML，位于 `content`.

{% hint style="info" %}
除了下面列出的参数外，您还可以添加其他参数，例如 `user_agent_type`, `geo_location`, `render`等，以自定义您的抓取请求。更多信息见 [这里](https://developers.oxylabs.io/products/cn/web-scraper-api/features.md).
{% endhint %}

## 请求示例

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

```shell
curl 'https://realtime.oxylabs.io/v1/queries' \
--user 'USERNAME:PASSWORD' \
-H 'Content-Type: application/json' \
-d '{
        "source": "walmart_product",
        "product_id": "11601059297",
        "parse": true
    }'
```

{% endtab %}

{% tab title="Python" %}

```python
import requests
from pprint import pprint

# Structure payload.
payload = {
    'source': 'walmart_product',
    'product_id': '11601059297',
    'parse': True
}

# Get response.
response = requests.request(
    'POST',
    'https://realtime.oxylabs.io/v1/queries',
    auth=('USERNAME', 'PASSWORD'),
    json=payload
)

# Instead of response with job status and results url, this will return the
# JSON response with the result.
pprint(response.json())
```

{% endtab %}

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

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

const username = "USERNAME";
const password = "PASSWORD";
const body = {
    source: "walmart_product",
    product_id: "11601059297",
    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
您提交的整个字符串必须进行 URL 编码。

https://realtime.oxylabs.io/v1/queries?source=walmart_product&product_id=11601059297&parse=true&access_token=12345abcde
```

{% endtab %}

{% tab title="PHP" %}

```php
<?php

$params = array(
    'source' => 'walmart_product',
    'product_id' => '11601059297',
    '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": "walmart_product",
        "product_id": "11601059297",
        "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 = "walmart_product",
                product_id = "11601059297",
                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.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", "walmart_product");
        jsonObject.put("product_id", "11601059297");
        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": "walmart_product",
    "product_id": "11601059297",
    "parse": true
}
```

{% endtab %}
{% endtabs %}

## 请求参数值

<table><thead><tr><th width="180">参数</th><th>说明</th><th width="160">默认值</th></tr></thead><tbody><tr><td><mark style="background-color:green;"><strong><code>source</code></strong></mark></td><td>设置抓取器。</td><td><code>walmart_product</code></td></tr><tr><td><mark style="background-color:green;"><strong><code>product_id</code></strong></mark></td><td>商品 ID，即商品页面 URL 中商品名称后的数字，例如 <code>walmart.com/ip/Straight-Talk-Apple-iPhone-16-128GB-White/</code><strong><code>11601059297</code></strong>.</td><td>-</td></tr><tr><td><code>parse</code></td><td>设置为时返回解析后的数据 <code>true</code>。查看 <a href="#output-data-dictionary">输出数据字典</a>.</td><td><code>false</code></td></tr><tr><td><code>domain</code>, <code>store_id</code>, <code>delivery_zip</code>, <code>fulfillment_type</code></td><td>可选的本地化参数，见 <a href="#localization-and-filtering">本地化和过滤</a>.</td><td>-</td></tr></tbody></table>

&#x20;   \- 必填参数

## 响应示例 <a href="#response-example" id="response-example"></a>

产品 ID 的解析后产品页面 `11601059297` （列表已缩短，描述已截断）：

```json
{
    "results": [
        {
            "content": {
                "breadcrumbs": [
                    {
                        "category_name": "Cell Phones",
                        "url": "/cp/cell-phones/1105910"
                    },
                    {
                        "category_name": "Shop Phones by Brand",
                        "url": "/cp/shop-phones-by-brand/7551331"
                    }
                ],
                "cheapest_seller_name": null,
                "fulfillment": {
                    "delivery": false,
                    "delivery_information": ", 配送，暂无可用",
                    "free_shipping": false,
                    "fulfilled_by": "",
                    "out_of_stock": false,
                    "pickup": false,
                    "pickup_information": ", 自提，暂无可用",
                    "shipping": true,
                    "shipping_information": ", 配送，预计 10 月 1 日送达，免费"
                },
                "general": {
                    "badge": [
                        "已加入 25+ 人的购物车",
                        "畅销商品"
                    ],
                    "brand": "Apple",
                    "description": "<p>超快。超聪明。使用 Straight Talk 的 iPhone 16，获得首款为 Apple Intelligence<sup>1</sup> 打造的 iPhone。</p> <p>配备...",
                    "images": [
                        "https://i5.walmartimages.com/seo/Straight-Talk-Apple-iPhone-16-128GB-White-Prepaid-Smartphone-Locked-to-Straight-Talk_7f52d4b1-47ea-40cc-ae62-2b5edf40f29b.8ef1f8d28ce70177fbc03331f9fa9064.jpeg?odnHeight=117&odnWidth=117&odnBg=FFFFFF"
                    ],
                    "main_image": "https://i5.walmartimages.com/seo/Straight-Talk-Apple-iPhone-16-128GB-White-Prepaid-Smartphone-Locked-to-Straight-Talk_7f52d4b1-47ea-40cc-ae62-2b5edf40f29b.8ef1f8d28ce70177fbc03331f9fa9064.jpeg?odnHeight=573&odnWidth=573&odnBg=FFFFFF",
                    "meta": {
                        "gtin": "616960552697",
                        "sku": "11632865509"
                    },
                    "title": "Straight Talk Apple iPhone 16，128GB，白色 - 预付费智能手机 [锁定为 Straight Talk]",
                    "url": "https://www.walmart.com/ip/Straight-Talk-Apple-iPhone-16-128GB-White-Prepaid-Smartphone-Locked-to-Straight-Talk/11601059297"
                },
                "location": {
                    "city": "Rockville",
                    "state": "MD",
                    "store_id": "2357",
                    "zip_code": "20850"
                },
                "parse_status_code": 12000,
                "price": {
                    "currency": "USD",
                    "price": 629
                },
                "rating": {
                    "count": 768,
                    "rating": 4.4
                },
                "seller": {
                    "id": "F55CDC31AB754BB68FE0B39041159D63",
                    "name": "Walmart.com",
                    "official_name": "Walmart.com"
                },
                "sold_by_walmart_price": null,
                "specifications": [
                    {
                        "key": "Edition",
                        "value": "Apple iPhone 16"
                    },
                    {
                        "key": "HD capacity",
                        "value": "128 GB"
                    }
                ],
                "variations": [
                    {
                        "price": {
                            "currency": "USD",
                            "price": 629
                        },
                        "product_id": "3VYN46XFXQYH",
                        "selected_options": [
                            {
                                "key": "Capacity",
                                "value": "128GB"
                            },
                            {
                                "key": "Series",
                                "value": "iPhone 16"
                            },
                            {
                                "key": "Color",
                                "value": "White"
                            }
                        ],
                        "state": "IN_STOCK"
                    }
                ]
            },
            "created_at": "2026-09-26 06:26:02",
            "updated_at": "2026-09-26 06:26:04",
            "page": 1,
            "url": "https://www.walmart.com/ip/QNFsjIgTiuFvWXkl/11601059297",
            "job_id": "7509498501294774273",
            "status_code": 200,
            "is_render_forced": false,
            "parser_type": "walmart_product_new"
        }
    ]
}
```

## 本地化和过滤 <a href="#localization-and-filtering" id="localization-and-filtering"></a>

Walmart 会根据门店调整价格和可用性。解析后的 `location` 对象显示该页面对应的门店；如果没有 `store_id` 或 `delivery_zip` 则为随机的美国门店。

你也可以找到 Walmart 门店的官方页面 [**这里**](https://www.walmart.com/store-directory)**.** 各站点的门店编号在这些列表中（`store_id` 列）：

{% file src="/files/a1fd89df42ba65b5b82eb8830835de0afcfd38c7" %}

{% file src="/files/46899e4a5618d3d01f87817cfa6346a07e18bac6" %}

{% file src="/files/627397ac4f11a69d93c2ff8ed9a5679e04b086ad" %}

{% file src="/files/6820d3e7b452344fc889cc51360075ef50fdb882" %}

<table><thead><tr><th width="162">参数</th><th width="510">说明</th><th width="88">默认值</th></tr></thead><tbody><tr><td><code>domain</code></td><td>要抓取的 Walmart 站点。可用值： <code>com</code> (walmart.com), <code>ca</code> (walmart.ca), <code>com.mx</code> (walmart.com.mx), <code>co.cr</code> （walmart.co.cr）。请使用所选站点的商品 ID。</td><td><code>com</code></td></tr><tr><td><code>store_id</code></td><td>所选站点的 Walmart 门店编号，字符串，例如 <code>"3520"</code>。请从上面的门店列表中获取。</td><td>-</td></tr><tr><td><code>delivery_zip</code></td><td>送货 ZIP 或邮政编码，字符串，例如 <code>"90210"</code>。距离该编码最近的门店将成为该页面的门店。</td><td>-</td></tr><tr><td><code>fulfillment_type</code></td><td>用于显示可用性的履约方式。可用值： <code>pickup</code>, <code>delivery</code>, <code>shipping</code>。请与 <code>store_id</code> 或 <code>delivery_zip</code>.</td><td>-</td></tr></tbody></table>

```json
{
    "source": "walmart_product",
    "product_id": "174916638",
    "store_id": "3520",
    "fulfillment_type": "pickup",
    "parse": true
}
```

{% hint style="info" %}
如果目标门店与给定邮政编码距离过远，我们会尝试使用目标门店的邮政编码，否则位置将无法正确设置。如果我们无法设置 `delivery_zip` — Walmart 将返回其默认结果，不进行门店定向。
{% endhint %}

## 输出数据字典

#### HTML 示例

<figure><img src="https://3714446197-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBQ7Zf9paoN3FTeGcyfY1%2Fuploads%2Fgit-blob-594d284dbfc053eaf3bc5765fdc40324ee78a1de%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

**JSON 结构**

下表列出了我们解析的每个产品页面元素的详细列表，以及它们的说明和数据类型。表中还包括一些元数据。

<table><thead><tr><th width="237">键</th><th width="406">说明</th><th>类型</th></tr></thead><tbody><tr><td><code>通用</code></td><td>商品的通用详情。</td><td>对象</td></tr><tr><td><code>price</code></td><td>商品的价格详情。</td><td>对象</td></tr><tr><td><code>rating</code></td><td>商品的评分详情。</td><td>对象</td></tr><tr><td><code>卖家</code></td><td>买盒报价卖家的详细信息。</td><td>对象</td></tr><tr><td><code>变体</code> （可选）</td><td>商品变体列表。</td><td>数组</td></tr><tr><td><code>面包屑导航</code></td><td>通往该商品的类目路径。</td><td>数组</td></tr><tr><td><code>location</code></td><td>该页面所对应的门店。</td><td>对象</td></tr><tr><td><code>履约</code></td><td>商品的履约选项。</td><td>对象</td></tr><tr><td><code>规格</code></td><td>包含商品属性的键值对列表。</td><td>数组</td></tr><tr><td><code>cheapest_seller_name</code> （可选）</td><td>当 Walmart 显示时，"Other sellers" 框中展示的卖家名称。</td><td>字符串</td></tr><tr><td><code>cheapest_price</code> （可选）</td><td>“Other sellers” 框中展示的报价价格，作为一个对象，包含 <code>price</code> 和 <code>currency</code>.</td><td>对象</td></tr><tr><td><code>sold_by_walmart_price</code> （可选）</td><td>当 buy-box 报价来自其他卖家时，Walmart 自己的价格（如显示）。</td><td>对象</td></tr><tr><td><code>parse_status_code</code></td><td>解析任务的状态码。您可以查看所述的解析器状态码 <strong>这里</strong>.</td><td>整数</td></tr><tr><td><code>created_at</code></td><td>抓取任务创建时的时间戳。</td><td>时间戳</td></tr><tr><td><code>updated_at</code></td><td>抓取任务完成时的时间戳。</td><td>时间戳</td></tr><tr><td><code>page</code></td><td>结果分页中的页码。</td><td>整数</td></tr><tr><td><code>url</code></td><td>抓取页面的 URL。</td><td>字符串</td></tr><tr><td><code>job_id</code></td><td>与该抓取任务关联的任务 ID。</td><td>字符串</td></tr><tr><td><code>status_code</code></td><td>被抓取页面的 HTTP 状态码。</td><td>整数</td></tr><tr><td><code>is_render_forced</code></td><td>标识此请求是否已强制渲染。</td><td>布尔值</td></tr><tr><td><code>parser_type</code></td><td>用于提取数据的解析器类型。</td><td>字符串</td></tr></tbody></table>

### **通用**

来自以下内容的片段 [响应示例](#response-example):

```json
...
"general": {
                    "badge": [
                        "已加入 25+ 人的购物车",
                        "畅销商品"
                    ],
                    "brand": "Apple",
                    "description": "<p>超快。超聪明。使用 Straight Talk 的 iPhone 16，获得首款为 Apple Intelligence<sup>1</sup> 打造的 iPhone。</p> <p>配备...",
                    "images": [
                        "https://i5.walmartimages.com/seo/Straight-Talk-Apple-iPhone-16-128GB-White-Prepaid-Smartphone-Locked-to-Straight-Talk_7f52d4b1-47ea-40cc-ae62-2b5edf40f29b.8ef1f8d28ce70177fbc03331f9fa9064.jpeg?odnHeight=117&odnWidth=117&odnBg=FFFFFF"
                    ],
                    "main_image": "https://i5.walmartimages.com/seo/Straight-Talk-Apple-iPhone-16-128GB-White-Prepaid-Smartphone-Locked-to-Straight-Talk_7f52d4b1-47ea-40cc-ae62-2b5edf40f29b.8ef1f8d28ce70177fbc03331f9fa9064.jpeg?odnHeight=573&odnWidth=573&odnBg=FFFFFF",
                    "meta": {
                        "gtin": "616960552697",
                        "sku": "11632865509"
                    },
                    "title": "Straight Talk Apple iPhone 16，128GB，白色 - 预付费智能手机 [锁定为 Straight Talk]",
                    "url": "https://www.walmart.com/ip/Straight-Talk-Apple-iPhone-16-128GB-White-Prepaid-Smartphone-Locked-to-Straight-Talk/11601059297"
                  },
 ...
```

<table><thead><tr><th width="131">键（general）</th><th width="508">说明</th><th>类型</th></tr></thead><tbody><tr><td><code>url</code></td><td>商品页面的 URL。</td><td>字符串</td></tr><tr><td><code>main_image</code></td><td>主商品图片的 URL。</td><td>字符串</td></tr><tr><td><code>images</code></td><td>商品图片 URL 列表。</td><td>数组</td></tr><tr><td><code>title</code></td><td>产品标题。</td><td>字符串</td></tr><tr><td><code>description</code></td><td>商品描述。</td><td>字符串</td></tr><tr><td><code>brand</code></td><td>商品品牌。</td><td>字符串</td></tr><tr><td><code>badge</code></td><td>为商品显示的徽章列表，例如 <code>畅销</code>, <code>热门推荐</code>.</td><td>数组</td></tr><tr><td><code>meta</code></td><td>商品标识符。</td><td>对象</td></tr><tr><td><code>meta.sku</code></td><td>商品的 SKU。</td><td>字符串</td></tr><tr><td><code>meta.gtin</code></td><td>商品的 GTIN。</td><td>字符串</td></tr></tbody></table>

### 价格

来自以下内容的片段 [响应示例](#response-example):

```json
...
"price": {
"currency": "USD",
"price": 629
},
...
```

<table><thead><tr><th width="254">键（price）</th><th width="406">说明</th><th>类型</th></tr></thead><tbody><tr><td><code>price</code></td><td>商品当前价格。</td><td>浮点数</td></tr><tr><td><code>price_strikethrough</code> （可选）</td><td>划线价格（原价、组合价或标价）。</td><td>浮点数</td></tr><tr><td><code>currency</code></td><td>货币的 ISO 4217 三字母代码。</td><td>字符串</td></tr></tbody></table>

### 评分

来自以下内容的片段 [响应示例](#response-example):

```json
...
"rating": {
"count": 768,
"rating": 4.4
},
...
```

<table><thead><tr><th width="132">键（rating）</th><th width="512">说明</th><th>类型</th></tr></thead><tbody><tr><td><code>rating</code></td><td>商品的平均评分。</td><td>浮点数</td></tr><tr><td><code>count</code></td><td>评分数量。</td><td>整数</td></tr></tbody></table>

### 卖家

来自以下内容的片段 [响应示例](#response-example):

```javascript
...
"seller": {
"id": "F55CDC31AB754BB68FE0B39041159D63",
"name": "Walmart.com",
"official_name": "Walmart.com"
c},
...
```

<table><thead><tr><th width="182">键（seller）</th><th width="480">说明</th><th>类型</th></tr></thead><tbody><tr><td><code>name</code></td><td>卖家的名称。</td><td>字符串</td></tr><tr><td><code>official_name</code></td><td>卖家的官方注册名称。</td><td>字符串</td></tr><tr><td><code>id</code></td><td>卖家的 ID。</td><td>字符串</td></tr><tr><td><code>url</code> （可选）</td><td>卖家在 Walmart 上的店铺 URL。卖家为平台卖家而非 Walmart.com 时显示。</td><td>字符串</td></tr><tr><td><code>catalog_id</code> （可选）</td><td>卖家的目录 ID，即卖家 URL 末尾的数字。卖家为平台卖家而非 Walmart.com 时显示。</td><td>字符串</td></tr></tbody></table>

### 规格

来自以下内容的片段 [响应示例](#response-example):

```javascript
...
"specifications": [
{
"key": "Edition",
"value": "Apple iPhone 16"
},
{
"key": "HD capacity",
"value": "128 GB"
}
...
```

<table><thead><tr><th width="186">键（specifications）</th><th width="458">说明</th><th>类型</th></tr></thead><tbody><tr><td><code>key</code></td><td>商品的具体属性或特征。</td><td>字符串</td></tr><tr><td><code>value</code></td><td>由 specifications 键指定的属性对应的值或描述。</td><td>字符串</td></tr></tbody></table>

### 履约

来自以下内容的片段 [响应示例](#response-example):

```javascript
...
 "fulfillment": {
                    "delivery": false,
                    "delivery_information": ", 配送，暂无可用",
                    "free_shipping": false,
                    "fulfilled_by": "",
                    "out_of_stock": false,
                    "pickup": false,
                    "pickup_information": ", 自提，暂无可用",
                    "shipping": true,
                    "shipping_information": ", 配送，预计 10 月 1 日送达，免费"
                },
...
```

<table><thead><tr><th width="207">键（fulfillment）</th><th width="423">说明</th><th>类型</th></tr></thead><tbody><tr><td><code>pickup</code></td><td>指示是否提供到店自提。</td><td>布尔值</td></tr><tr><td><code>pickup_information</code></td><td>页面上显示的自提信息。</td><td>字符串</td></tr><tr><td><code>delivery</code></td><td>指示是否提供本地门店配送。</td><td>布尔值</td></tr><tr><td><code>delivery_information</code></td><td>页面上显示的配送信息。</td><td>字符串</td></tr><tr><td><code>shipping</code></td><td>指示是否提供上门配送。</td><td>布尔值</td></tr><tr><td><code>shipping_information</code></td><td>页面上显示的运送信息。</td><td>字符串</td></tr><tr><td><code>free_shipping</code></td><td>指示是否免运费。</td><td>布尔值</td></tr><tr><td><code>out_of_stock</code></td><td>表示商品是否缺货。</td><td>布尔值</td></tr><tr><td><code>fulfilled_by</code></td><td>由谁履约订单，例如 <code>Walmart</code>，如显示。</td><td>字符串</td></tr></tbody></table>

### 变体

来自以下内容的片段 [响应示例](#response-example):

```javascript
...
 "variations": [
                    {
                        "price": {
                            "currency": "USD",
                            "price": 629
                        },
                        "product_id": "3VYN46XFXQYH",
                        "selected_options": [
                            {
                                "key": "Capacity",
                                "value": "128GB"
                            },
                            {
                                "key": "Series",
                                "value": "iPhone 16"
                            },
                            {
                                "key": "Color",
                                "value": "White"
                            }
                        ],
...
```

<table><thead><tr><th width="214.5546875">键（variations）</th><th width="450.94140625">说明</th><th width="109.2109375">类型</th></tr></thead><tbody><tr><td><code>state</code></td><td>该变体的可用状态，例如 <code>IN_STOCK</code>.</td><td>字符串</td></tr><tr><td><code>product_id</code></td><td>该变体的商品 ID。</td><td>字符串</td></tr><tr><td><code>price</code></td><td>该变体的定价。</td><td>对象</td></tr><tr><td><code>price.price</code></td><td>该变体的价格。</td><td>浮点数</td></tr><tr><td><code>price.currency</code></td><td>货币的 ISO 4217 三字母代码。</td><td>字符串</td></tr><tr><td><code>selected_options</code></td><td>定义该变体的选项列表。</td><td>数组</td></tr><tr><td><code>selected_options.key</code></td><td>选项名称，例如 <code>颜色</code>.</td><td>字符串</td></tr><tr><td><code>selected_options.value</code></td><td>选项值，例如 <code>白色</code>.</td><td>字符串</td></tr></tbody></table>

### 面包屑导航

来自以下内容的片段 [响应示例](#response-example):

```javascript
... 
"breadcrumbs": [
                    {
                        "category_name": "Cell Phones",
                        "url": "/cp/cell-phones/1105910"
                    },
                    {
                        "category_name": "Shop Phones by Brand",
                        "url": "/cp/shop-phones-by-brand/7551331"
                    }
               ],
...
```

<table><thead><tr><th width="164">键（breadcrumbs）</th><th width="466">说明</th><th>类型</th></tr></thead><tbody><tr><td><code>category_name</code></td><td>类目名称。</td><td>字符串</td></tr><tr><td><code>url</code></td><td>类目的 URL</td><td>字符串</td></tr></tbody></table>

### 位置

来自以下内容的片段 [响应示例](#response-example):

```javascript
...
"location": {
                    "city": "Rockville",
                    "state": "MD",
                    "store_id": "2357",
                    "zip_code": "20850"
                },
...
```

<table><thead><tr><th width="153.03515625">键（location）</th><th width="460.71875">说明</th><th>类型</th></tr></thead><tbody><tr><td><code>city</code></td><td>该页面所对应门店所在的城市。</td><td>字符串</td></tr><tr><td><code>state</code></td><td>门店所在的州。</td><td>字符串</td></tr><tr><td><code>zip_code</code></td><td>门店的 ZIP 代码。</td><td>字符串</td></tr><tr><td><code>store_id</code></td><td>门店 ID。</td><td>字符串</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developers.oxylabs.io/products/cn/web-scraper-api/mu-biao/dian-zi-shang-wu/walmart/shang-pin.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
