Sam's Club
Sam's Club Instant Savings API
Every item on Sam's Club Instant Savings, paged, up to 45 per page: price, was-price and savings amount, plus each offer's amount, end date and purchase limit, and which channels (shipping, pickup, delivery) the item is available through. Results are priced for a nearby club picked by location and returned in club. Costs 1 credit per request.
POST/api/v1/samsclub/savings
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/jsonpageintegerResults page, 1-based. Defaults to 1. Up to 45 items per page.
Example: 1
sortstringrelevance, price_low, price_high or top_selling. Defaults to the site's own order.
Example: top_selling
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
res = client.sams_club.savings(sort="top_selling")["data"]
print(res["total_results"], "items on Instant Savings")
for p in res["products"]:
s = p["instant_savings"]
print(p["title"], p["price"], "was", p["was_price"], s["message"], "ends", s["end_date"])Response
"title": null,
"page": 1,
"sort": "top_selling",
"total_results": 3453,
"total_pages": 77,
"count": 45,
},
"response_time": 3819
}