querystring | number | boolean필수
The search query. You can use anything that you would use in a regular Walmart search. Either a `query` or a `cat_id` parameter is required.
https://api.sandbase.ai/v1/api/walmart/searchSearch Walmart products by keyword with price, rating, reviews, seller and fulfillment badges, plus sorting, price filters and pagination.
출력이 여기에 표시됩니다
입력을 완료한 다음 Run을 클릭하세요.
Returns one page of Walmart search results for a keyword. Each result has the title, price, rating, review count, seller and shipping flags. The only required input is query, such as laptop.
was_price discount of laptops from different sellers.curl -X POST "https://api.sandbase.ai/v1/api/walmart/search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "laptop"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
query | ['string', 'number', 'boolean'] | Yes | The search query. You can use anything that you would use in a regular Walmart search. Either a query or a cat_id parameter is required. |
cat_id | ['string', 'number', 'boolean'] | No | Category on Walmart Search. (e.g. 0 (default) is all departments, 976759_976787 is 'Cookies', etc.). Either a query or a cat_id parameter is required. Note: not supported for walmart.com.mx. |
device | ['string', 'number', 'boolean'] | No | The device to use to get the results. It can be set to desktop (default) to use a regular browser, tablet to use a tablet browser (currently using iPads), or mobile to use a mobile browser. |
facet | ['string', 'number', 'boolean'] | No | Items filtering based on their attributes. The structure is a list of key:value pairs separated by //. The key and value are separated by : |
include_filters | string | No | Include filters to the JSON response. Set to true to enable or false to disable (default). |
json_restrictor | ['string', 'number', 'boolean'] | No | The fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details. |
max_price | ['string', 'number', 'boolean'] | No | Upper bound of price range query. |
min_price | ['string', 'number', 'boolean'] | No | Lower bound of price range query. |
nd_en | string | No | Show results with NextDay delivery only. Set to true to enable or false (default) to disable. Note: not supported for walmart.com.mx. |
page | ['string', 'number', 'boolean'] | No | Value is used to get the items on a specific page. (e.g., 1 (default) is the first page of results, 2 is the 2nd page of results, 3 is the 3rd page of results, etc.). Maximum page value is 100. |
soft_sort | ['string', 'number', 'boolean'] | No | Enables sort by relevance. Walmart is by default showing results sorted by relevance and using the sort option. Set to false to disable sort by Relevance. Note: not supported for walmart.com.mx. |
sort | ['string', 'number', 'boolean'] | No | Sorting. (e.g. price_low, price_high, best_seller, best_match, rating_high, new). Note: best_seller, rating_high, and new are not supported for walmart.com.mx. |
spelling | string | No | Activate spelling fix. true (default) includes spelling fix, false searches without spelling fix. |
store_id | ['string', 'number', 'boolean'] | No | Store ID to filter the products by the specific store only. Head to the Walmart Stores Locations for a full list of supported stores. It's possible for the product pricing to differ between stores. |
walmart_domain | ['string', 'number', 'boolean'] | No | The Walmart domain to use. It defaults to walmart.com. Head to the Walmart Stores for a full list of supported stores per domain. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"organic_results": [
{
"free_shipping": false,
"free_shipping_with_walmart_plus": false,
"muliple_options_available": false,
"multiple_options_available": false,
"out_of_stock": false,
"price_per_unit": {
"currency": "USD",
"unit": "each"
},
"primary_offer": {
"currency": "USD",
"offer_id": "44B94199498A3672AA257F39DA66AA0F",
"offer_price": 197,
"was_price": 219
},
"product_id": "1V55QUSDTIGB",
"product_page_url": "https://www.walmart.com/ip/ASUS-Chromebook-CX15-Laptop-15-6-FHD-NanoEdge-Display…",
"product_type": "Laptop Computers",
"rating": 4.3,
"reviews": 1941
}
],
"pagination": {
"current": 1,
"next": "https://www.walmart.com/search?adSlot=WSpread&affinityOverride=default&cat_id=0&…",
"other_pages": {
"10": "https://www.walmart.com/search?adSlot=WSpread&affinityOverride=default&cat_id=0&…",
"11": "https://www.walmart.com/search?adSlot=WSpread&affinityOverride=default&cat_id=0&…",
"12": "https://www.walmart.com/search?adSlot=WSpread&affinityOverride=default&cat_id=0&…",
"13": "https://www.walmart.com/search?adSlot=WSpread&affinityOverride=default&cat_id=0&…",
"2": "https://www.walmart.com/search?adSlot=WSpread&affinityOverride=default&cat_id=0&…",
"3": "https://www.walmart.com/search?adSlot=WSpread&affinityOverride=default&cat_id=0&…",
"4": "https://www.walmart.com/search?adSlot=WSpread&affinityOverride=default&cat_id=0&…",
"5": "https://www.walmart.com/search?adSlot=WSpread&affinityOverride=default&cat_id=0&…",
"6": "https://www.walmart.com/search?adSlot=WSpread&affinityOverride=default&cat_id=0&…",
"7": "https://www.walmart.com/search?adSlot=WSpread&affinityOverride=default&cat_id=0&…",
"8": "https://www.walmart.com/search?adSlot=WSpread&affinityOverride=default&cat_id=0&…",
"9": "https://www.walmart.com/search?adSlot=WSpread&affinityOverride=default&cat_id=0&…"
}
},
"search_information": {
"location": {
"city": "Orlando",
"postal_code": "32837",
"province_code": "FL",
"store_id": "2881"
},
"organic_results_state": "Results for exact spelling",
"query_displayed": "laptop",
"time_taken": 0.995,
"total_results": 25259
},
"search_metadata": {
"cached": false,
"created_at": "2026-11-03 07:45:08 UTC",
"id": "6ae99104951d73c01c846a84",
"processed_at": "2026-11-03 07:45:08 UTC",
"status": "Success",
"total_time_taken": 4.24,
"walmart_url": "https://www.walmart.com/search?query=laptop"
},
"search_parameters": {
"device": "desktop",
"engine": "walmart",
"query": "laptop",
"walmart_domain": "walmart.com"
},
"serpapi_pagination": {
"current": 1,
"next": {
"endpoint": "/walmart/search",
"queryParams": {
"cat_id": "0",
"device": "desktop",
"page": "2",
"query": "laptop",
"sort": "best_match",
"spelling": "true",
"walmart_domain": "walmart.com"
}
},
"next_link": {
"endpoint": "/walmart/search",
"queryParams": {
"cat_id": "0",
"device": "desktop",
"page": "2",
"query": "laptop",
"sort": "best_match",
"spelling": "true",
"walmart_domain": "walmart.com"
}
},
"other_pages": {
"10": {
"endpoint": "/walmart/search",
"queryParams": {
"cat_id": "0",
"device": "desktop",
"page": "10",
"query": "laptop",
"sort": "best_match",
"spelling": "true",
"walmart_domain": "walmart.com"
}
},
"11": {
"endpoint": "/walmart/search",
"queryParams": {
"cat_id": "0",
"device": "desktop",
"page": "11",
"query": "laptop",
"sort": "best_match",
"spelling": "true",
"walmart_domain": "walmart.com"
}
},
"12": {
"endpoint": "/walmart/search",
"queryParams": {
"cat_id": "0",
"device": "desktop",
"page": "12",
"query": "laptop",
"sort": "best_match",
"spelling": "true",
"walmart_domain": "walmart.com"
}
},
"13": {
"endpoint": "/walmart/search",
"queryParams": {
"cat_id": "0",
"device": "desktop",
"page": "13",
"query": "laptop",
"sort": "best_match",
"spelling": "true",
"walmart_domain": "walmart.com"
}
},
"2": {
"endpoint": "/walmart/search",
"queryParams": {
"cat_id": "0",
"device": "desktop",
"page": "2",
"query": "laptop",
"sort": "best_match",
"spelling": "true",
"walmart_domain": "walmart.com"
}
},
"3": {
"endpoint": "/walmart/search",
"queryParams": {
"cat_id": "0",
"device": "desktop",
"page": "3",
"query": "laptop",
"sort": "best_match",
"spelling": "true",
"walmart_domain": "walmart.com"
}
},
"4": {
"endpoint": "/walmart/search",
"queryParams": {
"cat_id": "0",
"device": "desktop",
"page": "4",
"query": "laptop",
"sort": "best_match",
"spelling": "true",
"walmart_domain": "walmart.com"
}
},
"5": {
"endpoint": "/walmart/search",
"queryParams": {
"cat_id": "0",
"device": "desktop",
"page": "5",
"query": "laptop",
"sort": "best_match",
"spelling": "true",
"walmart_domain": "walmart.com"
}
},
"6": {
"endpoint": "/walmart/search",
"queryParams": {
"cat_id": "0",
"device": "desktop",
"page": "6",
"query": "laptop",
"sort": "best_match",
"spelling": "true",
"walmart_domain": "walmart.com"
}
},
"7": {
"endpoint": "/walmart/search",
"queryParams": {
"cat_id": "0",
"device": "desktop",
"page": "7",
"query": "laptop",
"sort": "best_match",
"spelling": "true",
"walmart_domain": "walmart.com"
}
},
"8": {
"endpoint": "/walmart/search",
"queryParams": {
"cat_id": "0",
"device": "desktop",
"page": "8",
"query": "laptop",
"sort": "best_match",
"spelling": "true",
"walmart_domain": "walmart.com"
}
},
"9": {
"endpoint": "/walmart/search",
"queryParams": {
"cat_id": "0",
"device": "desktop",
"page": "9",
"query": "laptop",
"sort": "best_match",
"spelling": "true",
"walmart_domain": "walmart.com"
}
}
}
}
}
| Field | Meaning |
|---|---|
organic_results[].title | Product title as shown in the search result. |
organic_results[].primary_offer.offer_price / organic_results[].primary_offer.was_price | Current price and previous price of the main offer. was_price only appears when the item is discounted. |
organic_results[].primary_offer.currency | Currency code of the offer, such as USD. |
organic_results[].rating / organic_results[].reviews | Average rating and number of reviews for the product. |
organic_results[].seller_name / organic_results[].seller_id | Name and ID of the seller that holds the main offer. |
organic_results[].us_item_id | Walmart item ID. It matches the product_id value in serpapi_product_page_url.queryParams. |
organic_results[].sponsored | true when the result is a paid placement. |
organic_results[].free_shipping / organic_results[].two_day_shipping / organic_results[].out_of_stock | Flags for free shipping, two-day shipping and stock status. |
search_information.total_results | Number of results Walmart reports for the query. |
serpapi_pagination.next | Endpoint and query parameters for the next page of results. |
page to move through results. The response lists page links such as 2 and 3 under serpapi_pagination.other_pages. The maximum page value is 100.organic_results[].serpapi_product_page_url.queryParams.product_id (the same value as us_item_id) to look up one product with Walmart Product Page.product_id field at the top of each result is a different value from us_item_id. Use us_item_id for follow-up calls.$0.015 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
curl -X POST "https://api.sandbase.ai/v1/api/walmart/search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "laptop"
}'서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
querystring | number | boolean필수The search query. You can use anything that you would use in a regular Walmart search. Either a `query` or a `cat_id` parameter is required.
pagestring | number | booleanValue is used to get the items on a specific page. (e.g., `1` (default) is the first page of results, `2` is the 2nd page of results, `3` is the 3rd page of results, etc.). Maximum `page` value is `100`.
sortstring | number | booleanSorting. (e.g. `price_low`, `price_high`, `best_seller`, `best_match`, `rating_high`, `new`). **Note:** `best_seller`, `rating_high`, and `new` are not supported for `walmart.com.mx`.
facetstring | number | booleanItems filtering based on their attributes. The structure is a list of `key:value` pairs separated by `||`. The key and value are separated by `:`
nd_enanyShow results with NextDay delivery only. Set to `true` to enable or `false` (default) to disable. **Note:** not supported for `walmart.com.mx`.
cat_idstring | number | booleanCategory on Walmart Search. (e.g. `0` (default) is all departments, `976759_976787` is 'Cookies', etc.). Either a `query` or a `cat_id` parameter is required. **Note:** not supported for `walmart.com.mx`.
devicestring | number | booleanThe device to use to get the results. It can be set to `desktop` (default) to use a regular browser, `tablet` to use a tablet browser (currently using iPads), or `mobile` to use a mobile browser.
spellinganyActivate spelling fix. `true` (default) includes spelling fix, `false` searches without spelling fix.
store_idstring | number | booleanStore ID to filter the products by the specific store only. Head to the Walmart Stores Locations for a full list of supported stores. It's possible for the product pricing to differ between stores.
max_pricestring | number | booleanUpper bound of price range query.
min_pricestring | number | booleanLower bound of price range query.
soft_sortstring | number | booleanEnables sort by relevance. Walmart is by default showing results sorted by relevance and using the `sort` option. Set to `false` to disable sort by Relevance. **Note:** not supported for `walmart.com.mx`.
walmart_domainstring | number | booleanThe Walmart domain to use. It defaults to `walmart.com`. Head to the Walmart Stores for a full list of supported stores per domain.
include_filtersanyInclude `filters` to the JSON response. Set to `true` to enable or `false` to disable (default).
json_restrictorstring | number | booleanThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
저장된 응답이 게시되지 않았습니다. Playground에서 API를 실행해 응답을 확인하세요.
더 살펴보기
| API | 가격 | 응답 |
|---|---|---|
Walmart Search이 API Walmart | $0.015 / 호출 | 비동기 JSON |
Walmart | 호출당 $0.001부터 | JSON |
Walmart | $0.015 / 호출 | 비동기 JSON |
Walmart | $0.01 / 호출 | 비동기 JSON |
Walmart | $0.01 / 호출 | JSON |
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/walmart/search에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.015, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수: query (string | number | boolean). 선택: page (string | number | boolean), sort (string | number | boolean), facet (string | number | boolean), nd_en (any), cat_id (string | number | boolean) 및 device (string | number | boolean) 외 8개. 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
JSON 결과를 반환합니다. 이 엔드포인트는 비동기적으로 실행되므로, 응답에는 완료된 결과를 가져오는 방법이 안내됩니다. 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. Walmart Search은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Walmart API 액세스를 별도로 신청할 필요는 없습니다.