# Realestate.co.nz Scraper — NZ Listings, Agents & Open Homes (`ocrad/realestate-co-nz-scraper`) Actor

Scrape realestate.co.nz New Zealand listings: price or sale method, beds/baths, land & floor area, agents & agency, open homes, GPS and full description from any search URL. Export JSON/CSV/Excel.

- **URL**: https://apify.com/ocrad/realestate-co-nz-scraper.md
- **Developed by:** [Ocrad](https://apify.com/ocrad) (community)
- **Categories:** Real estate, Lead generation, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

### Realestate.co.nz Property Scraper
---

By providing any realestate.co.nz search URL, you can retrieve structured property data across multiple result pages.

---

#### **📋 Example Output**

**Basic record** (`detailedInfo: false`):

```json
{
  "id": "43083265",
  "url": "https://www.realestate.co.nz/43083265/residential/sale/139-finlayson-avenue-clendon-park",
  "title": "139 Finlayson Avenue, Clendon Park",
  "headline": "Beat the Deadline. Secure your Future.",
  "price": "Deadline Sale",
  "address": "139 Finlayson Avenue",
  "city": "Clendon Park",
  "typeAndIntro": "Beat the Deadline. Secure your Future.",
  "availability": null,
  "tags": [
    "open home in 3 days"
  ],
  "imageUrl": "https://mediaserver.realestate.co.nz/per_orgs/1865476/9670b748ac3f5593b7012aff60dcb7c5.fcrop.90x90.jpg",
  "bedrooms": "3",
  "bathrooms": "1",
  "landArea": "650m2",
  "floorArea": null,
  "agentNames": "Pat Lapalapa, Ena Aholelei",
  "agencyName": "A T Realty Ltd Licensed (REAA 2008) - Ray White Manukau",
  "listedDate": "Listed now",
  "scrapedAt": "2026-07-08T14:47:28.716Z"
}
````

**Detailed record** (`detailedInfo: true`, additional fields):

```json
{
  "title": "139 Finlayson Avenue, Clendon Park, Manukau City",
  "listedDate": "8 July",
  "levels": null,
  "livingSpaceArea": "90 m²",
  "propertyFeatures": {
    "Number of rooms": "3",
    "Address locality": "Clendon Park"
  },
  "featureGroups": [],
  "rooms": [],
  "images": [
    "https://mediaserver.realestate.co.nz/listings/43083265/6b1cc3b3feb09748ec86387b7f189f7b.pad-eeeeee.632x474.jpg"
  ],
  "description": "A genuine opportunity has arrived, with our motivated owners committed to relocating and requiring a definite sale. Their next move is already underway, making this a property that must be sold. Wheth…",
  "coordinates": null,
  "openHomes": [
    {
      "name": "Open Home - 12:00PM - 12:30PM",
      "startDate": "2026-07-11T12:00:00+12:00",
      "endDate": "2026-07-11T12:30:00+12:00"
    },
    {
      "name": "Open Home - 12:00PM - 12:30PM",
      "startDate": "2026-07-12T12:00:00+12:00",
      "endDate": "2026-07-12T12:30:00+12:00"
    },
    {
      "name": "Open Home - 12:00PM - 12:30PM",
      "startDate": "2026-07-18T12:00:00+12:00",
      "endDate": "2026-07-18T12:30:00+12:00"
    },
    {
      "name": "Open Home - 12:00PM - 12:30PM",
      "startDate": "2026-07-19T12:00:00+12:00",
      "endDate": "2026-07-19T12:30:00+12:00"
    }
  ]
}
```

#### ⚙️ **Configuration**

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `url` | String | *(required)* | Realestate.co.nz search URL with filters pre-applied. |
| `maxPages` | Integer | `1` | Number of result pages to scrape (1–1000). Each page typically contains 20 listings. |
| `detailedInfo` | Boolean | `false` | Visit each listing's detail page for full property data (slower, more data). |
| `proxyConfiguration` | Object | Apify Proxy (auto) | Proxy settings. Switch to a RESIDENTIAL group if you see blocks or empty results. |

##### Example Input

```json
{
  "url": "https://www.realestate.co.nz/residential/sale/auckland",
  "maxPages": 5,
  "detailedInfo": false
}
```

##### Getting your search URL

1. Go to [realestate.co.nz](https://www.realestate.co.nz)
2. Apply your filters (region, price, bedrooms …)
3. Copy the full URL from your browser address bar
4. Paste it as the `url` input

***

#### 💬 **Support and Feedback**

Need help or have suggestions? Reach out via Apify support channels or leave feedback on the Actor's page.

***

#### **Is it legal to scrape realestate.co.nz data?**

It is legal to scrape publicly available data such as property prices, addresses, and listing details. However, you should be aware that results may contain personal information (agent names, contact details).

Personal data is protected by the New Zealand Privacy Act 2020 and other regulations. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, please consult your lawyers. You can also read Apify's blog post on the legality of web scraping.

# Actor input Schema

## `url` (type: `string`):

A realestate.co.nz search results page URL with your filters already applied in the browser (e.g. https://www.realestate.co.nz/residential/sale/auckland).

## `maxPages` (type: `integer`):

How many search result pages to scrape (20 listings each). Pages are pre-built upfront using the ?page= query parameter.

## `detailedInfo` (type: `boolean`):

Visit each listing's detail page to extract the full description, GPS coordinates, floor size, all images, open home events and agents. Slower and uses more requests.

## `proxyConfiguration` (type: `object`):

Proxy settings. Defaults to Apify Proxy (auto). Switch to a RESIDENTIAL group if you see 403 errors.

## Actor input object example

```json
{
  "url": "https://www.realestate.co.nz/residential/sale",
  "maxPages": 1,
  "detailedInfo": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `id` (type: `string`):

Listing ID parsed from the listing URL

## `url` (type: `string`):

Full listing detail URL

## `title` (type: `string`):

Listing address used as the title

## `headline` (type: `string`):

Marketing headline of the listing

## `price` (type: `string`):

Price or sale method (e.g. Deadline Sale, Auction, $865,000)

## `address` (type: `string`):

Street address

## `city` (type: `string`):

Suburb / locality parsed from the address

## `typeAndIntro` (type: `string`):

Headline / short intro text

## `availability` (type: `string`):

Availability / status label (null if not applicable)

## `tags` (type: `string`):

Array of tag strings (e.g. next open home)

## `imageUrl` (type: `string`):

Primary listing image URL

## `bedrooms` (type: `string`):

Number of bedrooms

## `bathrooms` (type: `string`):

Number of bathrooms

## `landArea` (type: `string`):

Land area string from the result card

## `floorArea` (type: `string`):

Floor area string from the result card

## `agentNames` (type: `string`):

Agent name(s)

## `agencyName` (type: `string`):

Agency name from the office logo

## `listedDate` (type: `string`):

Listed date label

## `levels` (type: `string`):

Floors / levels when present (detail mode)

## `livingSpaceArea` (type: `string`):

Floor size from ld+json (detail mode)

## `propertyFeatures` (type: `string`):

Object of label to value pairs (detail mode)

## `featureGroups` (type: `string`):

Array of grouped feature lists (detail mode)

## `rooms` (type: `string`):

Array of room detail objects; rarely provided (detail mode)

## `images` (type: `string`):

Array of gallery image URLs (detail mode)

## `description` (type: `string`):

Full listing description from ld+json (detail mode)

## `coordinates` (type: `string`):

GPS coordinates object {lat, lon} (detail mode)

## `openHomes` (type: `string`):

Array of open home events with start/end dates (detail mode)

## `scrapedAt` (type: `string`):

ISO 8601 timestamp when the record was scraped

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "url": "https://www.realestate.co.nz/residential/sale",
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("ocrad/realestate-co-nz-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "url": "https://www.realestate.co.nz/residential/sale",
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("ocrad/realestate-co-nz-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "url": "https://www.realestate.co.nz/residential/sale",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call ocrad/realestate-co-nz-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=ocrad/realestate-co-nz-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Realestate.co.nz Scraper — NZ Listings, Agents & Open Homes",
        "description": "Scrape realestate.co.nz New Zealand listings: price or sale method, beds/baths, land & floor area, agents & agency, open homes, GPS and full description from any search URL. Export JSON/CSV/Excel.",
        "version": "1.0",
        "x-build-id": "PI4uhEnTIMjmAhdmY"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/ocrad~realestate-co-nz-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-ocrad-realestate-co-nz-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/ocrad~realestate-co-nz-scraper/runs": {
            "post": {
                "operationId": "runs-sync-ocrad-realestate-co-nz-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/ocrad~realestate-co-nz-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-ocrad-realestate-co-nz-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "url"
                ],
                "properties": {
                    "url": {
                        "title": "Search results URL",
                        "pattern": "^https?://(www\\.)?realestate\\.co\\.nz/",
                        "type": "string",
                        "description": "A realestate.co.nz search results page URL with your filters already applied in the browser (e.g. https://www.realestate.co.nz/residential/sale/auckland)."
                    },
                    "maxPages": {
                        "title": "Max pages",
                        "minimum": 1,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "How many search result pages to scrape (20 listings each). Pages are pre-built upfront using the ?page= query parameter.",
                        "default": 1
                    },
                    "detailedInfo": {
                        "title": "Scrape detail pages",
                        "type": "boolean",
                        "description": "Visit each listing's detail page to extract the full description, GPS coordinates, floor size, all images, open home events and agents. Slower and uses more requests.",
                        "default": false
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Proxy settings. Defaults to Apify Proxy (auto). Switch to a RESIDENTIAL group if you see 403 errors.",
                        "default": {
                            "useApifyProxy": true
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
