Walmart 评价 API
Pull a page of 10 customer reviews for any Walmart product by URL, newest first or by relevance, helpfulness, or rating: rating, title, text, date and reviewer, plus the verified-purchase badge and helpful votes where the source has them (name them in requireFields to get them).
价格与服务商
Walmart 评价 API 价格:一个 API,3 个可互换的服务商
最便宜的服务商优先响应。如果它失败,下一个会在同一次调用中接手。
试一试
一个请求获取 Walmart 评价
{
"data": {
"items": [
{
"createdUtc": 12.5,
"helpfulVotes": 42,
"rating": 4.6,
"reviewId": "A short example description of this item.",
"reviewer": "A short example description of this item.",
"text": "A short example description of this item.",
"title": "Example title",
"verifiedPurchase": true
}
],
"rating": 4.6,
"ratingDistribution": {
"1": 42,
"2": 42,
"3": 42,
"4": 42,
"5": 42
},
"totalPages": 12500,
"totalReviews": 12500
},
"found": true,
"reason": "not_found"
}完整的参数与响应参考:这个接口的每个字段、类型和示例。
参考
一个请求,一种响应结构。
你发送的每个字段和收到的每个字段,都附有真实示例。
最近验证于 2026-11-21 · 可用率和延迟按 30d 统计
请求体
JSON,POST 到这个接口。
- urlstring
https://www.walmart.com/ip/Apple-AirPods-Pro-2/5689919121
Walmart product page URL (e.g. https://www.walmart.com/ip/Apple-AirPods-Pro-2/5689919121).
- pageinteger
1-based page of 10 reviews, Walmart's fixed page size; Walmart serves at most 100 pages. Each page is billed as one request; keep url and sort the same while walking pages.
- requireFieldsarray
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `totalPages`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. Naming a combination that no single source returns together is refused as invalid input, with no charge.
- sortenum
Review order: recent (newest first, the default), oldest, relevancy, helpful, rating_high, or rating_low (e.g. helpful).
响应
JSON,每个字段一个示例值。
Customer review records for the requested page. Populated whenever the provider has data for the entity.
- createdUtcnumber
UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Walmart publishes the review date only, so this is midnight UTC of that date; null when not reported. Populated whenever the provider has data for the entity.
- helpfulVotesinteger可设为必填
Number of "helpful" votes the review received, or null when not reported.
- ratingnumber可设为必填
Star rating the reviewer gave, 1-5.
- reviewIdstring
Walmart review id; use it to deduplicate across pages. Populated whenever the provider has data for the entity.
- reviewerstring
Reviewer display name as Walmart shows it, e.g. "anonymous"; empty when withheld.
- textstring
Full review body text. Populated whenever the provider has data for the entity.
- titlestring
Review headline; empty when the review has none.
- verifiedPurchaseboolean可设为必填
True when Walmart marks the review a verified purchase; null when the serving source reports no badge either way.
Reviews wrapper, or null when the product returned no reviews on this page.
- ratingnumber可设为必填
Overall product score (1-5), or null when the serving source does not report it.
- totalPagesinteger可设为必填
Number of 10-review pages Walmart reports for the product (it can exceed the 100 pages this SKU serves), or absent or null when the serving source does not report it.
- totalReviewsinteger可设为必填
Total number of reviews for the product, or null when the serving source does not report it.
Number of reviews at each star rating, keyed "1" through "5".
- 1integer
Number of 1-star reviews.
- 2integer
Number of 2-star reviews.
- 3integer
Number of 3-star reviews.
- 4integer
Number of 4-star reviews.
- 5integer
Number of 5-star reviews.
- foundboolean
True when at least one review was returned.
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
常见问题
关于 Walmart 评价 API
AnyAPI 的 Walmart 评价 API 只需一次 POST 请求 /v1/run/walmart.reviews,就以统一格式的 JSON 返回 Walmart 数据。Pull a page of 10 customer reviews for any Walmart product by URL, newest first or by relevance, helpfulness, or rating: rating, title, text, date and reviewer, plus the verified-purchase badge and helpful votes where the source has them (name them in requireFields to get them).AnyAPI 会在 3 个数据源之间路由每个请求,某个数据源失败时自动切换。费用:每千次请求 US$0.85 起,以美元计价,无需订阅,也没有每月最低消费。过去 30 天,通过 AnyAPI 发起的 Walmart 评价 API 调用中有 98.5% 成功,响应时间中位数为 6.4 秒,共测量 65 次调用。