Discover/Bayleys API
live

Bayleys APIbayleys.co.nz

Access Bayleys NZ property listings, agent profiles, office details, auctions, news, and magazines via 12 structured API endpoints.

Endpoint health
verified 4d ago
get_agent_profile
get_office_profile
get_news
search_residential_properties
get_upcoming_auctions
12/12 passing latest checkself-healing
Endpoints
12
Updated
26d ago

What is the Bayleys API?

The Bayleys NZ API covers 12 endpoints that expose property listings, agent profiles, office directories, upcoming auctions, news articles, and publications from bayleys.co.nz. You can query search_properties with filters for bedrooms, bathrooms, price range, and location keywords, then drill into any individual listing using get_property_details with the full URL slug. Each listing returns fields including address, saleInfo, images, icons, and features.

Try it
Page number for pagination.
Minimum number of bedrooms.
Search keywords (e.g. location name, listing ID).
Number of bathrooms.
Number of car parks.
Maximum price filter.
Minimum price filter.
Number of results per page.
Region ID to filter by.
Sort order type.
Suburb IDs to filter by.
District ID to filter by.
Property type filter. Comma-separated for multiple.
api.parse.bot/scraper/4574cfaa-dab1-4954-88c6-8df3ecce0f46/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/4574cfaa-dab1-4954-88c6-8df3ecce0f46/search_properties?page=1&bedrooms=3&keywords=Auckland&bathrooms=2&car_parks=1&max_price=5000000&min_price=100000&page_size=10&region_id=1&order_type=LatestListing&suburb_ids=457&district_id=38&search_types=Residential' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace bayleys-co-nz-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: Bayleys Real Estate API — bounded, re-runnable; every call capped."""
from parse_apis.bayleys_real_estate_api import Bayleys, SearchType, Order, ListingNotFound

client = Bayleys()

# Search residential listings sorted by latest, capped at 3 items
for listing in client.listings.search(
    search_types=SearchType.RESIDENTIAL,
    keywords="Auckland",
    order_type=Order.LATEST_LISTING,
    limit=3,
):
    print(listing.heading, listing.marketing_address, listing.sale_info)

# Drill into one listing's icons (beds/baths/parking)
listing = client.listings.search(keywords="Devonport", limit=1).first()
if listing:
    print(listing.heading, listing.region, listing.district)
    for icon in listing.listing_icons:
        print(f"  {icon.name}: {icon.value}")

# Browse upcoming auctions
for auction in client.listings.list_auctions(limit=3):
    print(auction.heading, auction.auction_date, auction.event_location)

# Search agents and browse their listings
agent = client.agents.search(keywords="Alice", limit=1).first()
if agent:
    print(agent.first_name, agent.last_name, agent.specialty)
    for ag_listing in agent.listings.list(limit=2):
        print(f"  {ag_listing.heading} - {ag_listing.marketing_address}")

# Search offices
for office in client.offices.search(keywords="Auckland", limit=3):
    print(office.branch_name, office.address, office.number_of_listings)

# Get full listing details by slug
detail = client.listingdetails.get(slug="/listings/residential/auckland/north-shore/7a-matai-road-devonport-1470838")
print(detail.listing_id)

# Handle a not-found listing gracefully
try:
    results = client.listings.search(keywords="nonexistent-xyz-99999", limit=1).first()
    if results:
        print(results.heading)
except ListingNotFound as exc:
    print(f"Listing not found: {exc.slug}")

print("exercised: listings.search / listings.list_auctions / agents.search / agent.listings.list / offices.search / listingdetails.get / ListingNotFound")
All endpoints · 12 totalmissing one? ·

Search for property listings with filters including location, price range, bedrooms, and property type. Returns paginated results ordered by the specified sort. Supports all property types (Residential, Commercial, Rural, Lifestyle, Business) via comma-separated search_types. Each result includes address, sale info, images, icons (beds/baths/parking), and features.

Input
ParamTypeDescription
pageintegerPage number for pagination.
bedroomsintegerMinimum number of bedrooms.
keywordsstringSearch keywords (e.g. location name, listing ID).
bathroomsintegerNumber of bathrooms.
car_parksintegerNumber of car parks.
max_priceintegerMaximum price filter.
min_priceintegerMinimum price filter.
page_sizeintegerNumber of results per page.
region_idintegerRegion ID to filter by.
order_typestringSort order type.
suburb_idsstringSuburb IDs to filter by.
district_idintegerDistrict ID to filter by.
search_typesstringProperty type filter. Comma-separated for multiple.
Response
{
  "type": "object",
  "fields": {
    "page": "current page number",
    "items": "array of property listing summaries",
    "pageSize": "results per page",
    "totalItems": "total number of matching listings",
    "numberOfPages": "total pages available"
  },
  "sample": {
    "data": {
      "page": 1,
      "items": [
        {
          "region": "Waikato",
          "suburb": "Hamilton East",
          "heading": "Spacious FURNISHED Apartment",
          "district": "Hamilton",
          "latitude": -37.7972835,
          "saleInfo": "For Rent NZ$500",
          "heroImage": "2431038_1.jpg",
          "listingId": 2431038,
          "longitude": 175.292101,
          "auctionDate": null,
          "listingIcons": [
            {
              "name": "bed",
              "value": "2",
              "suffix": null
            }
          ],
          "eventLocation": null,
          "listingFeatures": [
            "Furnishings",
            "Layout",
            "Parking"
          ],
          "marketingAddress": "123 Main St, Springfield, IL 62704",
          "listingTypeDescription": "Rental"
        }
      ],
      "pageSize": 10,
      "totalItems": 4042,
      "numberOfPages": 0
    },
    "status": "success"
  }
}

