Walmart 関連検索語
Walmart 関連検索語 API でEC データ API の連携を行えます。リクエストパラメーター、レスポンスのフィールド、実行可能なコード例を確認してください。
API データの例
このエンドポイントのリクエスト本文とレスポンス全体の構造を確認できます。
{
"keyword": "air fryer"
}{
"request_id": "08bff8db-f674-5d68-ad35-9cba43545fbd",
"data": [
{
"keyword": "air fryer",
"keyword_cn_name": "空气炸锅",
"images": [
"https://i5.walmartimages.com/seo/Ninja-Crispi-Glass-Air-Fryer-4-Qt-3-in-1-Air-Fry-Recrisp-Portable-Dishwasher-Safe-FN090BL-Blue_e03e1c66-c586-48d0-8252-21def8aa522c.c9c503ad47d447d62d115a010601b00a.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"https://i5.walmartimages.com/seo/Gourmia-All-in-One-14-Quart-Air-Fryer-Oven-Rotisserie-Dehydrator-with-Temperature-Probe-New_ddede81a-1a1d-4f67-9691-244ba7752d8f.e73ca346184304e370cc829142d9f4f7.jpeg",
"https://i5.walmartimages.com/seo/Beautiful-6-Qt-Air-Fryer-with-TurboCrisp-Technology-EverGood-Ceramic-Nonstick-Coating-White-Icing-by-Drew-Barrymore_6dbe3973-0fe5-4497-af08-440582489049.bdefddc6b03421093f30c77e4fb81dc7.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"https://i5.walmartimages.com/seo/Chefman-TurboFry-3-in-1-Air-Fryer-450-F-Max-Temp-with-3-5-Qt-Nonstick-Basket-Black_b932a8e8-a98f-4c10-8cda-9ff447af5113.8d3e3a2c7c969d9cdb83529aa986da7c.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"https://i5.walmartimages.com/seo/7-5-QT-Air-Fryer-95-Less-Oil-360-Air-Circulation-8-in-1-Air-Fryer-Oven-Grill-Plate-Digital-LED-Touch-Screen-Visible-Window-Light-Large-Capacity-Air-F_2711f272-0a76-4e4a-a5cf-606a82b94808.467fe5997edbc25da099f6328e4961de.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"https://i5.walmartimages.com/seo/Beautiful-3-Qt-Air-Fryer-with-TurboCrisp-Technology-EverGood-Ceramic-Nonstick-Coating-White-Icing-by-Drew-Barrymore_b9c55d8e-6bc7-4b84-8cd9-6fc49bc2221a.fa1276834cc3ca2d78d695cf7663eee7.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"https://i5.walmartimages.com/seo/Mainstays-Air-Fryer-2-2-Quart-1150W-Arctic-Black-with-Non-Stick-Basket_febdb09c-4fdd-42fe-bb1a-9a30ee71b20f.a73b397aebcabc4231ab8d1425f36ff9.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"https://i5.walmartimages.com/seo/New-Gourmia-1700W-6-Slice-Digital-Toaster-Oven-Air-Fryer-With-19-One-Touch-Presets-Stainless-Steel_1d44101e-0cbf-458e-83dd-7fb8c6ee2b98.860781dbd69accbee6bda17470d86ba6.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF"
],
"update": "20261117",
"rank": 40,
"search_volume": 581868,
"product_count": 2030,
"search_first_page_avg_price": 55.88,
"search_first_page_avg_reviews": 7731.5,
"search_first_page_avg_star": 4.55
},
{
"keyword": "ninja air fryer",
"keyword_cn_name": "忍者空气油炸锅",
"images": [
"https://i5.walmartimages.com/seo/Ninja-Crispi-Glass-Air-Fryer-4-Qt-3-in-1-Air-Fry-Recrisp-Portable-Dishwasher-Safe-FN090BL-Blue_e03e1c66-c586-48d0-8252-21def8aa522c.c9c503ad47d447d62d115a010601b00a.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"https://i5.walmartimages.com/seo/Ninja-Air-Fryer-Pro-XL-5-Qt-3-in-1-400-F-Air-Crisp-Technology-Nonstick-Crisper-Plate-AF140-Black_17260726-27fd-40a6-b347-67616dc68f04.963b41a992020f3d2d638bae5d43ce7c.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"https://i5.walmartimages.com/seo/Ninja-Crispi-Glass-Air-Fryer-4-Qt-3-in-1-Air-Fry-Recrisp-Portable-Dishwasher-Safe-FN100WH-White_a4a5274c-965c-4d65-95f8-bb748b61231c.c82a49310f96cedf9903b0b035214f32.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"https://i5.walmartimages.com/seo/Ninja-Foodi-Air-Fryer-8-Qt-DualZone-FlexBasket-4-in-1-Smart-Finish-Cook-2-Foods-2-Ways-DZ100WMWH-Dove_b1feb9f8-80ad-4094-a4c8-353b2144bac6.1962260ceddd6a17ec38fb2913ab3927.png?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"https://i5.walmartimages.com/seo/Ninja-4-Qt-Air-Fryer-3-Functions-Air-Fry-Reheat-and-Dehydrate-Dishwasher-Safe-Non-Stick-AF100WM-Black_6bd8f459-df82-4014-9269-ee7707b7bab3.f6e4b822595256ed8a6a8cfe3d44342c.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"https://i5.walmartimages.com/seo/Ninja-Crispi-Glass-Air-Fryer-4-Qt-4-in-1-Air-Fry-Bake-Recrisp-Portable-Dishwasher-Safe-FN101GY-Cyberspace_41418e0f-96a5-4603-af91-4f33605cb99e.86eb9afe333ff46a3db68ab57fc60e9c.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"https://i5.walmartimages.com/seo/Ninja-Crispi-Pro-Glass-Air-Fryer-6-Qt-4-in-1-Air-Fry-Bake-Recrisp-Dehydrate-Dishwasher-Safe-AS100GN_153f3f9f-8370-4117-b97f-047d7b4f6015.87374c5c9ddf737f85326cc79918ed61.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"https://i5.walmartimages.com/seo/Ninja-French-Door-10-in-1-Countertop-Oven-with-Smart-Surroundair-Technology-and-Air-Fry-Function-Dishwasher-Safe-7-Pieces-FO101-Cyberspace_5039a967-5bf1-45f4-ae57-11e46a98dd40.be98c5db843ead86444769ef51997b74.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF"
],
"update": "20261117",
"rank": 291,
"search_volume": 197805,
"product_count": 99,
"search_first_page_avg_price": 187.63,
"search_first_page_avg_reviews": 1428.68,
"search_first_page_avg_star": 4.35
}
]
}このページでは Ecommerce Data API の公開契約を説明します。フィールド名、パス、技術例はそのまま保持しているため、そのまま統合できます。
Availability: Available
This endpoint is active in the v1 gateway, OpenAPI, and subscription catalog. Each call consumes 1 billing unit, including calls that find nothing (
RESULT_NOT_FOUND).
POST /v1/walmart/keywords/expand
The request and response fields below match the current public contract.
API マッピング
| Item | Value |
|---|---|
| MCP Code | walmart_keywords_expand |
クイック呼び出し
First create an API key, then store it in a server-side environment variable:
export ECOMMERCE_DATA_API_KEY="your_api_key"curl --request POST \
--url https://ecommercedataapi.com/v1/walmart/keywords/expand \
--header "Content-Type: application/json" \
--header "X-API-Key: ${ECOMMERCE_DATA_API_KEY}" \
--data '{
"keyword": "air fryer"
}'Integrate with an AI CLI
Copy for your AI CLI
Paste this task into Codex, Claude Code, Gemini CLI, or another coding agent.
Integrate the "Walmart Related Search Terms" endpoint from Ecommerce Data API into the current repository. Make the changes directly instead of only returning sample code.
API documentation: https://ecommercedataapi.com/ja/docs/walmart/keywords-expand
Endpoint: POST https://ecommercedataapi.com/v1/walmart/keywords/expand
API key environment variable: ECOMMERCE_DATA_API_KEY
Example request:
{
"keyword": "air fryer"
}
Requirements:
1. Read the API documentation first, then inspect the repository's language, framework, HTTP client, directory structure, and environment-variable conventions.
2. Reuse the existing API client and error-handling patterns. If none exist, add the smallest reusable Ecommerce Data API client and an endpoint-specific wrapper.
3. Read the key from the server-side ECOMMERCE_DATA_API_KEY environment variable and send Content-Type: application/json plus the X-API-Key header. Never write a real key into source code, browser code, logs, test snapshots, or Git.
4. If the environment variable is missing, tell me to configure ECOMMERCE_DATA_API_KEY myself. Do not request, print, or invent the real key, and continue implementing code and tests that do not require a live request.
5. Implement request and response types from the documentation. Handle non-2xx responses, request_id, error.code, error.message, and 429 rate limits.
6. Add a minimal usage example or test that follows the repository's conventions. Run one minimal live request only when the key is already configured and external requests are allowed; otherwise use mocks or static validation.
7. Run the relevant formatter, type checker, and tests. Report changed files, usage, verification results, and any environment variable I still need to configure.Open this request in Postman
Download the preconfigured collection for this endpoint, then import it into Postman.
Node.js example
const response = await fetch(
'https://ecommercedataapi.com/v1/walmart/keywords/expand',
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-API-Key': process.env.ECOMMERCE_DATA_API_KEY,
},
body: JSON.stringify({
keyword: 'air fryer',
}),
}
);
const result = await response.json();
if (!response.ok) {
throw new Error(`${result.error?.code}: ${result.error?.message}`);
}
console.log(result.data);Python example
import os
import requests
response = requests.post(
"https://ecommercedataapi.com/v1/walmart/keywords/expand",
headers={
"Content-Type": "application/json",
"X-API-Key": os.environ["ECOMMERCE_DATA_API_KEY"],
},
json={
"keyword": "air fryer",
},
timeout=30,
)
response.raise_for_status()
print(response.json()["data"])Request body
Send the fields below directly in the JSON body without an extra wrapper. Undefined fields are rejected.
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
keyword | String | Yes | Search phrase, in English. | air fryer |
page | Integer | No | Page number, 20 results per page. | 1 |
Response structure
| Field | Type | Description |
|---|---|---|
request_id | String | Unique identifier for this request. |
data | Array | Endpoint business data. |
The fields below are inside data. For array endpoints they describe one array item; for paginated endpoints they describe one record in items[].
Response fields
| Field | Type | Description | Example |
|---|---|---|---|
keyword | String | The related keyword. | air fryer |
keyword_cn_name | String | Chinese translation of the related keyword (machine-translated, may be empty). | 空气炸锅 |
images | Array | Array of representative product image URLs under the related keyword. | - |
update | String | Data update date (yyyyMMdd). | 20261117 |
rank | Integer | The related keyword's weekly/monthly search volume rank in the Walmart hot-search list. | 40 |
search_volume | Number | Related keyword monthly search volume. | 581868.0 |
product_count | Integer | Number of products under the related keyword. | 2030 |
search_first_page_avg_price | Number | Average selling price on the related keyword's first search result page (in USD); -1 means no data for that period. | 55.88 |
search_first_page_avg_reviews | Number | Average number of reviews on the related keyword's first search result page. | 7731.5 |
search_first_page_avg_star | Number | Average star rating on the related keyword's first search result page (out of 5). | 4.55 |
Response example
{
"request_id": "08bff8db-f674-5d68-ad35-9cba43545fbd",
"data": [
{
"keyword": "air fryer",
"keyword_cn_name": "空气炸锅",
"images": [
"https://i5.walmartimages.com/seo/Ninja-Crispi-Glass-Air-Fryer-4-Qt-3-in-1-Air-Fry-Recrisp-Portable-Dishwasher-Safe-FN090BL-Blue_e03e1c66-c586-48d0-8252-21def8aa522c.c9c503ad47d447d62d115a010601b00a.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"https://i5.walmartimages.com/seo/Gourmia-All-in-One-14-Quart-Air-Fryer-Oven-Rotisserie-Dehydrator-with-Temperature-Probe-New_ddede81a-1a1d-4f67-9691-244ba7752d8f.e73ca346184304e370cc829142d9f4f7.jpeg",
"https://i5.walmartimages.com/seo/Beautiful-6-Qt-Air-Fryer-with-TurboCrisp-Technology-EverGood-Ceramic-Nonstick-Coating-White-Icing-by-Drew-Barrymore_6dbe3973-0fe5-4497-af08-440582489049.bdefddc6b03421093f30c77e4fb81dc7.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"https://i5.walmartimages.com/seo/Chefman-TurboFry-3-in-1-Air-Fryer-450-F-Max-Temp-with-3-5-Qt-Nonstick-Basket-Black_b932a8e8-a98f-4c10-8cda-9ff447af5113.8d3e3a2c7c969d9cdb83529aa986da7c.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"https://i5.walmartimages.com/seo/7-5-QT-Air-Fryer-95-Less-Oil-360-Air-Circulation-8-in-1-Air-Fryer-Oven-Grill-Plate-Digital-LED-Touch-Screen-Visible-Window-Light-Large-Capacity-Air-F_2711f272-0a76-4e4a-a5cf-606a82b94808.467fe5997edbc25da099f6328e4961de.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"https://i5.walmartimages.com/seo/Beautiful-3-Qt-Air-Fryer-with-TurboCrisp-Technology-EverGood-Ceramic-Nonstick-Coating-White-Icing-by-Drew-Barrymore_b9c55d8e-6bc7-4b84-8cd9-6fc49bc2221a.fa1276834cc3ca2d78d695cf7663eee7.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"https://i5.walmartimages.com/seo/Mainstays-Air-Fryer-2-2-Quart-1150W-Arctic-Black-with-Non-Stick-Basket_febdb09c-4fdd-42fe-bb1a-9a30ee71b20f.a73b397aebcabc4231ab8d1425f36ff9.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"https://i5.walmartimages.com/seo/New-Gourmia-1700W-6-Slice-Digital-Toaster-Oven-Air-Fryer-With-19-One-Touch-Presets-Stainless-Steel_1d44101e-0cbf-458e-83dd-7fb8c6ee2b98.860781dbd69accbee6bda17470d86ba6.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF"
],
"update": "20261117",
"rank": 40,
"search_volume": 581868,
"product_count": 2030,
"search_first_page_avg_price": 55.88,
"search_first_page_avg_reviews": 7731.5,
"search_first_page_avg_star": 4.55
},
{
"keyword": "ninja air fryer",
"keyword_cn_name": "忍者空气油炸锅",
"images": [
"https://i5.walmartimages.com/seo/Ninja-Crispi-Glass-Air-Fryer-4-Qt-3-in-1-Air-Fry-Recrisp-Portable-Dishwasher-Safe-FN090BL-Blue_e03e1c66-c586-48d0-8252-21def8aa522c.c9c503ad47d447d62d115a010601b00a.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"https://i5.walmartimages.com/seo/Ninja-Air-Fryer-Pro-XL-5-Qt-3-in-1-400-F-Air-Crisp-Technology-Nonstick-Crisper-Plate-AF140-Black_17260726-27fd-40a6-b347-67616dc68f04.963b41a992020f3d2d638bae5d43ce7c.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"https://i5.walmartimages.com/seo/Ninja-Crispi-Glass-Air-Fryer-4-Qt-3-in-1-Air-Fry-Recrisp-Portable-Dishwasher-Safe-FN100WH-White_a4a5274c-965c-4d65-95f8-bb748b61231c.c82a49310f96cedf9903b0b035214f32.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"https://i5.walmartimages.com/seo/Ninja-Foodi-Air-Fryer-8-Qt-DualZone-FlexBasket-4-in-1-Smart-Finish-Cook-2-Foods-2-Ways-DZ100WMWH-Dove_b1feb9f8-80ad-4094-a4c8-353b2144bac6.1962260ceddd6a17ec38fb2913ab3927.png?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"https://i5.walmartimages.com/seo/Ninja-4-Qt-Air-Fryer-3-Functions-Air-Fry-Reheat-and-Dehydrate-Dishwasher-Safe-Non-Stick-AF100WM-Black_6bd8f459-df82-4014-9269-ee7707b7bab3.f6e4b822595256ed8a6a8cfe3d44342c.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"https://i5.walmartimages.com/seo/Ninja-Crispi-Glass-Air-Fryer-4-Qt-4-in-1-Air-Fry-Bake-Recrisp-Portable-Dishwasher-Safe-FN101GY-Cyberspace_41418e0f-96a5-4603-af91-4f33605cb99e.86eb9afe333ff46a3db68ab57fc60e9c.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"https://i5.walmartimages.com/seo/Ninja-Crispi-Pro-Glass-Air-Fryer-6-Qt-4-in-1-Air-Fry-Bake-Recrisp-Dehydrate-Dishwasher-Safe-AS100GN_153f3f9f-8370-4117-b97f-047d7b4f6015.87374c5c9ddf737f85326cc79918ed61.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"https://i5.walmartimages.com/seo/Ninja-French-Door-10-in-1-Countertop-Oven-with-Smart-Surroundair-Technology-and-Air-Fry-Function-Dishwasher-Safe-7-Pieces-FO101-Cyberspace_5039a967-5bf1-45f4-ae57-11e46a98dd40.be98c5db843ead86444769ef51997b74.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF"
],
"update": "20261117",
"rank": 291,
"search_volume": 197805,
"product_count": 99,
"search_first_page_avg_price": 187.63,
"search_first_page_avg_reviews": 1428.68,
"search_first_page_avg_star": 4.35
}
]
}See Errors and rate limits for error payloads, request tracing, and rate-limit headers.