Sephora
Sephora Product API
One sephora.com (US) product by URL or product id: name, brand, rating, review count, loves count, price range, description, suggested usage, category and breadcrumbs, a summary of what reviews say with pro and con sentiment counts, and every shade or size the page offers as a sku with its own price, list and sale price, stock flags, ingredients, images, swatch, and pickup and same-day eligibility. No individual review text. 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/jsonurlstringsephora.com product URL (the url of a search or category result). Preferred over product_id: it answers faster.
Example: https://www.sephora.com/product/mac-cosmetics-m-a-cximal-silky-matte-lipstick-P510799
product_idstringSephora product id (the product_id of a search or category result). Used when url is not given. One of url or product_id is required.
Example: P510799
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
p = client.sephora.product(url="https://www.sephora.com/product/mac-cosmetics-m-a-cximal-silky-matte-lipstick-P510799")["data"]
print(p["brand"], p["name"], p["rating"], p["review_count"], p["price_min"], "-", p["price_max"])
print(p["review_summary"])
for s in p["skus"]:
print(s["sku_id"], s["variation_value"], s["size"], s["price"], "in stock" if s["in_stock"] else "out of stock")Response