APIs / Sephora / Search

Sephora: Search

Search from Sephora as JSON. 1 credit per successful call.

GET /v1/sephora/search

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
querystringOptionalUp to 100 characters
categorystringOptionalUp to 120 characters
brandstringOptionalUp to 200 characters
sortstringOptionalrelevance, price_asc, price_desc, rating, newest
pageintegerOptionalAny
price_minnumberOptionalAny
price_maxnumberOptionalAny

Example request

Sephora
GET/v1/sephora/search?query=lipstick
{
  "success": true,
  "data": {
    "products": [
      {
        "id": "P510799",
        "sku_id": "2764421",
        "name": "MAC Cosmetics - M·A·Cximal Silky Matte 12HR Wear Lipstick",
        "brand": "MAC Cosmetics",
        "url": "/product/mac-cosmetics-m-a-cximal-silky-matte-lipstick-P510799?skuId=2764421",
        "image": "https://www.sephora.com/productimages/sku/s2764421-main-zoom.jpg",
        "price": {
          "current": 25,
          "currency": "USD"
        },
        "rating": 4.5894,
        "review_count": 777,
        "badges": [
          "bestseller"
        ],
        "sponsored": false,
        "on_sale": false
      },
      {
        "id": "P458268",
        "sku_id": "2801371",
        "name": "Charlotte Tilbury - Mini Pillow Talk Lipstick & Liner Set",
        "brand": "Charlotte Tilbury",
        "url": "/product/charlotte-tilbury-mini-pillow-talk-lip-duo-P458268?skuId=2801371",
        "image": "https://www.sephora.com/productimages/sku/s2801371-main-zoom.jpg",
        "price": {
          "current": 26,
          "currency": "USD"
        },
        "rating": 3.6172,
        "review_count": 1690,
        "badges": [
          "bestseller"
        ],
        "sponsored": false,
        "on_sale": false
      },
      {
        "id": "P281411",
        "sku_id": "2760981",
        "name": "SEPHORA COLLECTION - Cream Lip Stain 10HR Liquid Lipstick",
        "brand": "SEPHORA COLLECTION",
        "url": "/product/cream-lip-stain-liquid-lipstick-P281411?skuId=2760981",
        "image": "https://www.sephora.com/productimages/sku/s2760981-main-zoom.jpg",
        "price": {
          "current": 16,
          "currency": "USD"
        },
        "rating": 3.9244,
        "review_count": 1813,
        "badges": [
          "bestseller"
        ],
        "sponsored": false,
        "on_sale": false
      }
    ],
    "facets": [
      {
        "key": "Brand",
        "name": "Brand",
        "options": [
          {
            "key": "MAC Cosmetics",
            "name": "MAC Cosmetics",
            "count": 14
          },
          {
            "key": "SEPHORA COLLECTION",
            "name": "SEPHORA COLLECTION",
            "count": 9
          },
          {
            "key": "Anastasia Beverly Hills",
            "name": "Anastasia Beverly Hills",
            "count": 6
          }
        ]
      },
      {
        "key": "Rating",
        "name": "Rating",
        "options": [
          {
            "key": "4 & up",
            "name": "4 & up",
            "count": 157
          },
          {
            "key": "3 & up",
            "name": "3 & up",
            "count": 185
          },
          {
            "key": "2 & up",
            "name": "2 & up",
            "count": 186
          }
        ]
      },
      {
        "key": "finish",
        "name": "Finish",
        "options": [
          {
            "key": "Matte",
            "name": "Matte",
            "count": 71
          },
          {
            "key": "High Shine",
            "name": "High Shine",
            "count": 37
          },
          {
            "key": "Satin",
            "name": "Satin",
            "count": 36
          }
        ]
      }
    ],
    "sort_options": [
      {
        "key": "relevance",
        "name": "Most Relevant"
      },
      {
        "key": "rating",
        "name": "Top Rated"
      },
      {
        "key": "price_desc",
        "name": "Price High to Low"
      }
    ],
    "pagination": {
      "page": 1,
      "per_page": 60,
      "total_results": 186,
      "total_pages": 4,
      "has_next_page": true,
      "filtered_out": 0
    },
    "sort": "relevance"
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_4c3ee2fd42ca4db3a0c2aedfa00e3d85",
    "credits_charged": 1,
    "credits_remaining": 978
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

Each item in data.products has these 12 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
idstring
sku_idstring
namestring
brandstring
urlstring
imageurl
priceobject
ratingnumber
review_countinteger
badgesstring[]
sponsoredboolean
on_saleboolean