Happy Endpoint

Get properties listed by an agent

Get all properties listed by a specific agent. For Bayut, use the ownerID from /agent-details. For PropertyFinder, use the agent id from /search-agents.

GET
/agent-properties

Authorization

RapidApiKey
X-RapidAPI-Key<token>

In: header

Query Parameters

platform*string
  • Data source platform
Value in"bayut" | "propertyfinder"
agent_id*string
  • Agent ID
  • Bayut: use ownerID from /agent-details
  • PropertyFinder: use agent id from /search-agents
Length1 <= length
page?integer
  • Page number
Default1
Range1 <= value
sort?string
  • Sort order (PropertyFinder only, ignored for Bayut)
Value in"popular" | "newest" | "price_low" | "price_high"
transaction_type?string
  • Filter by transaction type (PropertyFinder only, ignored for Bayut)
Value in"sale" | "rental"

Header Parameters

X-RapidAPI-Host*string
Default"uae-real-estate-api.p.rapidapi.com"

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/agent-properties?platform=bayut&agent_id=2640383" \  -H "X-RapidAPI-Host: uae-real-estate-api.p.rapidapi.com"
{
  "success": true,
  "platform": "bayut",
  "data": {
    "properties": [
      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": "PLATFORM_ERROR"
}