About the Bayleys API

Property Search and Listing Details

The search_properties endpoint accepts filters for min_price, max_price, bedrooms, bathrooms, car_parks, and free-text keywords. Results are paginated and each item in the items array includes listingId, address, saleInfo, images, icons, and features. A convenience endpoint, search_residential_properties, applies the Residential type filter automatically. Note that numberOfPages may return 0 in some responses due to a known upstream issue; use totalItems and pageSize to calculate page count independently.

For full listing details, get_property_details requires the complete slug path — including region, district, address, and listing ID segments — and returns a listing object with address, description, agents, images, and sale information, alongside an office object for the listing branch.

Agents and Offices

search_people accepts keywords and region_id to locate agents, returning personnelId, name, position, contact details, and branch information. From there, get_agent_profile fetches a full bio, awards, and current listings by slug in the format /agents/{firstname}-{lastname}-{personnelId}. The get_agent_listings endpoint takes a numeric agent_id and returns paginated property summaries for that agent.

Office lookup follows the same pattern: search_offices returns branchId, branchName, address, telephone, email, and numberOfListings. get_office_profile and get_office_listings accept a slug or office_id respectively and return full office details alongside current listing summaries.

Auctions, News, and Magazines

get_upcoming_auctions returns scheduled auction listings across all property types, with each item including auctionDate and eventLocation. get_news supports tag-based filtering (e.g., Residential, Commercial) and returns article objects with title, description, url, tags, and publishedDate. get_magazines returns Bayleys publication issues with issueDate, title, description, image, and url, along with pagingMetadata that includes totalRecords, currentPage, pageSize, and pageCount.

Reliability & maintenanceVerified

The Bayleys API is a managed, monitored endpoint for bayleys.co.nz — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when bayleys.co.nz changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official bayleys.co.nz API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
4d ago
Latest check
12/12 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a property search tool filtered by bedroom count, price range, and location using search_properties.
  • Display upcoming auction schedules with dates and event locations from get_upcoming_auctions.
  • Create an agent directory that surfaces contact details and current listings per agent via search_people and get_agent_listings.
  • Track listing counts per Bayleys office across New Zealand using search_offices and the numberOfListings field.
  • Aggregate Bayleys market commentary and reports by tag using get_news with the tags filter.
  • Embed Bayleys magazine covers and issue links in a publications feed using get_magazines response fields.
  • Sync a CRM with full property details, agent assignments, and office data by chaining search_properties, get_property_details, and get_agent_profile.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Bayleys have an official public developer API?+
Bayleys does not publish a public developer API or documentation portal for third-party access to its listing data.
How do I filter property searches by type — for example, residential only?+
search_residential_properties applies the Residential type filter automatically and accepts page and page_size parameters. For other property types, use search_properties with a relevant keywords value. The response items array includes saleInfo and features fields that further describe each listing.
Why does `numberOfPages` sometimes return 0?+
This is a known upstream issue affecting several paginated endpoints including search_properties, get_agent_listings, and get_upcoming_auctions. To determine total pages, divide totalItems by pageSize and round up. The totalItems field is reliably populated.
Does the API cover sold or historical listings?+
Not currently. The endpoints return active listings only — search_properties, get_agent_listings, and get_office_listings all reflect current inventory. You can fork this API on Parse and revise it to add an endpoint targeting Bayleys' sold properties pages.
Can I retrieve listings filtered by a specific geographic region ID?+
search_people and search_offices both accept a region_id parameter for region-scoped results. The get_agent_profile response includes a searchContext object with region and property type reference data that can be used to identify valid region IDs. Direct region filtering on search_properties is not currently exposed as a named parameter; keywords can be used to target a location by name. You can fork this API on Parse and revise it to add a dedicated region filter parameter to the property search endpoint.
Page content last updated . Spec covers 12 endpoints from bayleys.co.nz.
Related APIs in Real EstateSee all →
realcommercial.com.au API
Search commercial property listings across Australia, view detailed property information, and stay updated with the latest real estate market news all from one platform. Find investment opportunities, compare properties, and read industry insights to make informed decisions in the commercial property market.
propertypal.com API
Search and browse thousands of properties across Northern Ireland including rentals, sales, and commercial listings while accessing agent details, price trends, and market news. Get comprehensive property information, open viewing schedules, and real estate insights all in one place.
trademe.co.nz API
Search and browse residential properties for sale across New Zealand's largest property marketplace, accessing details like price, location, bedrooms, bathrooms, and property size. Discover listings by region, district, or suburb using the integrated localities lookup to filter your search.
domain.com.au API
Search and compare property listings for sale, rent, or sold properties across Australia, view detailed property information and agent profiles, and explore suburb insights to make informed real estate decisions. Access comprehensive data on agents, neighborhoods, and properties all in one place.
realtor.com API
Search millions of real estate listings on Realtor.com, view detailed property information, find qualified agents in your area, and access market analytics to understand pricing trends. Get location suggestions and property insights all in one place to help you make informed decisions about buying, selling, or investing in real estate.
rew.ca API
Search rental and for-sale properties across Canada, get detailed listing information, explore neighbourhoods, and find real estate agents in your area. Access property details, agent profiles, and neighbourhood data all in one place.
realestate.com.au API
Search and retrieve property listing data from realestate.com.au, including listings for sale and rent, detailed property information, and nearby schools for any location across Australia.
batdongsan.com.vn API
Search and browse property listings for sale or rent across Vietnam's largest real estate marketplace, view detailed property information, explore development projects, and stay updated with the latest real estate news. Access comprehensive real estate data including property specifics, project details, and market insights all in one place.