Walmart
Walmart Reviews API
Get customer reviews for a Walmart product as JSON - rating, title, body text, author, submission date, verified-purchase flag and helpful counts - plus the average rating, the full 1-to-5 star breakdown, and Walmart's own top positive and top negative review. 10 reviews per page. Costs 1 credit per page.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonproduct_idstringrequiredWalmart item id (usItemId) - the numeric id in a /ip/ product URL, and the id field returned by search, category and seller-products.
Example: 17760865787
pageintegerReviews page, 1-based. Walmart serves 10 reviews per page, so each call costs 1 credit for at most 10 reviews. total_review_count is the whole catalogue of reviews; reviews_with_text_count is how many carry body text.
Example: 2
sortenum<string>Review sort order. Omit for Walmart's own default ordering.
relevancy— Walmart's relevance ranking.submission-desc— Newest first.submission-asc— Oldest first.rating-desc— Highest rating first.rating-asc— Lowest rating first.helpful-desc— Most helpful votes first.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
reviews = client.walmart.reviews("17760865787", page=1, sort="submission-desc")
print(reviews)Response