---
title: "OneRoof API: JSON data, 5 endpoints, 1 credit per call"
description: "OneRoof API for New Zealand homes for sale, rent and recently sold, listings, agents, agencies and suburb lookup as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/oneroof
---

[APIs](https://perceptlayer.com/apis) / [Real estate](https://perceptlayer.com/verticals/real-estate) / OneRoof

1 credit per call 5 endpoints 28 datapoints

# OneRoof API

OneRoof API for New Zealand homes for sale, rent and recently sold, listings, agents, agencies and suburb lookup as JSON. 1 credit per successful call.

[Get a free API key](https://perceptlayer.com/signup) Run it below

OneRoof

GET /v1/oneroof/search?type=sale&region\_id=35&bedrooms\[\]=3&bedrooms\[\]=4&sort=latest 

```
{
  "success": true,
  "data": {
    "items": [
      {
        "id": 2552376,
        "uid": "glOfX",
        "url": "https://www.oneroof.co.nz/property/auckland/howick/lot-1-68-andrew-road/glOfX",
        "slug": "auckland/howick/lot-1-68-andrew-road/glOfX",
        "code": "944131",
        "title": "Developer Says Sell - Must Be Sold!",
        "listing_type": "sale",
        "listing_type_label": "Residential for sale",
        "property_type": "House",
        "category_id": 1,
        "price_text": "By negotiation",
        "currency": "NZD",
        "price_method_code": 2,
        "bedrooms": 4,
        "bathrooms": 2,
        "carparks": 1,
        "address": {
          "full": "Lot 1/68 Andrew Road, Howick, Manukau City, Auckland",
          "street": "Lot 1/68 Andrew Road",
          "suburb": "Howick",
          "suburb_id": 470,
          "district": "Manukau City",
          "district_id": 223,
          "region": "Auckland",
          "region_id": 35,
          "latitude": -36.9068489,
          "longitude": 174.9260712
        },
        "status": 1,
        "listed_at": "2026-11-11T16:00:00Z",
        "is_new_listing": true,
        "is_new_home": false,
        "is_coming_soon": false,
        "images": [
          "https://s.oneroof.co.nz/image/3d/6f/3d6f4a50739046fc788b1c08a50a26a1.jpg?x-oss-process=image/quality,q_80",
          "https://s.oneroof.co.nz/image/5b/8b/5b8bd535335550d0f878ce638dce5f62.jpg?x-oss-process=image/quality,q_80",
          "https://s.oneroof.co.nz/image/83/4f/834f1462f85f7c9dc40c39770caa7889.jpg?x-oss-process=image/quality,q_80"
        ],
        "image_groups": [
          {
            "key": "other room",
            "label": "Others",
            "images": [
              "https://s.oneroof.co.nz/image/3d/6f/3d6f4a50739046fc788b1c08a50a26a1.jpg?x-oss-process=image/quality,q_80",
              "https://s.oneroof.co.nz/image/5b/8b/5b8bd535335550d0f878ce638dce5f62.jpg?x-oss-process=image/quality,q_80",
              "https://s.oneroof.co.nz/image/83/4f/834f1462f85f7c9dc40c39770caa7889.jpg?x-oss-process=image/quality,q_80"
            ]
          }
        ],
        "open_homes": [
          {
            "start": "2026-11-14T01:30:00Z",
            "end": "2026-11-14T02:00:00Z"
          },
          {
            "start": "2026-11-15T01:45:00Z",
            "end": "2026-11-15T02:15:00Z"
          }
        ],
        "agents": [
          {
            "id": 18393,
            "name": "Ella Lin",
            "phone": "021 021 88860",
            "photo": "https://s.oneroof.co.nz/image/b9/0f/b90ff00e52d15f4b89075bb24cf85898.jpg?x-oss-process=image/quality,q_80"
          }
        ],
        "office": {
          "id": 484,
          "name": "Barfoot & Thompson Ltd (Licensed: REAA 2008) - Highland Park",
          "photo": "https://s.oneroof.co.nz/image/c7/6d/c76dd7b88f06e745c62b27b98d5f1e88.jpg?x-oss-process=image/quality,q_80",
          "banner": "https://s.oneroof.co.nz/image/9a/01/9a0168ca52acd05f60736ce7377d459f.jpg?x-oss-process=image/quality,q_80"
        },
        "detail_available": true
      },
      {
        "id": 2552371,
        "uid": "VBtcJ",
        "url": "https://www.oneroof.co.nz/property/auckland/howick/lots-1-5-68-andrew-road/VBtcJ",
        "slug": "auckland/howick/lots-1-5-68-andrew-road/VBtcJ",
        "code": "944130",
        "title": "Developer Says Sell - Must Be Sold!",
        "listing_type": "sale",
        "listing_type_label": "Residential for sale",
        "property_type": "House",
        "category_id": 1,
        "price_text": "By negotiation",
        "currency": "NZD",
        "price_method_code": 2,
        "bedrooms": 4,
        "bathrooms": 2,
        "carparks": 1,
        "address": {
          "full": "Lots 1-5/68 Andrew Road, Howick, Manukau City, Auckland",
          "street": "Lots 1-5/68 Andrew Road",
          "suburb": "Howick",
          "suburb_id": 470,
          "district": "Manukau City",
          "district_id": 223,
          "region": "Auckland",
          "region_id": 35,
          "latitude": -36.9068489,
          "longitude": 174.9260712
        },
        "status": 1,
        "listed_at": "2026-11-11T16:00:00Z",
        "is_new_listing": true,
        "is_new_home": false,
        "is_coming_soon": false,
        "images": [
          "https://s.oneroof.co.nz/image/f3/9b/f39bf2eed0eb0d3b2fea52422e3489c1.jpg?x-oss-process=image/quality,q_80",
          "https://s.oneroof.co.nz/image/ed/ef/edefcbb545ae6f889e907d2b8040137d.jpg?x-oss-process=image/quality,q_80",
          "https://s.oneroof.co.nz/image/5b/8b/5b8bd535335550d0f878ce638dce5f62.jpg?x-oss-process=image/quality,q_80"
        ],
        "image_groups": [
          {
            "key": "other room",
            "label": "Others",
            "images": [
              "https://s.oneroof.co.nz/image/f3/9b/f39bf2eed0eb0d3b2fea52422e3489c1.jpg?x-oss-process=image/quality,q_80",
              "https://s.oneroof.co.nz/image/ed/ef/edefcbb545ae6f889e907d2b8040137d.jpg?x-oss-process=image/quality,q_80",
              "https://s.oneroof.co.nz/image/5b/8b/5b8bd535335550d0f878ce638dce5f62.jpg?x-oss-process=image/quality,q_80"
            ]
          }
        ],
        "open_homes": [
          {
            "start": "2026-11-14T01:30:00Z",
            "end": "2026-11-14T02:00:00Z"
          },
          {
            "start": "2026-11-15T01:45:00Z",
            "end": "2026-11-15T02:15:00Z"
          }
        ],
        "agents": [
          {
            "id": 18393,
            "name": "Ella Lin",
            "phone": "021 021 88860",
            "photo": "https://s.oneroof.co.nz/image/b9/0f/b90ff00e52d15f4b89075bb24cf85898.jpg?x-oss-process=image/quality,q_80"
          }
        ],
        "office": {
          "id": 484,
          "name": "Barfoot & Thompson Ltd (Licensed: REAA 2008) - Highland Park",
          "photo": "https://s.oneroof.co.nz/image/c7/6d/c76dd7b88f06e745c62b27b98d5f1e88.jpg?x-oss-process=image/quality,q_80",
          "banner": "https://s.oneroof.co.nz/image/9a/01/9a0168ca52acd05f60736ce7377d459f.jpg?x-oss-process=image/quality,q_80"
        },
        "detail_available": true
      },
      {
        "id": 2551944,
        "uid": "x9GAv",
        "url": "https://www.oneroof.co.nz/property/auckland/hauraki/325-lake-road/x9GAv",
        "slug": "auckland/hauraki/325-lake-road/x9GAv",
        "code": "944459",
        "title": "Exceptional Design Meets Coastal Convenience",
        "listing_type": "sale",
        "listing_type_label": "Residential for sale",
        "property_type": "Townhouse",
        "category_id": 4,
        "price_text": "By negotiation",
        "currency": "NZD",
        "price_method_code": 2,
        "bedrooms": 3,
        "bathrooms": 2,
        "carparks": 1,
        "floor_area_sqm": 110,
        "floor_area_text": "110m²",
        "address": {
          "full": "325 Lake Road, Hauraki, North Shore City, Auckland",
          "street": "325 Lake Road",
          "suburb": "Hauraki",
          "suburb_id": 3068,
          "district": "North Shore City",
          "district_id": 226,
          "region": "Auckland",
          "region_id": 35,
          "latitude": -36.79776,
          "longitude": 174.7795868
        },
        "status": 1,
        "listed_at": "2026-11-11T16:00:00Z",
        "is_new_listing": true,
        "is_new_home": false,
        "is_coming_soon": false,
        "images": [
          "https://s.oneroof.co.nz/image/77/df/77df14e4a551dc7d5859db2478a9599a.jpg?x-oss-process=image/quality,q_80",
          "https://s.oneroof.co.nz/image/31/20/3120b6d298f1dbe92eb64dbfbd5e6da9.jpg?x-oss-process=image/quality,q_80",
          "https://s.oneroof.co.nz/image/6f/04/6f0441dbdf11553ef7c5473f35cd87bb.jpg?x-oss-process=image/quality,q_80"
        ],
        "image_groups": [
          {
            "key": "living room",
            "label": "Living Room",
            "images": [
              "https://s.oneroof.co.nz/image/31/20/3120b6d298f1dbe92eb64dbfbd5e6da9.jpg?x-oss-process=image/quality,q_80",
              "https://s.oneroof.co.nz/image/6f/04/6f0441dbdf11553ef7c5473f35cd87bb.jpg?x-oss-process=image/quality,q_80",
              "https://s.oneroof.co.nz/image/5d/2d/5d2dcd76a12fc8b7d8f0c9a01cdee06a.jpg?x-oss-process=image/quality,q_80"
            ]
          },
          {
            "key": "kitchen",
            "label": "Kitchen",
            "images": [
              "https://s.oneroof.co.nz/image/6f/04/6f0441dbdf11553ef7c5473f35cd87bb.jpg?x-oss-process=image/quality,q_80",
              "https://s.oneroof.co.nz/image/5d/2d/5d2dcd76a12fc8b7d8f0c9a01cdee06a.jpg?x-oss-process=image/quality,q_80",
              "https://s.oneroof.co.nz/image/3a/95/3a959f63f8d1db3489aa8619d8b55e43.jpg?x-oss-process=image/quality,q_80"
            ]
          },
          {
            "key": "bedroom",
            "label": "Bedroom",
            "images": [
              "https://s.oneroof.co.nz/image/6c/02/6c0226feab367659101459fec513399d.jpg?x-oss-process=image/quality,q_80",
              "https://s.oneroof.co.nz/image/45/05/45059b2fc837400c85822663e69a0944.jpg?x-oss-process=image/quality,q_80",
              "https://s.oneroof.co.nz/image/b7/7e/b77e46181647401a2212dd7ca094f3de.jpg?x-oss-process=image/quality,q_80"
            ]
          }
        ],
        "open_homes": [
          {
            "start": "2026-11-13T21:30:00Z",
            "end": "2026-11-13T22:00:00Z"
          },
          {
            "start": "2026-11-14T21:30:00Z",
            "end": "2026-11-14T22:00:00Z"
          }
        ],
        "agents": [
          {
            "id": 174,
            "name": "Aden Xu",
            "phone": "021 1773 898",
            "photo": "https://s.oneroof.co.nz/image/ce/cb/cecbb825eb812218dc832d4225f304ce.jpg?x-oss-process=image/quality,q_80"
          },
          {
            "id": 81803,
            "name": "Jeremy Mi",
            "phone": "021 229 9808",
            "photo": "https://s.oneroof.co.nz/image/36/19/3619257bbd29c83dbd07571f02a518bf.jpg?x-oss-process=image/quality,q_80"
          }
        ],
        "office": {
          "id": 10237,
          "name": "Barfoot & Thompson Ltd (Licensed: REAA 2008) - Takapuna",
          "photo": "https://s.oneroof.co.nz/image/c7/6d/c76dd7b88f06e745c62b27b98d5f1e88.jpg?x-oss-process=image/quality,q_80",
          "banner": "https://s.oneroof.co.nz/image/9a/01/9a0168ca52acd05f60736ce7377d459f.jpg?x-oss-process=image/quality,q_80"
        },
        "rateable_value": "$1,725,000",
        "building_age": "",
        "detail_available": true
      }
    ],
    "excluded_by_filters": 0,
    "pagination": {
      "page": 1,
      "per_page": 40,
      "total_items": 10298,
      "total_pages": 258,
      "next_page": 2
    }
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_4abe66f323e8455e8fcef4acf35340f4",
    "credits_charged": 1,
    "credits_remaining": 1834
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

Sample data

## What one call returns

A recorded run of `search`: the fields and shapes you will get, shortened to 3 items.

| # | id integer | uid string | url url | slug string | code string | title string | listing\_type string | listing\_type\_label string | property\_type string | category\_id integer | price\_text string | currency string | price\_method\_code integer | bedrooms integer | bathrooms integer | carparks integer | address object | status integer | listed\_at string | is\_new\_listing boolean | is\_new\_home boolean | is\_coming\_soon boolean | images string\[\] | image\_groups object\[\] | open\_homes object\[\] | agents object\[\] | office object | detail\_available boolean |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | 2552376 | glOfX | https://www.oneroof.co.nz/property/auckland/howick/lot-1-68-andrew-road/glOfX | auckland/howick/lot-1-68-andrew-road/glOfX | 944131 | Developer Says Sell - Must Be Sold! | sale | Residential for sale | House | 1 | By negotiation | NZD | 2 | 4 | 2 | 1 | {10 fields} | 1 | 2026-11-11T16:00:00Z | true | false | false | \[3 items\] | \[1 item\] | \[2 items\] | \[1 item\] | {4 fields} | true |
| 2 | 2552371 | VBtcJ | https://www.oneroof.co.nz/property/auckland/howick/lots-1-5-68-andrew-road/VBtcJ | auckland/howick/lots-1-5-68-andrew-road/VBtcJ | 944130 | Developer Says Sell - Must Be Sold! | sale | Residential for sale | House | 1 | By negotiation | NZD | 2 | 4 | 2 | 1 | {10 fields} | 1 | 2026-11-11T16:00:00Z | true | false | false | \[3 items\] | \[1 item\] | \[2 items\] | \[1 item\] | {4 fields} | true |
| 3 | 2551944 | x9GAv | https://www.oneroof.co.nz/property/auckland/hauraki/325-lake-road/x9GAv | auckland/hauraki/325-lake-road/x9GAv | 944459 | Exceptional Design Meets Coastal Convenience | sale | Residential for sale | Townhouse | 4 | By negotiation | NZD | 2 | 3 | 2 | 1 | {10 fields} | 1 | 2026-11-11T16:00:00Z | true | false | false | \[3 items\] | \[3 items\] | \[2 items\] | \[2 items\] | {4 fields} | true |

Recorded from our API · 3 items shown · 28 datapoints per item GET /v1/oneroof/search?type=sale&region\_id=35&bedrooms\[\]=3&bedrooms\[\]=4&sort=latest

28 datapoints

### Identity

-   id integer
-   uid string
-   slug string
-   title string
-   listing\_type string
-   listing\_type\_label string
-   property\_type string
-   category\_id integer
-   status integer

### Contact

-   url url
-   agents object\[\]

### Location

-   address object

### Reputation

-   images string\[\]
-   image\_groups object\[\]

### Price

-   price\_text string
-   currency string
-   price\_method\_code integer

### Other

-   code string
-   bedrooms integer
-   bathrooms integer
-   carparks integer
-   listed\_at string
-   is\_new\_listing boolean
-   is\_new\_home boolean
-   is\_coming\_soon boolean
-   open\_homes object\[\]
-   office object
-   detail\_available boolean

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/oneroof/search?type=sale&region_id=35&bedrooms[]=3&bedrooms[]=4&sort=latest" \
  -H "X-API-Key: $API_KEY"
```

OneRoof · 5 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters and an example request.

| Endpoint | Required parameters | Cost |
| --- | --- | --- |
| [GET `/v1/oneroof/agency`](https://perceptlayer.com/apis/oneroof/agency) | `id` | 1 credit |
| [GET `/v1/oneroof/agent`](https://perceptlayer.com/apis/oneroof/agent) | `id` | 1 credit |
| [GET `/v1/oneroof/autocomplete`](https://perceptlayer.com/apis/oneroof/autocomplete) | `q` +1 optional | 1 credit |
| [GET `/v1/oneroof/listing`](https://perceptlayer.com/apis/oneroof/listing) | `id` | 1 credit |
| [GET `/v1/oneroof/search`](https://perceptlayer.com/apis/oneroof/search) | `type` +19 optional | 1 credit |

Overview

## About the OneRoof API

## What you can get

The OneRoof API returns OneRoof property data as JSON through 5 endpoints.

-   **Search:** `search` takes a `type` (sale, rent or sold), with `region_id`, `district_id`, `suburb_id`, `bedrooms[]` (repeatable), `bathrooms`, `carparks`, `category` (1 to 9), `price_min`, `price_max`, `land_area_min`, `land_area_max`, `floor_area_min`, `floor_area_max`, `office_id`, `agent_id`, `new_homes`, `sort` (featured, latest, price\_desc, price\_asc or open\_home), `page` and `per_page`.
-   **Listings:** `listing` takes an `id`.
-   **Agents and agencies:** `agent` and `agency` take an `id`.
-   **Autocomplete:** `autocomplete` takes a `q`, with `type` (sale, rent or sold).

The recorded `search` for three- and four-bedroom homes for sale in region 35 (Auckland), sorted by `latest`, returns `items` with `id`, `uid`, `url`, `slug`, `code`, `title`, `listing_type`, `listing_type_label`, `property_type`, `category_id`, `price_text`, `currency`, `bedrooms`, `bathrooms`, `carparks`, `address`, `listed_at`, `is_new_listing`, `is_new_home`, `is_coming_soon`, `images`, `open_homes`, `agents` and `office`. It also returns `pagination` with `per_page`, `total_items` (10,298), `total_pages` and `next_page`.

## How a call works

Search a region: `GET /v1/oneroof/search?type=sale&region_id=35&bedrooms[]=3&bedrooms[]=4&sort=latest` with your key in the `X-API-Key` header. Each item's `id` is what `listing` takes, and each of its `agents` carries the `id` that `agent` takes. The `address` block holds `region_id`, `district_id` and `suburb_id`, the same names `search` filters on. Every successful call costs 1 credit; failed calls cost nothing.

Real estate JSON REST MCP

### More real estate APIs

[28Hse](https://perceptlayer.com/apis/28hse) [4zida](https://perceptlayer.com/apis/4zida) [591](https://perceptlayer.com/apis/591-house) [99.co](https://perceptlayer.com/apis/99co) [99acres](https://perceptlayer.com/apis/99acres) [Adondevivir](https://perceptlayer.com/apis/adondevivir) [Apartment List](https://perceptlayer.com/apis/apartment-list) [Apartments.com](https://perceptlayer.com/apis/apartments-com) [Aqar](https://perceptlayer.com/apis/aqar) [Aqarmap](https://perceptlayer.com/apis/aqarmap) [Argenprop](https://perceptlayer.com/apis/argenprop) [athome](https://perceptlayer.com/apis/athome)

Use cases

### Track new listings in Auckland or another region, sorted by \`latest\`

`` Use the OneRoof API to track new listings in Auckland or another region, sorted by `latest` `` 

### Pull recently sold homes with \`type=sold\` for comparables

`` Use the OneRoof API to pull recently sold homes with `type=sold` for comparables `` 

### Plan open home visits from \`open\_homes\`, or sort by \`open\_home\`

`` Use the OneRoof API to plan open home visits from `open_homes`, or sort by `open_home` `` 

### Follow an agent's or office's listings with \`agent\_id\` or \`office\_id\`

`` Use the OneRoof API to follow an agent's or office's listings with `agent_id` or `office_id` `` 

FAQ

## Questions

**Do I need a OneRoof account?**

No. You call this OneRoof API with your Perceptlayer key in the \`X-API-Key\` header, with no OneRoof login.

**How much does the OneRoof API cost?**

Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.

**What format are responses in?**

Every endpoint returns JSON, with no HTML parsing on your side.

**How do I filter by several bedroom counts?**

Repeat \`bedrooms\[\]\`, as in \`bedrooms\[\]=3&bedrooms\[\]=4\`.

**Should I build an OneRoof scraper instead?**

You can, but an OneRoof scraper is code you maintain: page changes break it, requests get blocked, and OneRoof's terms govern how you collect data. The OneRoof API gives you 5 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

## Try the OneRoof API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
