# OneRoof Property Scraper - NZ Property Estimates (`sian.agency/oneroof-property-scraper`) Actor

Scrape OneRoof estimates for New Zealand addresses: value range, confidence, 12-month history, council RV, last sale and title record. Pull recent sales or homes for sale by suburb, district or region, or look up addresses you already have.

- **URL**: https://apify.com/sian.agency/oneroof-property-scraper.md
- **Developed by:** [SIÁN OÜ](https://apify.com/sian.agency) (community)
- **Categories:** Real estate, Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.20 / 1,000 property with estimates

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

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

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## OneRoof Scraper - NZ Property Estimates & Sold Prices 🏠

[![SIÁN Agency Store](https://img.shields.io/badge/Store-SI%C3%81N%20Agency-1AE392)](https://apify.com/sian.agency?fpr=sian) [![realestate.co.nz Scraper](https://img.shields.io/badge/Store-realestate.co.nz%20Scraper-1AE392)](https://apify.com/sian.agency/realestate-nz-property-scraper?fpr=sian) [![Trade Me Property Scraper](https://img.shields.io/badge/Store-Trade%20Me%20Property%20Scraper-1AE392)](https://apify.com/sian.agency/trademe-property-scraper?fpr=sian) [![realestate.com.au Scraper](https://img.shields.io/badge/Store-realestate.com.au%20Scraper-E4002B)](https://apify.com/sian.agency/realestate-au-property-scraper?fpr=sian)

#### 🎉 OneRoof's estimate, its last 12 months, the council RV and the title record on one row per address

##### For NZ valuers, lenders, buyers' advocates, conveyancers and proptech teams who work address by address

### 🔎 What is the OneRoof Scraper — and when should you use it?

The **OneRoof Scraper** turns OneRoof's New Zealand property pages, one address at a time, into clean, structured rows you can filter, export and feed straight into a spreadsheet, database or AI agent. No account, no portal API key, no browser automation to maintain.

**Use it when you need:** one New Zealand address per row, with OneRoof's value estimate, its low-to-high range, its confidence rating and the last 12 monthly estimates. The suburb median estimate and the suburb's median sale price over 12 months sit on the same row. Each row also carries the council rateable value split into land and improvements, the last sale price and date, and the title number, title type and legal description. Addresses are found three ways: recent sales in a place, homes for sale in a place, or OneRoof property links you paste.

**Use something else when:** you need the listing itself, with photos, the agent's contact details and open-home times. Use [realestate.co.nz Scraper](https://apify.com/sian.agency/realestate-nz-property-scraper?fpr=sian) for New Zealand agency listings with the licensed salesperson's mobile and email, school zones and open homes. Use [Trade Me Property Scraper](https://apify.com/sian.agency/trademe-property-scraper?fpr=sian) for Trade Me listings and rentals, including homes that private sellers list themselves. This actor is about the address: what it is worth, what it sold for and what the public record says. OneRoof's homes for sale are largely the same stock as realestate.co.nz and Trade Me, so listing detail is not repeated here. Coverage is New Zealand only.

### 🤖 Use with AI agents

Already connected to the [Apify MCP server](https://mcp.apify.com)? Just ask for this Actor by name: sian.agency/oneroof-property-scraper

**Your agent can pay for its own runs.** This Actor is eligible for [agentic payments](https://docs.apify.com/platform/actors/publishing/monetize), so an agent can discover it, run it and settle the bill over [x402](https://www.x402.org/) (USDC on Base) or [Skyfire](https://www.skyfire.xyz/) — without an Apify account or API token of its own. Billing is the same either way: per successful row, never for errors.

Otherwise copy this prompt into Claude, ChatGPT, Cursor or any MCP-enabled assistant:

```text
I want OneRoof's value estimates, recent sale prices and council valuations for New Zealand addresses using the Apify Actor `sian.agency/oneroof-property-scraper`.

Use it when I need: one New Zealand address per row, with OneRoof's value estimate, its low-to-high range, its confidence rating and the last 12 monthly estimates. The suburb median estimate and the suburb's median sale price over 12 months sit on the same row. Each row also carries the council rateable value split into land and improvements, the last sale price and date, and the title number, title type and legal description. Addresses are found three ways: recent sales in a place, homes for sale in a place, or OneRoof property links you paste.

Don't use it when: you need the listing itself, with photos, the agent's contact details and open-home times — use realestate-nz-property-scraper or trademe-property-scraper instead.

How to call it: set `operation` to `sold` (Recent Sales + Estimates, the default), `forSale` (Homes for Sale + Estimates) or `properties` (Property Estimate Lookup). For `sold` and `forSale`, give `locations` a list of New Zealand place names written the way you would say them: a suburb ("Grey Lynn", "Karori"), a district ("Dunedin City") or a region ("Auckland"). When a suburb name exists in two places, add the city after a comma, e.g. "Avondale, Christchurch". For `properties`, paste OneRoof property page links into `propertyUrls`, e.g. https://www.oneroof.co.nz/property/auckland/grey-lynn/12-grosvenor-street/B0y9K. `maxResults` caps rows for the whole run (default 100). Every row is one address and one charge, and an address that turns up twice in a run is returned and charged once.

Start with this input:
{
  "operation": "sold",
  "locations": [
    "Grey Lynn"
  ],
  "maxResults": 100
}

Ask me which New Zealand suburbs, districts or addresses I care about, and whether I want recent sales, homes for sale or a lookup of addresses I already have, then run the Actor and summarise the results as a table.
```

**Things you can ask your agent for:**

- *Pull the recent sales in Grey Lynn and put each sold price next to today's OneRoof estimate and the council rateable value.*
- *List the homes for sale in Karori with their asking price and OneRoof's estimate, and flag the ones where the two are furthest apart.*
- *Here are five OneRoof property links. Give me the estimate range, the confidence rating, the title number and the legal description for each.*
- *For these addresses, chart the last 12 months of OneRoof estimates and show how the latest one compares with the suburb median estimate.*

Machine-readable API, MCP config and OpenAPI definition for this Actor are published at [apify.com/sian.agency/oneroof-property-scraper.md](https://apify.com/sian.agency/oneroof-property-scraper.md).

### 📋 Overview

**Every New Zealand address OneRoof values, as a spreadsheet row.** OneRoof publishes property pages for roughly 2.4 million New Zealand addresses. This Actor reads those pages and returns each address with its estimate, its sale history, its council valuation and its title record. You choose the addresses by recent sales in a place, by homes for sale in a place, or by pasting OneRoof links you already have.

**What you get:**

- ✅ **52 fields per address**: estimate, range, confidence, 12 monthly estimates, suburb medians, sold price, council RV, land and improvements value, title, legal description, zoning and more.
- 🎯 **A second valuation model**: we compared OneRoof's estimate with realestate.co.nz's on 45 Grey Lynn homes. None matched, and the median gap was 6.5%.
- 📈 **Estimate history built in**: the last 12 monthly estimates come on every row, with the change over that period already worked out.
- 💰 **$2.50 per 1,000 addresses**: one charge per address returned, plus a small start fee. Places the Actor cannot find and links that are not OneRoof property pages cost nothing.
- 💎 **The public record**: title number, title type, legal description, estate description, zoning, construction, condition and contour on the same row.
- ✨ **NEW**: three ways in. Recent sales, homes for sale, or a list of OneRoof property links.

***

### ✨ Features

- 🏷️ **OneRoof value estimate**: the figure, the low and high ends of the range, the confidence rating and the month it applies to.
- 📊 **12-month estimate history**: one value per month, plus the percentage change across those months.
- 🏘️ **Suburb context**: the suburb median estimate and the suburb's median sale price over the last 12 months.
- 💰 **Recent sales**: sold price, sold date and sale method ("Sold by negotiation", for example) for about two years of sales in any place.
- 🏛️ **Council rating valuation**: rateable value, land value, improvements value, valuation date and the change since the previous valuation.
- 📜 **Title and legal record**: title number, title type, legal description, estate description, zoning, council, construction, condition, contour and view.
- 🏡 **Homes for sale with an estimate**: the asking price, or the auction or negotiation wording, next to OneRoof's estimate for the same address.
- 📍 **Places typed the way you say them**: "Grey Lynn", "Dunedin City", "Auckland". A region covers every suburb inside it.
- 🔗 **Bring your own addresses**: paste OneRoof property links and get the same row for each.
- 🧮 **No double billing**: an address that turns up twice in a run, say in a suburb and again in its district, is returned and charged once.

***

### 🎬 Quick Start

Type one or more New Zealand places and press Start. The default input returns recent sales in Grey Lynn, each with today's OneRoof estimate beside the sold price. Switch the operation to see homes for sale, or to look up addresses you already have.

```bash
curl -X POST 'https://api.apify.com/v2/acts/sian.agency~oneroof-property-scraper/runs?token=YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"operation": "sold", "locations": ["Grey Lynn"], "maxResults": 100}'
```

***

### 🚀 Getting Started (3 Simple Steps)

#### Step 1: Pick an operation

Recent Sales + Estimates for what homes sold for. Homes for Sale + Estimates for what is on the market now. Property Estimate Lookup for addresses you already have.

#### Step 2: Say where

Type suburbs, districts or regions into New Zealand places, such as "Karori" or "Auckland". For a lookup, paste OneRoof property links instead.

#### Step 3: Run it and take the data

Set Maximum rows and press Start. Export the dataset as CSV, JSON or Excel, or read it over the API.

**That's it! In a few minutes, you'll have:**

- Every address with OneRoof's estimate, range and confidence
- Sold prices or asking prices next to that estimate
- The council valuation and title record for each address

***

### 📥 Input Configuration

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `operation` | string | No | `sold` (Recent Sales + Estimates, default), `forSale` (Homes for Sale + Estimates) or `properties` (Property Estimate Lookup). |
| `locations` | array | No | New Zealand suburbs, districts or regions by name. Used by `sold` and `forSale`. Default "Grey Lynn". |
| `propertyUrls` | array | No | OneRoof property page links. Used by `properties`. |
| `maxResults` | integer | No | Maximum rows for the whole run, not per place. Default 100. |

Some suburb names exist in more than one place (85 of them, Avondale for one). Add the district or city after a comma to pick the right one: "Avondale, Christchurch". A place the Actor cannot match is reported by name, with the options when there are several, and you are not charged for it.

**Example: recent sales in two suburbs**

```json
{
  "operation": "sold",
  "locations": ["Grey Lynn", "Karori"],
  "maxResults": 200
}
```

**Example: homes for sale in a city, with estimates**

```json
{
  "operation": "forSale",
  "locations": ["Dunedin City"],
  "maxResults": 500
}
```

**Example: addresses you already have**

```json
{
  "operation": "properties",
  "propertyUrls": [
    "https://www.oneroof.co.nz/property/auckland/grey-lynn/12-grosvenor-street/B0y9K",
    "https://www.oneroof.co.nz/property/wellington/karori/63-messines-road/G6WiK"
  ]
}
```

***

### 📤 Output

Every operation returns the same row: one address, up to **52 fields**. A field with no value is left out of the row instead of being filled with a zero.

| Field | Type | Description |
|-------|------|-------------|
| `fullAddress` | string | Street, suburb and council area |
| `estimateValue` | integer | OneRoof's estimate in NZD |
| `estimateLow` / `estimateHigh` | integer | The ends of OneRoof's estimate range |
| `estimateConfidence` | string | OneRoof's confidence rating, e.g. "Medium" |
| `estimateHistory` | array | The last 12 monthly estimates, as `{month, value}` |
| `estimateChange12mPct` | number | Change from the first to the latest monthly estimate, in % |
| `suburbMedianEstimate` | integer | The suburb's median estimate |
| `suburbMedianSalePrice12m` | integer | The suburb's median sale price over 12 months |
| `soldPrice` / `soldDate` / `soldMethod` | mixed | The sale found by Recent Sales |
| `askingPrice` | string | The asking price or sale method, for homes for sale |
| `rateableValue` / `landValue` / `improvementsValue` | integer | The council rating valuation |
| `valuationDate` | string | When the council valuation was set |
| `titleType` / `titleNumber` | string | Freehold, leasehold and so on, plus the title reference |
| `legalDescription` | string | The legal description of the land |
| `landAreaSqm` / `floorAreaSqm` | number | Land and floor area in square metres |
| `latitude` / `longitude` | number | Coordinates |

**Example (a real row for 12 Grosvenor Street, Grey Lynn; history and some fields trimmed):**

```json
{
  "fullAddress": "12 Grosvenor Street, Grey Lynn, Auckland - City",
  "propertyUrl": "https://www.oneroof.co.nz/property/auckland/grey-lynn/12-grosvenor-street/B0y9K",
  "estimateValue": 3235000,
  "estimateLow": 2705000,
  "estimateHigh": 3770000,
  "estimateConfidence": "Medium",
  "estimateMonth": "2026-10",
  "estimateChange12mPct": -2.7,
  "estimateHistory": [
    { "month": "2025-11", "value": 3325000 },
    { "month": "2025-12", "value": 3285000 },
    { "month": "2026-10", "value": 3235000 }
  ],
  "suburbMedianEstimate": 1525000,
  "suburbMedianSalePrice12m": 1837726,
  "soldPrice": 3275000,
  "soldDate": "2025-07-29",
  "soldMethod": "Sold by negotiation",
  "rateableValue": 3400000,
  "landValue": 1950000,
  "improvementsValue": 1450000,
  "valuationDate": "2024-04-30",
  "bedrooms": 5,
  "floorAreaSqm": 227,
  "landAreaSqm": 503,
  "buildingAge": "1900",
  "titleType": "Freehold",
  "titleNumber": "NA186/53",
  "legalDescription": "LOT 12 SEC 10 DP 329 503M2",
  "zoning": "Zone 19 Residential - Single House Zone",
  "suburb": "Grey Lynn",
  "district": "Auckland City",
  "region": "Auckland",
  "latitude": -36.864491,
  "longitude": 174.743699,
  "propertyCode": "B0y9K",
  "status": "success"
}
```

A run report is saved to the key-value store as well, with the totals, any addresses that failed and what the run cost.

#### Coverage

Every New Zealand address OneRoof has a property page for: 20 regions, 89 districts and 2,017 suburbs, about 2.4 million addresses. Recent sales go back about two years. When we measured, that was 455 sales in Grey Lynn, 61,485 in Auckland and 216,360 nationwide. Homes for Sale covered the 42,333 residential listings live on OneRoof at the time.

Some rural and brand-new addresses have no estimate, because OneRoof itself shows "insufficient data" for them. Those rows still come back with the council valuation and the title record.

***

### 💼 Use Cases & Examples

#### 1. A second valuation opinion

**Registered valuers and bank lending teams who already pull one automated estimate.**

**Input:** `properties` with the addresses on your desk
**Output:** OneRoof's estimate, its range and its confidence rating for each
**Use:** a second model beside the one you have. On 45 Grey Lynn homes the two sites never agreed, and the median gap was 6.5%.

#### 2. Asking price against estimate

**Buyers' advocates and investors looking for homes priced away from their estimate.**

**Input:** `forSale` for the suburbs you buy in
**Output:** each asking price, or the auction or negotiation wording, next to OneRoof's estimate for that address
**Use:** sort by the gap, and the homes priced above or below the estimate rise to the top.

#### 3. Comparable sales with today's value

**Agents and appraisers preparing an appraisal or a listing pitch.**

**Input:** `sold` for one suburb, `maxResults` around 200
**Output:** what each home sold for, when and how, next to today's estimate and the council valuation
**Use:** the comparable-sales table an appraisal needs, already joined, from one run.

#### 4. Estimate trends per address

**Proptech teams and market analysts tracking prices street by street.**

**Input:** `sold` or `forSale` across a district
**Output:** 12 monthly estimates per address, the change over that period and the suburb median estimate
**Use:** a price-movement chart per address with no second source to stitch in.

#### 5. Title and legal checks at scale

**Conveyancers, lawyers and due-diligence teams working through a portfolio.**

**Input:** `properties` with the addresses in the portfolio
**Output:** title number, title type, legal description, estate description, zoning, council, construction and condition
**Use:** a first pass over a long list before you order official title searches on the ones that matter.

#### 6. Portfolio value monitoring

**Landlords, property managers and mortgage brokers keeping an eye on a book of homes.**

**Input:** `properties` with your addresses, on a monthly schedule
**Output:** the latest estimate and range for each, with the 12-month history
**Use:** see which homes moved, and by how much, without opening each page by hand.

#### 7. Market research and reporting

**Journalists, researchers and economists writing about New Zealand house prices.**

**Input:** `sold` for a region such as "Wellington" or "Canterbury", with a high `maxResults`
**Output:** two years of sales with estimates, council values and coordinates
**Use:** sale price against estimate, mapped suburb by suburb.

***

### 🔗 Integration Examples

#### JavaScript/Node.js

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_TOKEN' });

const run = await client.actor('sian.agency/oneroof-property-scraper').call({
  operation: 'sold',
  locations: ['Grey Lynn', 'Karori'],
  maxResults: 200,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items[0]);
```

#### Python

```python
from apify_client import ApifyClient
client = ApifyClient('YOUR_TOKEN')

run = client.actor('sian.agency/oneroof-property-scraper').call(
    run_input={
        'operation': 'properties',
        'propertyUrls': [
            'https://www.oneroof.co.nz/property/auckland/grey-lynn/12-grosvenor-street/B0y9K',
        ],
    }
)

for item in client.dataset(run['defaultDatasetId']).iterate_items():
    print(item['fullAddress'], item.get('estimateValue'), item.get('rateableValue'))
```

#### cURL

```bash
curl -X POST 'https://api.apify.com/v2/acts/sian.agency~oneroof-property-scraper/runs?token=YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"operation": "forSale", "locations": ["Dunedin City"], "maxResults": 500}'
```

#### Automation Workflows (N8N / Zapier / Make)

1. **Trigger**: a monthly schedule, or a webhook from your CRM when a new address comes in
2. **HTTP Request**: call the Actor API with your places or property links
3. **Process**: read the JSON rows and match them on `propertyCode`
4. **Action**: update a Google Sheet, attach the estimate to a CRM record, or post the biggest movers to Slack

***

### 📊 Performance & Pricing

#### FREE Tier (Try It Now)

- **25 addresses** per run, every field included
- No credit card required
- Enough to check the estimates against a suburb you know well

#### PAID Tier (Production Ready)

- **No cap** on rows per run beyond the `maxResults` you set
- Around one address per second
- You pay per address returned. Unknown places, links that are not OneRoof property pages, removed pages and repeat addresses cost nothing.

| Apify plan | Price per address | Per 1,000 addresses |
|---|---:|---:|
| Free | $0.01 | $10.00 |
| Bronze | $0.0025 | $2.50 |
| Silver | $0.00235 | $2.35 |
| Gold | $0.0022 | $2.20 |
| Platinum | $0.00208 | $2.08 |
| Diamond | $0.00195 | $1.95 |

Each run also has a small start fee: $0.005 on paid plans and $0.02 on the Free plan.

💰 **$2.50 per 1,000 addresses** on Bronze, for a row that carries the estimate, its history, the council valuation and the title record together.

🔗 [View current pricing](https://apify.com/sian.agency/oneroof-property-scraper?fpr=sian)

***

### ❓ Frequently Asked Questions (FAQ)

**Q: Is the OneRoof estimate the same as the one on realestate.co.nz?**
A: No. They come from separate models. We compared 45 Grey Lynn homes that both sites value: none of the figures matched, the median difference was 6.5%, and some were more than 15% apart. If you work with valuations, that gap is worth knowing about.

**Q: Why does a row have no estimate?**
A: OneRoof does not estimate every address. Rural blocks, bare land and new subdivisions often show "insufficient data" on the site itself. Those rows still carry the council valuation, the land area and the title record. The estimate fields are left empty rather than guessed.

**Q: Why is there a sale date but no sold price?**
A: The most recent sale prices are often not published on OneRoof yet. The row still has the sale date and method, and the price shows up once OneRoof publishes it.

**Q: How far back do recent sales go?**
A: About two years. OneRoof's sold list for Grey Lynn ran from October 2024 to the end of September 2026 when we measured it, 455 sales. For older sales, each address carries its last sold price and date.

**Q: Can I look up one specific address?**
A: Yes. Search the address on oneroof.co.nz, copy the link of its property page, and paste it into OneRoof property pages with Property Estimate Lookup selected.

**Q: Do you return agent contacts and listing photos?**
A: No. This Actor is about the address: its value, its sales and its public record. OneRoof's listings are largely the same stock as realestate.co.nz and Trade Me. For agents, photos and open homes, use our [realestate.co.nz Scraper](https://apify.com/sian.agency/realestate-nz-property-scraper?fpr=sian) or [Trade Me Property Scraper](https://apify.com/sian.agency/trademe-property-scraper?fpr=sian).

**Q: Am I charged twice if an address shows up in two places?**
A: No. If an address turns up twice in one run, for example in a suburb and again in its district, it is returned and charged once.

**Q: What output formats are available?**
A: JSON, CSV and Excel from the Apify dataset, or the API.

***

### 🐛 Troubleshooting

**"... is not a New Zealand place OneRoof knows"**

- Check the spelling, or try the district or region instead of the suburb
- Places that could not be matched are skipped and not charged

**"... exists in several places"**

- The suburb name is used in more than one district. Add the district or city after a comma, as the message suggests: "Avondale, Christchurch"

**"OneRoof has removed this property page"**

- The link no longer leads to a property on OneRoof. Search the address again on oneroof.co.nz and copy the new link
- These rows are marked `status: "error"` and are not charged

**Fewer rows than `maxResults`**

- The place may simply have fewer sales or listings than your cap
- On the Free plan each run stops at 25 addresses

**Estimate fields are empty**

- OneRoof has no estimate for that address, which is common for rural and new-build addresses. The council valuation and title record are still there

***

### ⚖️ Is it legal to scrape data?

Our actors are ethical and do not extract any private user data, such as email addresses, gender, or location. They only extract what the user has chosen to share publicly. We therefore believe that our actors, when used for ethical purposes by Apify users, are safe.

However, you should be aware that your results could contain personal data. Personal data is protected by the **GDPR** in the European Union and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers.

You can also read Apify's blog post on the [legality of web scraping](https://blog.apify.com/is-web-scraping-legal/).

OneRoof is a trademark of NZME Limited. This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by NZME or OneRoof.

***

### 🤝 Support

**Join our active support community**

- For issues or questions, open an issue in the actor's repository
- Check [SIÁN Agency Store](https://apify.com/sian.agency?fpr=sian) for more automation tools
- 📧 <apify@sian-agency.online>

***

**Built by [SIÁN Agency](https://www.sian-agency.online)** | **[More Tools](https://apify.com/sian.agency?fpr=sian)**

# Changelog

This Actor's version history is a separate document: https://apify.com/sian.agency/oneroof-property-scraper/changelog.md

# Actor input Schema

## `operation` (type: `string`):

Pick one per run. All three return the same row: one New Zealand address with OneRoof's estimate, its range and confidence, 12 months of estimate history, the council valuation, the last sale and the title record. They only differ in how the addresses are found. Recent Sales and Homes for Sale search the places you list. Property Estimate Lookup reads the property pages you paste.

## `locations` (type: `array`):

Suburbs, districts or regions by name, one per line: Grey Lynn, Karori, Riccarton, Mount Maunganui. A district (Dunedin City, Christchurch City, Tauranga) or a region (Auckland, Canterbury, Otago) covers everything inside it. When a suburb and a district share a name, the suburb wins: Queenstown is the town, Queenstown, Otago is the district. 85 suburb names exist twice, such as Avondale; add the district after a comma, e.g. Avondale, Christchurch. Unmatched places are reported, never billed.

## `propertyUrls` (type: `array`):

For Property Estimate Lookup. Paste full OneRoof property page links, one per line, like https://www.oneroof.co.nz/property/wellington/karori/63-messines-road/G6WiK. To find one, search the address on oneroof.co.nz and copy the link from the address bar. A link that is not a OneRoof property page is reported and never billed. The same address pasted twice is read and charged once.

## `maxResults` (type: `integer`):

Stop after this many rows for the whole run, not per place. You pay for each property row; error rows are free. Free plan runs return up to 25 rows, paid plans go up to your limit. Recent Sales reaches back about two years, which is 455 sales in Grey Lynn and 61,485 across Auckland, so set a cap before you search a region. An address that turns up twice, say in a suburb and in its district, comes back and is charged once.

## Actor input object example

```json
{
  "operation": "sold",
  "locations": [
    "Ponsonby",
    "Avondale, Christchurch",
    "Queenstown, Otago"
  ],
  "propertyUrls": [
    "https://www.oneroof.co.nz/property/wellington/karori/63-messines-road/G6WiK"
  ],
  "maxResults": 50
}
```

# Actor output Schema

## `oneroofCoNzProperties` (type: `string`):

Every property this run returned, one row per address.

## `scrapingSummary` (type: `string`):

HTML summary showing successful and failed results with key metrics

# 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 = {
    "operation": "sold",
    "locations": [
        "Grey Lynn",
        "Karori"
    ],
    "propertyUrls": [
        "https://www.oneroof.co.nz/property/auckland/grey-lynn/12-grosvenor-street/B0y9K"
    ],
    "maxResults": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("sian.agency/oneroof-property-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 = {
    "operation": "sold",
    "locations": [
        "Grey Lynn",
        "Karori",
    ],
    "propertyUrls": ["https://www.oneroof.co.nz/property/auckland/grey-lynn/12-grosvenor-street/B0y9K"],
    "maxResults": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("sian.agency/oneroof-property-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "operation": "sold",
  "locations": [
    "Grey Lynn",
    "Karori"
  ],
  "propertyUrls": [
    "https://www.oneroof.co.nz/property/auckland/grey-lynn/12-grosvenor-street/B0y9K"
  ],
  "maxResults": 50
}' |
apify call sian.agency/oneroof-property-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sian.agency/oneroof-property-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/rcDvlRpuEfmC8ad4e/builds/h4FiQodXVJ53ZhbXo/openapi.json
