# Domain.com.au Agency

Returns the agency behind an agent profile, including its active suburbs and branding. The platform exposes no agency directory operation, so lookups are single-slug only and enumeration reports itself as unavailable rather than returning an empty list.

- **Documentation:** [https://scrappa.co/docs/domain-com-au-api/domain_com_au_agency](https://scrappa.co/docs/domain-com-au-api/domain_com_au_agency)
- **API group:** Domain.com.au API
- **Endpoint:** `GET https://scrappa.co/api/domain-com-au/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 |
| --- | --- | --- | --- |
| `slug` | string | Yes | Agent profile slug from the agents endpoint. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/domain-com-au/agency?slug=brian-cheol-han-1959179"
```

## Example response

```json
{
    "success": true,
    "data": {
        "agency": {
            "agency_id": 16559,
            "name": "Kho & Lee Property Group",
            "active_suburbs": [
                {
                    "suburbName": "Pyrmont"
                }
            ]
        }
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 400 | Validation Error | A parameter is invalid, including an unrecognised mode, property type or enum. Accepted values are listed in the error. This response is not billable. |
| 404 | Not Found | The requested listing, agent profile or city was not found. This response is not billable. |
| 503 | Service Unavailable | The service could not reach its data source, or the lookup did not complete. No credits are charged for a failed request. |

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