# Property24 Agency Profile

Profile of one estate agency: name, about text, areas serviced, number of listings for sale and to rent, and the featured agents. Get agency_id and slug from the agency field of a search result or from the agencies directory. Phone numbers and street addresses are not published and not returned.

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

## 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 |
| --- | --- | --- | --- |
| `agency_id` | integer | Yes | Agency id, for example 30696. |
| `slug` | string | Yes | Agency slug, for example hqm-properties. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/property24/agency?agency_id=30696&slug=hqm-properties"
```

## Example response

```json
{
    "success": true,
    "agency": {
        "agency_id": 30696,
        "slug": "hqm-properties",
        "name": "HQM Properties",
        "about": "Be it SALES, RENTALS or Property Management, our focus is your needs.",
        "areas_serviced": [
            {
                "name": "Cape Town",
                "path": "/for-sale/cape-town/western-cape/432"
            }
        ],
        "sale_listing_count": 6,
        "rent_listing_count": 7,
        "agents": [
            {
                "id": 482138,
                "name": "Chris Muller",
                "role": "Property Practitioner"
            }
        ]
    }
}
```

## 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. |
| 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)
