Walmart Product Detail
Walmart Product Detail is used to fetch product detail data from Walmart.
- Fetch product details by product id
- Return pricing, rating, seller, specification, and variation data
- Support multiple product ids in one request
- Suitable for product catalog workflows and custom ecommerce data collection
Use XCrawl to Fetch Walmart Product Details
Usage
curl -s -X POST 'https://run.xcrawl.com/v1/data' \
-H 'Authorization: Bearer $XCRAWL_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"engine": "walmart_product_detail",
"location": "US",
"product_id_list": ["10448202"]
}'Request parameter notes:
enginemust bewalmart_product_detaillocationspecifies the target regionproduct_id_listaccepts one or more product ids
Response Example
{
"result": [
{
"content": {
"price": {
"price": 1.73,
"currency": "USD"
},
"general": {
"title": "Tony Chachere’s ...",
"brand": "Tony Chachere's"
}
}
}
]
}Parameters
Required Parameters
| Parameter | Type | Description |
|---|---|---|
location | string | Specifies the target region. |
product_id_list | array | Accepts one or more Walmart product ids. |
Parameter Notes
locationdefaults toUS- Items in
product_id_listshould be Walmart product ids
Response Fields
Response data is returned under result[].content.
| Field | Type | Description |
|---|---|---|
price | object | Price data. |
rating | object | Rating data. |
seller | object | Seller data. |
general | object | Core product data. |
location | object | Store or location data. |
variations | array | Variation list. |
breadcrumbs | array | Category path. |
specifications | array | Specification list. |
parse_status_code | string | Parse status code. |
General Fields
Common fields in general include:
| Field | Type | Description |
|---|---|---|
url | string | Product page URL. |
brand | string | Brand name. |
title | string | Product title. |
images | array | Product image list. |
main_image | object | Main image data. |
description | string | Product description. |
