# Homes.co.nz Agent API Documentation

<p><strong>Homes.co.nz Agent API</strong> returns the public profile of one real estate agent: name, photo, business phone numbers, email, website, social links, biography, licence number, agency and recent sales with price text and sale date. Get the agent <code>id</code> (UUID) from the <code>agents</code> of a search item or listing. An unknown agent is a 404. Failed requests are not billable.</p>

- **Documentation:** [https://scrappa.co/docs/homes-co-nz-api/homes_co_nz_agent](https://scrappa.co/docs/homes-co-nz-api/homes_co_nz_agent)
- **API group:** Homes.co.nz API
- **Endpoint:** `GET https://scrappa.co/api/homes-co-nz/agent`

## 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 |
| --- | --- | --- | --- |
| `id` | string | Yes | Required. Agent id (UUID) from a search item or listing. |

## Example response

```json
{
    "data": {
        "id": "a77e78d2-fc9a-4c56-8857-85439405b744",
        "url": "https://homes.co.nz/agent/a77e78d2-fc9a-4c56-8857-85439405b744",
        "name": "Livia Li",
        "about": "Livia has a proven track record in selling real estate & for over 20 years. She has consistently been amongst the top sellers in Barfoot & Thompson. Her educational degrees in architecture and marketing enable her to ...",
        "email": "l.li@barfoot.co.nz",
        "photo": "https://trademe.tmcdn.co.nz/tm/property/agent_individual_profile/agent_individual_profile7183277v1.jpg",
        "video": null,
        "agency": {
            "id": "645814a2-983b-49ae-9372-7f58729a7dce",
            "url": "https://homes.co.nz/branch/645814a2-983b-49ae-9372-7f58729a7dce",
            "logo": "https://trademe.tmcdn.co.nz/tm/property/agent_logos/2436274-8.jpg",
            "name": "City",
            "brand": "Barfoot & Thompson",
            "phone": "+64-9-3076340",
            "banner": null
        },
        "is_team": false,
        "website": "https://www.barfoot.co.nz/l.li",
        "facebook": "https://www.facebook.com/Liviacity/",
        "linkedin": "https://www.linkedin.com/in/livia-li-a1324329/",
        "agency_id": "645814a2-983b-49ae-9372-7f58729a7dce",
        "mobile_phone": "027 560 9668",
        "office_phone": "09 377 8810",
        "recent_sales": [
            {
                "price": null,
                "address": "10L/16 Gore Street, Auckland Central, Auckland",
                "sold_at": "2026-10-07",
                "latitude": -36.845943450927734,
                "longitude": 174.7689208984375,
                "price_text": "$TBC",
                "property_id": "6e7f9adc-859f-4a67-a614-eb9b550c8feb"
            },
            {
                "price": null,
                "address": "1/16 Bond Crescent, Forrest Hill, Auckland",
                "sold_at": "2026-09-27",
                "latitude": -36.77176284790039,
                "longitude": 174.74859619140625,
                "price_text": "$TBC",
                "property_id": "6550c637-8bb9-4656-9c72-ac1411c45df2"
            },
            {
                "price": null,
                "address": "15M/16 Gore Street, Auckland Central, Auckland",
                "sold_at": "2026-09-16",
                "latitude": -36.846038818359375,
                "longitude": 174.76889038085938,
                "price_text": "$TBC",
                "property_id": "6efe07fa-1d76-480b-9ffc-446ce9a15c43"
            }
        ],
        "licence_number": "10000053",
        "with_agency_since": null
    },
    "meta": {
        "billable": true,
        "endpoint_family": "agent"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A parameter is missing or invalid. This response is not billable. |
| 404 | Not Found | The agent does not exist. This response is not billable. |
| 503 | Upstream Unavailable | Homes.co.nz could not be reached. This response is not billable and is retryable. |

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