Walmart Product Review
Walmart Product Review is used to fetch product review data from Walmart.
- Fetch review pages by product id
- Support page-based review pagination
- Return rating distribution, highlighted reviews, and review lists
- Suitable for review monitoring and custom feedback analysis
Use XCrawl to Fetch Walmart Product Reviews
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_review",
"location": "US",
"product_id_list": ["54889434"],
"start_page": 1,
"pages": 1
}'Request parameter notes:
enginemust bewalmart_product_reviewlocationspecifies the target regionproduct_id_listaccepts one or more product idsstart_pagespecifies the start pagepagesspecifies how many pages to fetch
Response Example
{
"result": [
{
"product_name": "Cameron's Coffee ...",
"overall_rating": 4.6,
"total_count": 71,
"reviews": [
{
"title": "mom loves it",
"rating": 5,
"user_nickname": "DTruth"
}
]
}
]
}Parameters
Required Parameters
| Parameter | Type | Description |
|---|---|---|
location | string | Specifies the target region. |
product_id_list | array | Accepts one or more Walmart product ids. |
start_page | number | Start page number. |
pages | number | Number of pages to fetch. |
Parameter Notes
locationdefaults toUSstart_pagedefaults to1pagesdefaults to1
Response Fields
Response data is returned under result[].
| Field | Type | Description |
|---|---|---|
product_name | string | Product name. |
product_url | string | Product page URL. |
thumbnail_url | string | Product thumbnail URL. |
overall_rating | number | Overall rating. |
total_count | number | Total review count. |
page | number | Current page number. |
total_page | number | Total page count. |
ratings | array | Rating distribution. |
top_positive_negative | array | Highlighted positive and negative reviews. |
reviews | array | Review list. |
frequent_mentions | array | Frequently mentioned keywords. |
Review Fields
Each item in reviews[] includes:
| Field | Type | Description |
|---|---|---|
position | number | Position in the returned list. |
title | string | Review title. |
text | string | Review body text. |
rating | number | Review rating. |
review_submission_time | string | Review submission time. |
user_nickname | string | Reviewer nickname. |
