Search agencies by location
Search for real estate agencies in Dubai/UAE by location. Returns agencies with active listings in the specified location.
Authorization
RapidApiKey X-RapidAPI-Key<token>
In: header
Query Parameters
location_id*string
- Location external ID
- Get from
/autocompleteendpoint (externalIDfield) - Example:
5001(Dubai) - Example:
1for whole of dubai,3for whole of Abu Dhabi
Length
1 <= lengthpage?integer
- Page number (starts from 1)
- Results per page: 40
Default
1Range
1 <= valuelangs?string
- Comma-separated language codes:
en,ar,ru,zh
Default
"en"Header Parameters
X-RapidAPI-Host*string
Default
"bayut14.p.rapidapi.com"Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/agency-search?location_id=1" \ -H "X-RapidAPI-Host: bayut14.p.rapidapi.com"{
"success": true,
"data": {
"agencies": [
null
],
"total": 0,
"page": 0,
"totalPages": 0,
"hitsPerPage": 0
}
}{
"success": false,
"message": "Invalid request: Missing required parameter",
"error": "VALIDATION_ERROR"
}{
"success": false,
"message": "Internal server error. Please try again later.",
"error": "INTERNAL_ERROR"
}{
"success": false,
"message": "Service temporarily unavailable. Please try again later.",
"error": "API_ERROR"
}Get properties listed by an agentGET
Get all properties listed by a specific real estate agent. Uses the agent's owner ID (not external ID) to fetch their property listings. Get the owner ID from the agent-details response.
Search agencies by nameGET
Search for real estate agencies by their name. Returns matching agencies with listing counts, agent counts, and basic info.