電子商取引利用可能
Walmart Search Autocomplete
クエリから 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 リクエストあたり 1 クレジットです。クレジットはプリペイドパックまたは月額プランで購入でき、新規アカウントには無料クレジットが付きます。
Walmart Search Autocomplete API の呼び出し方は?
https://api.serpbase.dev/walmart/autocomplete に POST リクエストを送り、X-API-Key ヘッダーに API キーを指定します。応答は JSON で、status(0 は成功)を確認してください。
対応デバイスは?
対応デバイス:desktop。既定値は desktop です。
Walmart Search Autocomplete API は今すぐ使えますか?
はい。有効な API キーで呼び出せます。