GET
/amenities-search Search for available property amenities.
Description
The amenities-search endpoint returns a list of available property amenities that can be used as filters in the search-property endpoint. Each amenity includes its name, count of properties with that amenity, and highlighted match.
This endpoint is essential for building amenity filter interfaces in your property search. Use the returned amenity names with the search-property endpoint's amenities parameter to filter listings by specific features.
Common amenities include swimming pools, gyms, parking, security, balconies, and many more specific to the UAE market.
Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
query | string | Required | Search query to filter amenities by name. | swimming |
Code Examples
curl --request GET \
--url 'https://bayut14.p.rapidapi.com/amenities-search?query=swimming' \
--header 'x-rapidapi-host: bayut14.p.rapidapi.com' \
--header 'x-rapidapi-key: YOUR_API_KEY' Example Response
Response
{
"success": true,
"data": {
"amenities": [
{
"value": "Swimming Pool",
"count": 45230,
"highlighted": "Swimming Pool"
},
{
"value": "Private Swimming Pool",
"count": 12500,
"highlighted": "Private Swimming Pool"
},
{
"value": "Kids Swimming Pool",
"count": 8900,
"highlighted": "Kids Swimming Pool"
}
],
"total": 3
}
} Use Cases
- Build amenity filter dropdowns for property search
- Map amenity names for use in search queries
- Create amenity-based property discovery features
- Display available amenity options in search interfaces
Related Endpoints
Try this endpoint now
Subscribe to BayutAPI on RapidAPI and start making requests in minutes.