Happy Endpoint

search by brand

Search for product using Brand ID and other parameters

GET
/search-by-brand

Authorization

RapidApiKey
X-RapidAPI-Key<token>

In: header

Query Parameters

brandName*string

Get brand name from Brands List endpoint

Length1 <= length
sortBy?string

Sort order for products

Value in"BEST_SELLING" | "TOP_RATED" | "PRICE_LOW_TO_HIGH" | "PRICE_HIGH_TO_LOW" | "NEW"
currentPage?string

Current page number

pageSize?string

Number of items per page

minPrice?string

Minimum price in $

maxPrice?string

Maximum price in $

minRating?string

Minimum rating (4 or 5)

Header Parameters

X-RapidAPI-Host*string
Default"real-time-sephora-api.p.rapidapi.com"

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/search-by-brand?brandName=gucci" \  -H "X-RapidAPI-Host: real-time-sephora-api.p.rapidapi.com"
{
  "success": true,
  "data": null
}
{
  "success": false,
  "message": "Invalid payload provided. Please ensure: 1) 'Content-Type: application/json' is included in your request headers 2) Request body contains valid JSON data.",
  "error": {
    "issues": [
      {
        "code": "too_small",
        "minimum": 1,
        "type": "array",
        "inclusive": true,
        "exact": false,
        "message": "Array must contain at least 1 element(s)",
        "path": [
          "urls"
        ]
      }
    ],
    "name": "ZodError"
  }
}
{
  "success": false,
  "message": "Internal server error"
}