Sam's Club
Sam's Club Reviews API
Customer reviews for a Sam's Club item, 10 per page: rating, title, text, author, date, verified purchase and helpful votes, plus the average rating, total and with-text review counts, recommend percentage, the 1-5 star breakdown, and the top positive and top negative review. Costs 1 credit per request.
POST/api/v1/samsclub/reviews
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/jsonitem_idstringrequiredSam's Club item id: the number at the end of a samsclub.com/ip/ URL, or item_id from search.
Example: 15325822107
pageintegerReviews page, 1-based. 10 reviews per page.
Example: 1
sortstringnewest, oldest, highest, lowest or most_helpful.
Example: newest
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
r = client.sams_club.reviews(item_id="15325822107", sort="newest")["data"]
print(r["average_rating"], "from", r["total_review_count"], "reviews", r["rating_breakdown"])
for rv in r["reviews"]:
print(rv["rating"], rv["submitted_at"], rv["text"][:80])Response
"item_id": "15325822107",
"page": 1,
"sort": "newest",
"average_rating": 4.634854771784233,
"total_review_count": 241,
"reviews_with_text_count": 78,
"recommended_percentage": 92,
"count": 10,
},
"response_time": 19893
}