SerpBase
电商零售可调用

Walmart Search Autocomplete

按查询获取 Walmart 搜索建议,不读取 Walmart 商品页。

接口地址
POST https://api.serpbase.dev/walmart/autocomplete
价格
1 积分
鉴权方式
X-API-Key

只有成功的请求才收费。每个接口有固定的积分价格(大多是 1 或 2 积分),失败的请求会自动退还积分。 计费 →

示例

cURL
curl -X POST 'https://api.serpbase.dev/walmart/autocomplete' \
  -H "Content-Type: application/json" \
  -H 'X-API-Key: YOUR_API_KEY' \
  --max-time 60 \
  -d '{"query":"laptop"}'
返回 · 真实返回,已缩短
{
  "status": 0,
  "credits_charged": 1,
  "request_id": "r-4b27fe8a36d9ac303a5da7dd",
  "product_id": "walmart_autocomplete",
  "query": "laptop",
  "action": "autocomplete",
  "source": "walmart",
  "suggestions": [
    {
      "image_url": "https://i5.walmartimages.com/asr/a39aa0bc-55ec-4191-b551-bb1f2091298a.96c5bae25e4983bb3cd56ebe40bf1aad.jpeg",
      "link": "https://www.walmart.com/typeahead/v3/query=laptop&typeahead=laptop",
      "text": "laptop",
      "type": "QUERY",
      "url": "https://www.walmart.com/typeahead/v3/query=laptop&typeahead=laptop"
    },
    {
      "image_url": "https://i5.walmartimages.com/asr/043886ec-7727-46d0-aa46-432fb2e614b3.ae5320e8c87a64e2baf391c5dd85b801.jpeg",
      "link": "https://www.walmart.com/typeahead/v3/query=laptop%20computers%20under%20%24200&typeahead=laptop",
      "text": "laptop computers under $200",
      "type": "QUERY",
      "url": "https://www.walmart.com/typeahead/v3/query=laptop%20computers%20under%20%24200&typeahead=laptop"
    }
  ],
  "url": "https://www.walmart.com/typeahead/v3/complete?term=laptop"
}
参数 · 返回字段

常见问题

Walmart Search Autocomplete API 怎么收费?

每次请求消耗 1 积分。积分来自预付积分包或月度套餐,新账号自带免费积分。

如何调用 Walmart Search Autocomplete API?

向 https://api.serpbase.dev/walmart/autocomplete 发送 POST 请求,并在 X-API-Key 请求头中带上你的 API Key。返回 JSON,请检查 status(0 表示成功)。

支持哪些设备?

支持的设备:desktop,默认 desktop。

Walmart Search Autocomplete API 现在可以用吗?

可以,任何有效的 API Key 都能调用。