Sephora product API
A Sephora product record with brand, description, category, EANs and review statistics.
GET /v1/sephora/products/{product_id}1 credit per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/sephora/products/P420652",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 1 credit{ "product_id": "P420652", "product": { "FamilyIds": [ "P420652" ], "EANs": [ "8809803532587", "8809803532570", "… 8 more" ], "Description": "What it is: An overnight leave-on lip mask powered by Korean skincare to soften lips while…", "AttributesOrder": [ "AVAILABILITY", "BV_FE_EXPAND", "… 2 more" ], "Attributes": { "AVAILABILITY": { "Id": "AVAILABILITY", "Values": [ { "…": "2 fields" } ] }, "BV_FE_EXPAND": { "Id": "BV_FE_EXPAND", "Values": [ { "…": "2 fields" } ] }, "BV_FE_FAMILY": { "Id": "BV_FE_FAMILY", "Values": [ { "…": "2 fields" } ] }, "GTIN14": { "Id": "GTIN14", "Values": [ { "…": "2 fields" }, { "…": "2 fields" }, "… 8 more" ] } }, "Name": "Lip Sleeping Mask ? Intense Hydration Lip Treatment with Vitamin C", "ImageUrl": "https://www.sephora.com/productimages/sku/s3000890-main-zoom-1.jpg?imwidth=135", "Id": "P420652", "CategoryId": "cat60109", "BrandExternalId": "6125", "Brand": { "Id": "6125", "Name": "LANEIGE" }, "Active": true, "ProductPageUrl": "https://www.sephora.com/product/lip-sleeping-mask-P420652", "Disabled": false, "…": "9 more fields" }}Parameters
| Name | Type | Description |
|---|---|---|
product_idpath · required | string | P-number (P420652) or a product URL. Example: P420652. |
skuquery | string | A sku id (accepted for parity; the record covers every sku). |
Response fields
200 with a SephoraProduct, in Sephora’s own catalog JSON and its review provider’s records.
| Field | Type | Description |
|---|---|---|
product_id | string | |
product | object | The product as Sephora publishes it to Bazaarvoice: name, brand, description, category, image, EANs, UPCs, family ids, ReviewStatistics. |
Status codes
| Status | Meaning |
|---|---|
200 | The product. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | The product or category does not exist. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Sephora is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Sephora is a trademark of Sephora USA, Inc. We are not affiliated with or endorsed by Sephora.