# Property24 Agencies Directory

Directory of estate agencies for a city, 20 per page: name, logo, description and the number of listings for sale and to rent. Use a city id from locations/autocomplete (location_type 2).

- **Documentation:** [https://scrappa.co/docs/property24-api/property24_agencies](https://scrappa.co/docs/property24-api/property24_agencies)
- **API group:** Property24 API
- **Endpoint:** `GET https://scrappa.co/api/property24/agencies`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `location_id` | integer | Yes | City id from locations/autocomplete. |
| `location_type` | integer | Yes | Must be 2 (city). |
| `page` | integer | No | Page number, starting at 1. Maximum 50. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/property24/agencies?location_id=432&location_type=2"
```

## Example response

```json
{
    "success": true,
    "page": 1,
    "location": {
        "id": 432,
        "type": 2,
        "type_label": "city",
        "name": "Cape Town"
    },
    "total_filtered_results": 642,
    "total_pages": 33,
    "results": [
        {
            "agency_id": 30732,
            "slug": "titan-property-group",
            "name": "TITAN Property Group",
            "logo": "https://images.prop24.com/337732832/Fit600x300",
            "sale_listing_count": 207,
            "rent_listing_count": 1551
        }
    ]
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | The listing, agency or location does not exist or is no longer online. The request is not charged. |
| 422 | Unsupported Location Type | Regions (location_type 4) cannot be searched. Use a suburb, city, province or estate id. |
| 503 | Upstream Unavailable | Property24 returned an unsuccessful, empty or unexpected answer. The request is not charged. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
