Sephora

Sephora search suggestions

Returns Sephora's own search-box type-ahead suggestions for a partial keyword: keyword-completion terms, matching products, and trending/related categories. Sephora's own upstream never returns a genuine zero-result state for a nonempty query -- a deliberately nonsense query still returns unrelated product suggestions.

get/sephora/suggest

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/sephora/suggest
  • Auth: API key in header x-api-key

Query parameters

querystring required

Partial search keywords

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "categories": [
      {
        "name": "Mascara",
        "url": "https://www.sephora.com/shop/mascara"
      }
    ],
    "products": [
      {
        "brand_name": "ILIA",
        "product_id": "P431750",
        "rating": 4.1361
      }
    ],
    "query": "masc",
    "terms": [
      {
        "term": "mascara"
      }
    ]
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.