Sam's Club
Sam's Club Search API
Search Sam's Club and get each item's price, was-price and savings, unit price, Instant Savings offer (amount, end date, purchase limit), rating and review count, stock status, pickup, delivery and shipping availability, and aisle. Results are priced for a nearby club picked by location and returned in club; call Sam's Club Product with club_id for a specific club. Costs 1 credit per request.
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/jsonquerystringrequiredSearch keywords.
Example: paper towels
pageintegerResults page, 1-based. Defaults to 1. Up to 45 results per page.
Example: 1
sortstringrelevance, price_low, price_high or top_selling. Defaults to the site's own order.
Example: price_low
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
res = client.sams_club.search(query="paper towels")["data"]
print("priced at club", res["club"]["club_id"], res["club"]["city"])
for p in res["products"]:
print(p["item_id"], p["title"], p["price"], p["unit_price"], p["availability_status"])Response