Real Estate
Bayleys logo

Bayleys API

bayleys.co.nz

Bayleys New Zealand property listings and listing details

Actions
5
Category
Real Estate
Login
Not required
Output
JSON

Call the Bayleys API

Submit a task, then poll the job until it settles. This example runs act_bayleys_co_nz_listing_detail.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_bayleys_co_nz_listing_detail",
    "params": {
      "listing_path": "commercial/auckland/auckland/510-mt-wellington-highway-mt-wellington-1907242"
    }
  }'

5 actions on bayleys.co.nz

Read

  • Listing Details

    act_bayleys_co_nz_listing_detailread1 credit / call

    Fetch a Bayleys NZ listing by its site path and return price, size, description, bathrooms, bedrooms, land size and usage.

    listing_path
    string · required
  • Property Listings

    act_bayleys_co_nz_property_listingsread1 credit / call

    Search Bayleys NZ property listings by keyword (location, listing id, or agent) and return listing cards with price, size, bedrooms, bathrooms and land size.

    keywords
    string · required
    page
    integer
    page_size
    integer
    property_type
    string
  • Rural Listing Detail

    act_bayleys_co_nz_rural_listing_detailread1 credit / call

    Get full Bayleys rural or lifestyle listing detail by listing id or listing URL, including description, agents, images, land area and sale method. Returns not_found for an unknown listing id.

    listing_id
    string · required
    listing_url
    string
  • Rural Search For Sale

    act_bayleys_co_nz_rural_search_for_saleread1 credit / call

    Search Bayleys New Zealand rural, farm and lifestyle properties currently for sale. Filter by region, district, town, property type and land area in hectares. Paginated.

    region
    string
    district
    string
    town
    string
    rural_type
    string
    min_land_area_ha
    number
    max_land_area_ha
    number
    page
    integer
    page_size
    integer
  • Rural Search Sold

    act_bayleys_co_nz_rural_search_soldread1 credit / call

    Search recently sold Bayleys New Zealand rural, farm and lifestyle properties. Filter by region, district, town, property type and land area in hectares. Paginated.

    region
    string
    district
    string
    town
    string
    rural_type
    string
    min_land_area_ha
    number
    max_land_area_ha
    number
    page
    integer
    page_size
    integer

Bayleys API questions

Is there an API for Bayleys?
Bayleys does not offer a public data API for this, but Anakin Wire provides 5 maintained endpoints for bayleys.co.nz. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Bayleys data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when bayleys.co.nz changes its markup, Anakin updates the action.
Do I need a Bayleys account?
No. Every Bayleys action listed here runs anonymously — no account and no credentials required.
What does the Bayleys API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Real Estate APIs

All Real Estate sites