Get agent details
Get detailed information about a specific real estate agent by their external ID. Returns agent profile, contact info, badges, stats, and service areas.
Authorization
RapidApiKey X-RapidAPI-Key<token>
In: header
Query Parameters
agent_id*string
- Agent external ID
- Get this from
/agent-searchor/agent-search-by-nameresponse
Length
1 <= lengthlangs?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
application/json
curl -X GET "https://example.com/agent-details?agent_id=2518657" \ -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"
}Search agents by nameGET
Search for real estate agents by their name. Returns matching agents with basic profile info, badges, and listing counts.
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.