auto complete
Returns autocomplete product and suggestions based on partial input.
Authorization
RapidApiKey X-RapidAPI-Key<token>
In: header
Query Parameters
query*string
Search query for autocomplete
Length
1 <= length <= 100language?string
Language preference
Default
"en-US"Value in
"en-US" | "en-CA" | "fr-CA"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/auto-complete?query=eyeshadow" \ -H "X-RapidAPI-Host: real-time-sephora-api.p.rapidapi.com"{
"success": true,
"data": {
"success": true,
"data": {
"typeAheadTerms": [
{
"term": "eyeshadow"
},
{
"term": "eyeshadow base"
},
{
"brandName": "MAKEUP BY MARIO",
"productName": "Master Mattes® Eyeshadow Palette: The Original",
"productId": "P98364786"
}
],
"trendingCategories": [
{
"value": "Eyeshadow",
"url": "/shop/eyeshadow"
}
]
}
}
}{
"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"
}