# OneRoof NZ Properties and Details Scraper (`realestateapi/oneroof-nz-properties-and-details-scraper`) Actor

OneRoof NZ property data Actor gated by prior written permission because OneRoof user terms prohibit scraping and copying without consent.

- **URL**: https://apify.com/realestateapi/oneroof-nz-properties-and-details-scraper.md
- **Developed by:** [Real Estate API](https://apify.com/realestateapi) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 NZ Properties and Details Scraper

OneRoof’s User Terms prohibit scraping or copying platform data and restrict use or distribution without consent. No applicable written permission is recorded. The default run makes zero source requests. Collection requires prior written permission, writtenPermissionConfirmed set to true, and explicit authorized public OneRoof URLs. The checkbox is an operator assertion and does not grant permission.

The Actor accepts up to 20 explicit URLs and can emit up to 100 property rows. It excludes exact street addresses, agent names, phone numbers, email addresses, coordinates, contact forms, account data, and private fields. It uses direct HTTPS pages and does not follow redirects or work around challenges or denials.

### Example input

```json
{
  "startUrls": [{"url": "https://www.oneroof.co.nz/search/example"}],
  "writtenPermissionConfirmed": false,
  "maxItems": 40,
  "includeImages": true
}
```

### Output

This synthetic, schema-only illustration is not a live listing and is not evidence of source access. It shows the conditional row contract only; the default policy gate makes zero requests and emits no rows. No street address, contact details, or coordinates are included.

```json
{
  "recordType": "oneroof-property",
  "recordId": "oneroof-SYNTHETIC-0001",
  "inventoryRank": 829,
  "actorName": "OneRoof NZ Properties and Details Scraper",
  "actorSlug": "fatihtahta/oneroof-nz-scraper",
  "actorStoreUrl": "https://apify.com/fatihtahta/oneroof-nz-scraper",
  "sourceWebsite": "https://www.oneroof.co.nz",
  "sourcePageType": "oneroof-search-listing-html",
  "httpStatus": 200,
  "accessStatus": "success",
  "contentType": "text/html; charset=utf-8",
  "contentLength": 1024,
  "responseHeaders": {
    "content-type": "text/html; charset=utf-8"
  },
  "redirected": false,
  "listingId": "SYNTHETIC-0001",
  "listingUid": "SYNTHETIC-0001",
  "listingCode": "SYNTH-0001",
  "listingUrl": "https://www.oneroof.co.nz/property/synthetic-example",
  "propertyType": "House",
  "category": "Residential",
  "listingType": "For sale",
  "priceText": "NZD 850,000",
  "priceValue": 850000,
  "priceCurrency": "NZD",
  "locationSuburb": "Example Suburb",
  "locationDistrict": "Example District",
  "locationRegion": "Example Region",
  "bedrooms": 3,
  "bathrooms": 2,
  "carSpaces": 2,
  "landArea": 600,
  "landAreaText": "600 m2",
  "floorAreaText": "160 m2",
  "agencyName": "Example Agency",
  "imageUrls": [
    "https://images.example.org/oneroof-example.jpg"
  ],
  "hasOpenHome": false,
  "isNewListing": false,
  "isProject": false,
  "isShowcase": false,
  "buildingAge": "Synthetic example",
  "marketTime": 5,
  "publishedAt": "2026-10-01T00:00:00.000Z",
  "searchResultCount": 1,
  "pageTitle": "Example search page",
  "sourceRowIndex": 1,
  "sourceBacked": true,
  "dataAvailable": true,
  "sourceEvidence": [
    "official_oneroof_embedded_listing_object",
    "official_oneroof_public_listing_card"
  ],
  "inventoryMetadata": {
    "rank": 829,
    "title": "OneRoof NZ Properties and Details Scraper",
    "storeSlug": "fatihtahta/oneroof-nz-scraper",
    "storeUrl": "https://apify.com/fatihtahta/oneroof-nz-scraper"
  },
  "fetchedAt": "2026-10-05T12:00:00.000Z",
  "sourceUrl": "https://www.oneroof.co.nz/search/synthetic-example",
  "finalUrl": "https://www.oneroof.co.nz/search/synthetic-example",
  "canonicalUrl": "https://www.oneroof.co.nz/property/synthetic-example",
  "fieldCoverage": [
    "recordType",
    "recordId",
    "inventoryRank",
    "actorName",
    "actorSlug",
    "actorStoreUrl",
    "sourceWebsite",
    "sourcePageType",
    "httpStatus",
    "accessStatus",
    "contentType",
    "contentLength",
    "responseHeaders",
    "redirected",
    "listingId",
    "listingUid",
    "listingCode",
    "listingUrl",
    "propertyType",
    "category",
    "listingType",
    "priceText",
    "priceValue",
    "priceCurrency",
    "locationSuburb",
    "locationDistrict",
    "locationRegion",
    "bedrooms",
    "bathrooms",
    "carSpaces",
    "landArea",
    "landAreaText",
    "floorAreaText",
    "agencyName",
    "imageUrls",
    "hasOpenHome",
    "isNewListing",
    "isProject",
    "isShowcase",
    "buildingAge",
    "marketTime",
    "publishedAt",
    "searchResultCount",
    "pageTitle",
    "sourceRowIndex",
    "sourceBacked",
    "dataAvailable",
    "sourceEvidence",
    "inventoryMetadata",
    "fetchedAt",
    "sourceUrl",
    "finalUrl",
    "canonicalUrl"
  ],
  "dataQuality": {
    "recordStatus": "non_empty_source_listing",
    "sourceEvidence": "official_oneroof_public_html",
    "targetSpecificFieldsClaimed": true,
    "nonEmptyTopLevelFields": 53,
    "emptyTopLevelFields": 0,
    "nullTopLevelFields": 0
  }
}
```

The dataset contains verified property rows only. Policy and request diagnostics remain in the OUTPUT_SUMMARY key-value record. A default policy skip is SUCCEEDED / SKIPPED_POLICY; a clean bounded or empty run is SUCCEEDED / COMPLETED; failures before saved rows are FAILED / FAILED; later failures are SUCCEEDED / PARTIAL.

# Actor input Schema

## `startUrls` (type: `array`):

Explicit public OneRoof search or property URLs. No default URL is used. Requests are skipped unless prior written permission is confirmed.

## `writtenPermissionConfirmed` (type: `boolean`):

Confirm that you hold prior written permission from OneRoof to scrape and copy the requested site content. Requests are blocked unless this is true.

## `maxItems` (type: `integer`):

Maximum public property rows emitted across requested pages.

## `timeoutMs` (type: `integer`):

Maximum time allowed for each direct public request.

## `acceptLanguage` (type: `string`):

Optional language preference for the public request.

## `includeImages` (type: `boolean`):

Include official OneRoof image URLs visible in listing cards.

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

Retained for compatibility only. This actor uses direct fetch and does not use proxies or bypass access controls.

## Actor input object example

```json
{
  "startUrls": [],
  "writtenPermissionConfirmed": false,
  "maxItems": 40,
  "timeoutMs": 30000,
  "acceptLanguage": "en-NZ,en;q=0.8",
  "includeImages": true
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `runSummary` (type: `string`):

No description

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("realestateapi/oneroof-nz-properties-and-details-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("realestateapi/oneroof-nz-properties-and-details-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 '{}' |
apify call realestateapi/oneroof-nz-properties-and-details-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,realestateapi/oneroof-nz-properties-and-details-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/kHcHJ4gRwgYo5GP2i/builds/1u4acsw83eNqr5Q9z/openapi.json
