Walmart 商品详情 API
按 URL 获取 Walmart 商品页,在一个标准化响应中返回完整商品详情(标题、价格、库存状态、评分、图片和规格)。
US$1.00/千次请求,按请求付费,无需订阅。
Home Page / Electronics / Headphones
Visit the Apple Shop
Apple AirPods Pro 2nd Generation with MagSafe Case (USB-C)
Now
$189.00
In stock
How do you want your item?
Product details
Rebuilt from the sound up, AirPods Pro deliver up to 2x more Active Noise Cancellation, Adaptive Audio, and richer bass. Includes a MagSafe Charging Case with speaker and lanyard loop.
Model MTJV3AM/A
UPC 195949819975
$189.00
Add to cartFree 90-day returns
Sold and shipped by Walmart.com
{"title": "Apple AirPods Pro 2nd Generation with MagSafe Case (USB-C)","url": "https://www.walmart.com/ip/Apple-AirPods-Pro-2/5689919121","itemId": "5689919121","productId": "9GHX7T2ZK1QP","brand": "Apple","priceText": "$189.00","availability": "IN_STOCK","rating": 4.7,... 还有 10 个字段}
价格与服务商
Walmart 商品详情 API 价格:一个 API,4 个可互换的服务商
最便宜的服务商优先响应。如果它失败,下一个会在同一次调用中接手。
试一试
一个请求获取 Walmart 商品详情
这个示例展示了 22 个字段中的 21 个。查看全部字段
{
"found": true,
"data": {
"items": [
{
"title": "Apple AirPods Pro 2nd Generation with MagSafe Case (USB-C)",
"url": "https://www.walmart.com/ip/Apple-AirPods-Pro-2/5689919121",
"itemId": "5689919121",
"productId": "9GHX7T2ZK1QP",
"brand": "Apple",
"priceText": "$189.00",
"availability": "IN_STOCK",
"rating": 4.7,
"reviewsCount": 8421,
"sellerName": "Walmart.com",
"description": "Rebuilt from the sound up, AirPods Pro deliver up to 2x more Active Noise Cancellation, Adaptive Audio, and richer bass. Includes a MagSafe Charging Case with speaker and lanyard loop.",
"model": "MTJV3AM/A",
"upc": "195949819975",
"image": "https://i5.walmartimages.com/asr/9b8f0e77-6a5c-4b6b-9d0e-2f6f0a7a1c3e_1.jpeg",
"images": [
"https://i5.walmartimages.com/asr/9b8f0e77-6a5c-4b6b-9d0e-2f6f0a7a1c3e_1.jpeg",
"https://i5.walmartimages.com/asr/a1c2d3e4-5f6a-7b8c-9d0e-1f2a3b4c5d6e_2.jpeg",
"https://i5.walmartimages.com/asr/b2d3e4f5-6a7b-8c9d-0e1f-2a3b4c5d6e7f_3.jpeg"
],
"sellerId": "WM-1",
"returnWindow": 90,
"orderLimit": 10
}
]
}
}完整的参数与响应参考:这个接口的每个字段、类型和示例。
参考
一个请求,一种响应结构。
你发送的每个字段和收到的每个字段,都附有真实示例。
最近验证于 2026-11-14 · 可用率和延迟按 30d 统计
请求体
JSON,POST 到这个接口。
- urlstring
https://www.walmart.com/ip/Apple-AirPods-Pro-2/5689919121
Walmart 商品页 URL。
- requireFieldsarray
可选;省略时路由不变,由最便宜的数据源处理。列出本次请求必须能返回的输出字段,例如 `productId`,请求就只会由能返回全部这些字段的数据源处理。未列出的字段,只要处理请求的数据源有,仍会照常返回。这可能提高你的价格:最便宜的数据源无法返回某个列出的字段时,会改由更贵的数据源处理,并按它的价格报价和扣费。如果某个商品确实没有某个列出的字段,该字段仍可能缺失。如果列出的字段组合没有任何单一数据源能同时返回,请求会作为无效输入被拒绝,不扣费。
响应
JSON,每个字段一个示例值。
Product detail records (one per requested product URL). Populated whenever the provider has data for the entity.
- availabilitystring
IN_STOCK
Stock status, e.g. "IN_STOCK".
- brandstring
Apple
Brand name; empty when not reported.
- descriptionstring
Rebuilt from the sound up, AirPods Pro deliver up to 2x more Active Noise Cancellation, Adaptive Audio, and richer bass. Includes a MagSafe Charging Case with speaker and lanyard loop.
Short product description; empty when the listing has none.
- imagestring
https://i5.walmartimages.com/asr/9b8f0e77-6a5c-4b6b-9d0e-2f6f0a7a1c3e_1.jpeg
Primary product image URL. Populated whenever the provider has data for the entity.
- imagesstring[]
All product image URLs.
- itemIdstring
5689919121
Walmart US item id (usItemId). Populated whenever the provider has data for the entity.
- modelstring
MTJV3AM/A
Manufacturer model number; empty when not reported.
- orderLimitinteger
10
Maximum units of this item one order may contain.
- priceTextstring
$189.00
Current price as displayed, e.g. "$125.00"; empty when unavailable (Walmart returns a formatted string, not a numeric value).
- productIdstring可设为必填
9GHX7T2ZK1QP
Walmart internal product id.
- ratingnumber
4.7
Average customer rating, 0-5; 0 when unrated.
- returnWindowinteger
90
Days the buyer has to return the item.
- reviewsCountinteger
8421
Number of customer reviews; 0 when none.
- sellerIdstring
WM-1
Identifier of the seller fulfilling the offer.
- sellerNamestring
Walmart.com
Name of the seller fulfilling the offer.
- titlestring
Apple AirPods Pro 2nd Generation with MagSafe Case (USB-C)
Product title. Populated whenever the provider has data for the entity.
- upcstring
195949819975
Universal Product Code; empty when not reported.
- urlstring
https://www.walmart.com/ip/Apple-AirPods-Pro-2/5689919121
Canonical Walmart product page URL (condition query param retained, as it selects the offer). Populated whenever the provider has data for the entity.
- foundboolean
true
True when the product was found.
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
常见问题
关于 Walmart 商品详情 API
AnyAPI 的 Walmart 商品详情 API 只需一次 POST 请求 /v1/run/walmart.product,就以统一格式的 JSON 返回 Walmart 数据。按 URL 获取 Walmart 商品页,在一个标准化响应中返回完整商品详情(标题、价格、库存状态、评分、图片和规格)。AnyAPI 会在 4 个数据源之间路由每个请求,某个数据源失败时自动切换。费用:每千次请求 US$1 起,以美元计价,无需订阅,也没有每月最低消费。过去 30 天,通过 AnyAPI 发起的 Walmart 商品详情 API 调用中有 100.0% 成功,响应时间中位数为 3.1 秒,共测量 160 次调用。