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

Sephora search API

Sephora products for a query with prices, ratings, review counts and flags.

GET /v1/sephora/search2 credits per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/sephora/search?query=lipstick",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 2 credits
{
"query": "lipstick",
"category_id": null,
"title": "lipstick",
"page": 1,
"page_size": 12,
"total": 172,
"products": [
{
"productId": "P510799",
"displayName": "M·A·Cximal Silky Matte 12HR Wear Lipstick",
"brandName": "MAC Cosmetics",
"currentSku": {
"imageAltText": "MAC Cosmetics - M·A·Cximal Silky Matte 12HR Wear Lipstick",
"isAppExclusive": false,
"isBI": false,
"isLimitedEdition": false,
"isLimitedTimeOffer": false,
"isNew": false,
"isOnlineOnly": false,
"isSephoraExclusive": false,
"listPrice": "$16.00 - $25.00",
"salePrice": "$17.50",
"…": "2 more fields"
},
"heroImage": "https://www.sephora.com/productimages/sku/s2764421-main-zoom.jpg?imwidth=270",
"image135": "https://www.sephora.com/productimages/sku/s2764421-main-zoom.jpg?imwidth=270",
"image250": "https://www.sephora.com/productimages/sku/s2764421-main-zoom.jpg?imwidth=270",
"image450": "https://www.sephora.com/productimages/sku/s2764421-main-zoom.jpg?imwidth=270",
"altImage": "https://www.sephora.com/productimages/sku/s2764421-main-zoom.jpg?imwidth=270",
"moreColors": 27,
"…": "12 more fields"
},
"… 3 more"
],
"refinements": [
{
"displayName": "In Store & Delivery",
"type": "checkboxesWithDropDown",
"values": [
{
"…": "4 fields"
},
"… 1 more"
]
},
"… 1 more"
]
}

Parameters

NameTypeDescription
queryquery · requiredstringSearch words. Example: lipstick.
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
min_ratingquerynumber | 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 products.
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.