Get agents in an agency
Get a list of all agents working in a specific real estate agency.
Authorization
RapidApiKey X-RapidAPI-Key<token>
In: header
Query Parameters
agency_id*string
- Agency ID
- Get from
/agency-searchor/agency-detailsresponse - Example:
10212
Length
1 <= lengthpage?number
Page number (default: 1)
Default
1Range
1 <= valueHeader Parameters
X-RapidAPI-Host*string
Default
"bayut14.p.rapidapi.com"Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/agency-agents?agency_id=10212" \ -H "X-RapidAPI-Host: bayut14.p.rapidapi.com"{
"success": true,
"data": null
}{
"success": false,
"message": "Invalid request: Missing required parameter",
"error": "VALIDATION_ERROR"
}{
"success": false,
"message": "Service temporarily unavailable. Please try again later.",
"error": "API_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 agency detailsGET
Get detailed information about a specific real estate agency by its ID. Returns agency profile, contact info, and stats.
Get properties listed by an agencyGET
Get all properties listed by a specific real estate agency. Uses the agency's external ID to fetch their property listings.