Get Countries list
Get countries ID list to be used in Search products endpoint
Authorization
RapidApiKey X-RapidAPI-Key<token>
In: header
Header Parameters
X-RapidAPI-Host*string
Default
"ikea-api-pro.p.rapidapi.com"Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/countries" \ -H "X-RapidAPI-Host: ikea-api-pro.p.rapidapi.com"{
"success": true,
"data": {
"countries": [
{
"countryName": "Hong Kong,香港",
"countryURL": "IKEA.com/hk",
"countryISOCode": "HKG",
"code": "HK",
"sites": [
{
"language": "English",
"languageCode": "en",
"url": "https://www.ikea.cn/cn/en/"
}
]
}
]
}
}{
"success": false,
"message": "The requested resource was not found for the specified country. Please verify your inputs.",
"error": "RESOURCE_NOT_FOUND"
}{
"success": false,
"message": "Internal server error. Please try again later.",
"error": "INTERNAL_ERROR"
}{
"success": false,
"message": "IKEA product search service is currently unavailable. Please try again later.",
"error": "IKEA_API_ERROR"
}