100 free credits. No credit card required. Get a key

Sephora category API

The products of a Sephora category with prices and ratings.

GET /v1/sephora/categories/{category_id}2 credits per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/sephora/categories/cat150006",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 2 credits
{
"query": null,
"category_id": "cat150006",
"title": "Skincare",
"page": 1,
"page_size": 12,
"total": 3233,
"products": [
{
"productId": "P519160",
"displayName": "Glazing Milk Hydrating Ceramide Facial Essence",
"brandName": "rhode",
"currentSku": {
"biExclusiveLevel": "none",
"imageAltText": "rhode - Glazing Milk Hydrating Ceramide Facial Essence",
"isAppExclusive": false,
"isBI": false,
"isBestseller": true,
"isLimitedEdition": false,
"isLimitedTimeOffer": false,
"isNew": false,
"isOnlineOnly": false,
"isSephoraExclusive": true,
"listPrice": "$20.00 - $32.00",
"skuId": "2898419"
},
"heroImage": "https://www.sephora.com/productimages/sku/s2898419-main-zoom.jpg?imwidth=270&pb=clean-at-sephora",
"altImage": "https://www.sephora.com/productimages/sku/s2898419-main-zoom.jpg?imwidth=270&pb=clean-at-sephora",
"numberOfVariants": 1,
"variationType": "Size",
"swatchType": "Image - Rectangle",
"swatchSelectors": [
{
"skuId": "2898419",
"heroImage": "https://www.sephora.com/productimages/sku/s2898419-main-zoom.jpg?imwidth=270&pb=clean-at-sephora",
"sequence": 0
},
{
"skuId": "3009313",
"heroImage": "https://www.sephora.com/productimages/sku/s3009313-main-zoom.jpg?imwidth=270&pb=clean-at-sephora"
}
],
"onSaleData": "NONE",
"rating": "3.959",
"reviews": "3095",
"pickupEligible": false,
"sameDayEligible": false,
"nextDayEligible": false,
"shipToHomeEligible": false,
"pickupNearbyEligible": false,
"targetUrl": "/product/glazing-milk-P519160?skuId=2898419",
"sponsored": false
},
{
"productId": "P507518",
"displayName": "Faded Under Eye Brightening & Clearing Eye Masks",
"brandName": "Topicals",
"currentSku": {
"biExclusiveLevel": "none",
"imageAltText": "Topicals - Faded Under Eye Brightening & Clearing Eye Masks",
"isAppExclusive": false,
"isBI": false,
"isBestseller": true,
"isLimitedEdition": false,
"isLimitedTimeOffer": false,
"isNew": false,
"isOnlineOnly": false,
"isSephoraExclusive": false,
"listPrice": "$22.00",
"skuId": "2709467"
},
"heroImage": "https://www.sephora.com/productimages/sku/s2709467-main-zoom.jpg?imwidth=270",
"altImage": "https://www.sephora.com/productimages/sku/s2709467-main-zoom.jpg?imwidth=270",
"numberOfVariants": 1,
"variationType": "Size",
"swatchType": "Image - Rectangle",
"swatchSelectors": [
{
"skuId": "2709467",
"heroImage": "https://www.sephora.com/productimages/sku/s2709467-main-zoom.jpg?imwidth=270"
}
],
"onSaleData": "NONE",
"rating": "4.2321",
"reviews": "741",
"pickupEligible": false,
"sameDayEligible": false,
"nextDayEligible": false,
"shipToHomeEligible": false,
"pickupNearbyEligible": false,
"targetUrl": "/product/faded-eye-masks-P507518?skuId=2709467",
"sponsored": false
},
"… 2 more"
],
"refinements": []
}

Parameters

NameTypeDescription
category_idpath · requiredstringCategory id. Example: cat150006.
pagequeryinteger
page_sizequeryintegerPer page (default 60).
sort_byquery"best_selling" | "top_rated" | "price_low" | "price_high" | "new"best_selling (Sephora’s order, default), top_rated, price_low, price_high (order the page), new (new items on the page). One of best_selling, top_rated, price_low, price_high, new.
min_pricequerynumber | null
max_pricequerynumber | null
Response fields

200 with a SephoraListing, in Sephora’s own catalog JSON and its review provider’s records.

FieldTypeDescription
querystring | null
category_idstring | null
titlestring | null
pagenumber
page_sizenumber
totalnumber | null
productsobject[]
refinementsobject[]
Status codes
StatusMeaning
200A page of the category.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404The product or category does not exist.
429Too many requests. Wait for Retry-After seconds.
503Sephora 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.