电商零售可调用
Walmart Product Search
Search Walmart retail inventory by keyword query. Returns product cards, prices, seller information, and stock status.
- 接口地址
- POST https://api.serpbase.dev/walmart/search
- 价格
- 2 积分
- 鉴权方式
- X-API-Key
只有成功的请求才收费。每个接口有固定的积分价格(大多是 1 或 2 积分),失败的请求会自动退还积分。 计费 →
示例
cURL
curl -X POST 'https://api.serpbase.dev/walmart/search' \
-H "Content-Type: application/json" \
-H 'X-API-Key: YOUR_API_KEY' \
--max-time 60 \
-d '{"query":"coffee maker"}'返回 · 真实返回,已缩短
{
"status": 0,
"credits_charged": 2,
"request_id": "r-4b27fe8a36d9ac303a5da7dd",
"product_id": "walmart_search",
"query": "coffee maker",
"action": "search",
"page": 1,
"pagination": {
"page": 1,
"total_results": "10429"
},
"products": [
{
"availability": "In stock",
"id": "1VBPWK95CE2G",
"link": "https://www.walmart.com/ip/Keurig-K-Express-Essentials-Black-Single-Serve-K-Cup-Pod-Coffee-Maker/125…",
"media": [
{
"image_url": "https://i5.walmartimages.com/seo/Keurig-K-Express-Essentials-Black-Single-Serve-K-Cup-Pod-Coffee-Mak…",
"type": "image",
"url": "https://i5.walmartimages.com/seo/Keurig-K-Express-Essentials-Black-Single-Serve-K-Cup-Pod-Coffee-Mak…"
}
],
"offers": [
{
"availability": "In stock",
"id": "081BC8B3995B323A892D60234C8C3D8B",
"product_id": "1VBPWK95CE2G",
"seller": {
"id": "F55CDC31AB754BB68FE0B39041159D63",
"name": "Walmart.com"
}
}
],
"position": 1,
"product_type": "VARIANT",
"rating": 4.4,
"reviews_count": "14528",
"seller": {
"id": "F55CDC31AB754BB68FE0B39041159D63",
"name": "Walmart.com"
},
"sponsored": true,
"title": "Keurig K-Express Essentials Black Single-Serve K-Cup Pod Coffee Maker",
"url": "https://www.walmart.com/ip/Keurig-K-Express-Essentials-Black-Single-Serve-K-Cup-Pod-Coffee-Maker/125…",
"us_item_id": "12516374178"
}
],
"source": "walmart",
"url": "https://www.walmart.com/search?page=1&q=coffee+maker"
}常见问题
Walmart Product Search API 怎么收费?
每次请求消耗 2 积分。积分来自预付积分包或月度套餐,新账号自带免费积分。
如何调用 Walmart Product Search API?
向 https://api.serpbase.dev/walmart/search 发送 POST 请求,并在 X-API-Key 请求头中带上你的 API Key。返回 JSON,请检查 status(0 表示成功)。
支持哪些设备?
支持的设备:desktop,默认 desktop。
Walmart Product Search API 现在可以用吗?
可以,任何有效的 API Key 都能调用。