# GET /search-agents-detailed

> Search real estate agents (Detailed)

Source: https://uaepropertyapi.com/documentation/endpoints/search-agents-detailed

Search for real estate agents in UAE (Higher Plan). Returns full detailed raw response.

- Base URL: `https://uae-real-estate-property.p.rapidapi.com`
- Category: Agents & Brokers
- Headers: `x-rapidapi-key: <YOUR_RAPIDAPI_KEY>`, `x-rapidapi-host: uae-real-estate-property.p.rapidapi.com`

## Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `location_id` | string | no | Location ID to filter agents; Example: `50` (Dubai Marina), `41` (Downtown Dubai); Leave empty for all locations |
| `category` | string | no | Filter agents by specialization; `residential_sale`: Agents specializing in residential property sales; `residential_rent`: Agents specializing in residential rentals; `commercial_sale`: Agents specializing in commercial property sales; `commercial_rent`: Agents specializing in commercial rentals; Default: `residential_sale` |
| `sort` | string | no | Sort agents by performance; `most_sales`: Agents with most sales; `most_rentals`: Agents with most rentals; `featured`: Featured/trusted agents; Default: `most_sales` |
| `page` | string | no | Page number for pagination; Default: `1`; Examples: `1`, `2`, `3` |

## Example request

```bash
curl --request GET \
  --url 'https://uae-real-estate-property.p.rapidapi.com/search-agents-detailed' \
  --header 'x-rapidapi-host: uae-real-estate-property.p.rapidapi.com' \
  --header 'x-rapidapi-key: YOUR_API_KEY'
```

```python
import requests

url = "https://uae-real-estate-property.p.rapidapi.com/search-agents-detailed"
querystring = {}
headers = {
    "x-rapidapi-key": "YOUR_API_KEY",
    "x-rapidapi-host": "uae-real-estate-property.p.rapidapi.com"
}

response = requests.get(url, headers=headers, params=querystring)
print(response.json())
```

## Example response (shortened)

```json
{
  "success": true,
  "data": [
    {
      "id": 100245,
      "slug": "sarah-ahmed",
      "name": "Sarah Ahmed",
      "totalProperties": 81,
      "phone": "+9715XXXXXXXX",
      "position": "Senior Property Consultant",
      "nationality": {
        "code": "GB",
        "name": "United Kingdom"
      },
      "broker": {
        "id": 9001,
        "name": "Example Properties LLC"
      },
      "languages": [
        {
          "id": 1,
          "name": "English"
        }
      ]
    }
  ]
}
```

Related endpoints: 
