# Property24 $1💰 Buy, Rent, Sell, Commercial Scraper (`abotapi/property24-scraper`) Actor

From $1/1K. Extract structured property listings from Property24, South Africa’s largest property portal. Search by location or use Property24 URLs. Get 50+ fields including price, beds, baths, sizes, GPS coordinates, photos, property details, and agent/agency information.

- **URL**: https://apify.com/abotapi/property24-scraper.md
- **Developed by:** [AbotAPI](https://apify.com/abotapi) (community)
- **Categories:** Real estate, Developer tools, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Property24 Scraper (South Africa)

Extract structured property listings from Property24, South Africa's largest property portal. Get price, bedrooms, bathrooms, floor and erf size, GPS coordinates, the full property overview, every photo, agent and agency details, and 50+ fields per listing. Two modes: search by location, or paste Property24 search and listing URLs directly.

### Why this scraper

- **More fields than other Property24 scrapers.** Includes GPS latitude and longitude, numeric floor and erf size, postal code, the complete grouped property overview (rooms, external features, building, security), nearby suburbs, listing date, and full multi-size photo URLs, on top of everything the well-known alternatives return.
- **Lower running cost.** A lean fetching pipeline keeps compute and bandwidth small, so you pay for residential bandwidth only on the pages that need it; turn detail fetching off for a search-only run that is far cheaper.
- **Better reliability.** Country-rotating Residential exits (South Africa first) with a backup pool, health monitoring, and automatic recovery keep runs completing even when individual exits are throttled.
- **Two ways to target data.** Search by any suburb, city or province name (resolved automatically), or paste Property24 URLs (search pages paginate forward, single-listing URLs are fetched directly).
- **Honest filtering.** Price, bedroom, property type, sort and auction filters are applied both in the search URL and on the returned data, so the results actually match what you asked for.
- **Clean, flat output.** One record per listing, ready for spreadsheets, BI tools, ETL pipelines, and CRMs.

### Feature comparison

| Capability | This scraper | Typical alternative |
| --- | --- | --- |
| Search by location name | Yes (auto-resolved) | URL only on some |
| Direct URL mode (search + single listing) | Yes | Partial |
| GPS latitude / longitude | Yes | Often missing |
| Numeric floor size and erf size | Yes | Text only or missing |
| Full grouped property overview | Yes | Partial |
| All photos (multi-size URLs) | Yes | Yes |
| Agent and agency details | Yes | Yes |
| Country-rotating residential + backup failover | Yes | No |
| Automatic proxy failover | Yes | No |
| Price / bedroom / type filters | Yes (verified narrowing) | Varies |

### Data you get

> Sample shape, values are illustrative placeholders, not from a live listing.

| Field | Example |
| --- | --- |
| listingNumber | `100000001` |
| url | `https://www.property24.com/for-sale/sample-suburb/sample-city/western-cape/0000/100000001` |
| listingType | `For Sale` |
| title | `3 Bedroom House for sale in Sample Suburb` |
| price | `2600000` |
| displayPrice | `R 2 600 000` |
| currency | `ZAR` |
| priceOnApplication | `false` |
| bedrooms | `3` |
| bathrooms | `2` |
| garages | `2` |
| parkingSpaces | `4` |
| floorSize | `248` |
| erfSize | `554` |
| propertyType | `House` |
| suburbName | `Sample Suburb` |
| cityName | `Sample City` |
| provinceName | `Western Cape` |
| suburbId / cityId / provinceId | `0000` / `0000` / `9` |
| latitude / longitude | `-33.0000` / `18.0000` |
| descriptionHeader | `Sample headline for the listing.` |
| description | `Full listing description text appears here when fetchDetails is on.` |
| agencyName | `Sample Agency` |
| agencyId | `00000` |
| agencyLogoUrl | `https://images.prop24.com/000000000/Fit450x225` |
| agentName | `Agent Name` |
| agentId | `000000` |
| contacts | `[{ "id": 0, "name": "Agent Name", "photoUrl": "...", "profileUrl": "...", "hasContactNumber": true }]` |
| keyFeatures | `["Bedrooms 3", "Bathrooms 2", "Garden"]` |
| propertyOverview | `{ "Listing Number": "100000001", "Type of Property": "House", "Erf Size": "554 m2" }` |
| details | `[{ "category": "Rooms", "categoryItems": { "Bedrooms": "3" } }]` |
| photos | `[{ "imageIdentifier": "000000000", "thumbnailUrl": "...", "imageUrl": "...", "largeImageUrl": "..." }]` |
| photoCount | `21` |
| nearbySuburbs | `["Sample Suburb A", "Sample Suburb B"]` |
| listingMedia | `{ "youTubeVideoTourId": "xxxxxxxxxxx" }` |
| onShow / auction / repossessed | `false` / `false` / `false` |
| datePosted | `2026-01-01` |
| scrapedAt | `2026-01-01T00:00:00.000Z` |

Detail-only fields (GPS, full description, photos, agent and agency, property overview, nearby suburbs) populate when **Fetch Detail Pages** is on.

### How to use

**Search by location (basic)**

```json
{
  "mode": "search",
  "listingType": "for-sale",
  "locations": ["Cape Town"],
  "maxListings": 50
}
````

**Search with filters**

```json
{
  "mode": "search",
  "listingType": "for-sale",
  "locations": ["Sandton", "Umhlanga"],
  "propertyType": "house",
  "minPrice": 1000000,
  "maxPrice": 3000000,
  "minBedrooms": 3,
  "sortBy": "price-asc",
  "maxListings": 200,
  "fetchDetails": true
}
```

**Rentals**

```json
{
  "mode": "search",
  "listingType": "to-rent",
  "locations": ["Cape Town"],
  "maxListings": 100
}
```

**Direct URLs (search pages and single listings, mixed)**

```json
{
  "mode": "url",
  "urls": [
    "https://www.property24.com/for-sale/cape-town/western-cape/432",
    "https://www.property24.com/for-sale/belhar/cape-town/western-cape/8132/117073882"
  ],
  "maxPages": 3
}
```

### Input parameters

| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| mode | string | `search` | `search` builds URLs from the fields below; `url` scrapes the URLs you paste. |
| listingType | string | `for-sale` | `for-sale` (Buy), `to-rent` (Rent), `commercial-for-sale`, or `commercial-to-rent` (search mode). The commercial options search Property24's separate commercial-property vertical. |
| locations | array | `["Cape Town"]` | Suburb, city or province names (search mode). Resolved automatically. |
| propertyType | string | `any` | Narrow to house, apartment, townhouse, vacant land, farm, commercial, or industrial. |
| minPrice / maxPrice | integer | none | Price range in Rand (search mode). |
| minBedrooms / maxBedrooms | integer | none | Bedroom range (search mode). |
| minBathrooms | integer | none | Minimum bathrooms (search mode). |
| parkingSpaces | integer | none | Minimum parking spaces or garages (search mode). |
| minErfSize / minFloorSize | integer | none | Minimum erf (land) / floor size in m² (search mode). |
| hasPool | boolean | `false` | Only listings with a swimming pool. |
| hasGarden | boolean | `false` | Only listings with a garden. |
| hasFlatlet | boolean | `false` | Only listings with a flatlet / granny flat. |
| petFriendly | boolean | `false` | Only pet-friendly listings. |
| securityEstate | boolean | `false` | Only listings inside a security estate. |
| repossessed | boolean | `false` | Only bank-repossessed properties. |
| retirement | boolean | `false` | Only retirement listings. |
| sortBy | string | `default` | `newest`, `price-asc`, `price-desc`, or `size`. |
| onShowOnly | boolean | `false` | Only listings with a scheduled show day. |
| auctionsOnly | boolean | `false` | Only properties going to auction. |
| urls | array | example | Property24 URLs to scrape (url mode). |
| fetchDetails | boolean | `true` | Open each listing for GPS, full description, photos, agent, agency, and the property overview. |
| maxPages | integer | `1` | Max result pages per search (about 45 listings per page). |
| maxListings | integer | `0` | Max listings across all searches. `0` (default) for unlimited. |
| proxy | object | Apify Residential | Connection settings. Residential is the default and recommended; Datacenter is not recommended (Property24 rejects most Datacenter connections). |

### Send results into your apps (MCP connectors)

Optionally pipe the scraped results into the apps you already use, via Model Context Protocol (MCP) connectors. This is an extra delivery step **after** the scrape — the Apify dataset is never changed.

**What gets written to the connector:** a condensed, human-readable **summary** of each record — not the full JSON. Each item becomes one entry with a **title** and its key fields flattened to plain text. The **complete record always stays in the Apify dataset**.

1. Authorize a connector once under **Apify → Settings → Integrations** (Notion, Linear, Airtable, or Apify).
2. Select it in the **"Pipe results into your apps"** input field. (If the picker is empty, you haven't authorized a connector yet.)
3. For **Notion**, also set `notionParentPageUrl` to the page where items should be created.

The connection is mediated by Apify's MCP proxy, so this actor never sees your third-party credentials. Leave the field empty to skip.

### Output example

> Sample shape, values are illustrative placeholders, not from a live listing.

```json
{
  "listingNumber": "100000001",
  "url": "https://www.property24.com/for-sale/sample-suburb/sample-city/western-cape/0000/100000001",
  "listingType": "For Sale",
  "title": "3 Bedroom House for sale in Sample Suburb",
  "price": 2600000,
  "displayPrice": "R 2 600 000",
  "currency": "ZAR",
  "priceOnApplication": false,
  "bedrooms": 3,
  "bathrooms": 2,
  "garages": 2,
  "floorSize": 248,
  "erfSize": 554,
  "propertyType": "House",
  "suburbName": "Sample Suburb",
  "cityName": "Sample City",
  "provinceName": "Western Cape",
  "provinceId": "9",
  "latitude": -33.0000,
  "longitude": 18.0000,
  "descriptionHeader": "Sample headline for the listing.",
  "description": "Full listing description text appears here when fetchDetails is on.",
  "agencyName": "Sample Agency",
  "agentName": "Agent Name",
  "contacts": [{ "id": 0, "name": "Agent Name", "hasContactNumber": true }],
  "keyFeatures": ["Bedrooms 3", "Bathrooms 2", "Garden"],
  "propertyOverview": { "Type of Property": "House", "Erf Size": "554 m2" },
  "photos": [{ "imageIdentifier": "000000000", "imageUrl": "https://images.prop24.com/000000000/Ensure960x540" }],
  "photoCount": 21,
  "datePosted": "2026-01-01",
  "scrapedAt": "2026-01-01T00:00:00.000Z"
}
```

### Plan and proxy notes

- **Residential proxy (default, recommended)** is required for reliable results. It needs an Apify plan that includes Residential proxy. The actor rotates Residential exits across countries (South Africa first) and uses a backup pool as a last resort, so runs keep completing even under throttling.
- **Datacenter proxy is not recommended.** Property24 rejects most Datacenter connections, especially on listing detail pages, so runs may be slow or return fewer details. The actor will warn you and still attempt to fail over to Residential, but selecting Residential from the start is far more reliable.
- For the lowest cost, keep `fetchDetails` off to collect search-result fields only, then re-run with `fetchDetails` on for the listings you care about.

### Pricing

This actor uses pay-per-event pricing:

| Event | Price (USD) | When it is charged |
| --- | --- | --- |
| Actor start | $0.08 | Once per run, when it starts and initializes. |
| Listing result | $0.003 | Once per listing returned to the dataset (search-result fields). |
| Listing detail enrichment | $0.0008 | Once per listing whose detail page is fetched. Only charged when `fetchDetails` is on. |

A search-result-only run (`fetchDetails` off) costs `$0.08 + $0.003 per listing`. A detail-enriched run adds `$0.0008 per listing`. Example: 50 listings with details ≈ `$0.08 + 50 × $0.0038 = $0.27`.

# Actor input Schema

## `mode` (type: `string`):

How to find listings. 'Search by Location' builds Property24 search URLs from the fields below. 'Direct URLs' scrapes the Property24 search or listing URLs you paste.

## `listingType` (type: `string`):

Which Property24 vertical to search (Search mode only). Buy and Rent are residential; the two Commercial options search Property24's separate commercial-property vertical.

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

Place names to search (Search mode only). Type a suburb, city or province, e.g. 'Cape Town', 'Sandton', 'Western Cape', 'Umhlanga'. Each name is resolved to the matching Property24 area automatically. Multiple locations supported.

## `propertyType` (type: `string`):

Narrow to one property type (Search mode only). Applied to results.

## `minPrice` (type: `integer`):

Minimum price in Rand (Search mode only). Applied both in the search URL and to results.

## `maxPrice` (type: `integer`):

Maximum price in Rand (Search mode only). Applied both in the search URL and to results.

## `minBedrooms` (type: `integer`):

Minimum number of bedrooms (Search mode only). Applied both in the search URL and to results.

## `maxBedrooms` (type: `integer`):

Maximum number of bedrooms (Search mode only). Applied to results.

## `sortBy` (type: `string`):

Result ordering (Search mode only).

## `onShowOnly` (type: `boolean`):

Only listings with a scheduled show day (Search mode only).

## `auctionsOnly` (type: `boolean`):

Only properties going to auction (Search mode only).

## `minBathrooms` (type: `integer`):

Minimum number of bathrooms (Search mode only). Applied in the search URL and to results.

## `parkingSpaces` (type: `integer`):

Minimum parking spaces or garages (Search mode only).

## `minErfSize` (type: `integer`):

Minimum erf (land) size in square metres (Search mode only).

## `minFloorSize` (type: `integer`):

Minimum floor size in square metres (Search mode only).

## `hasPool` (type: `boolean`):

Only listings with a swimming pool (Search mode only).

## `hasGarden` (type: `boolean`):

Only listings with a garden (Search mode only).

## `hasFlatlet` (type: `boolean`):

Only listings with a flatlet / granny flat (Search mode only).

## `petFriendly` (type: `boolean`):

Only pet-friendly listings (Search mode only).

## `securityEstate` (type: `boolean`):

Only listings inside a security estate (Search mode only).

## `repossessed` (type: `boolean`):

Only bank-repossessed properties (Search mode only).

## `retirement` (type: `boolean`):

Only retirement listings (Search mode only).

## `urls` (type: `array`):

Property24 search-result or single-listing URLs to scrape (URL mode only). Multi-URL supported. Filter fields are ignored in this mode. For search URLs, pagination starts at the page in the URL and walks forward.

## `fetchDetails` (type: `boolean`):

Open each listing to add GPS coordinates, full description, all photos, agent and agency details, the full property overview (erf and floor size, rooms, features, security), and points of interest. Turn off for a faster, cheaper run with search-result fields only.

## `maxPages` (type: `integer`):

Maximum result pages to paginate per search (about 45 listings per page). Lower it for quick test runs.

## `maxListings` (type: `integer`):

Maximum listings to return across all searches. Set 0 for unlimited (the default). For large pulls, add many locations or price bands; a single Property24 search exposes a finite number of pages.

## `proxy` (type: `object`):

Residential proxy is required for reliable results. Property24 rejects most Datacenter connections (especially on listing detail pages), so Datacenter is not recommended. The actor rotates Residential exits across countries (South Africa first) and uses a backup pool when needed. Residential proxy needs a paid Apify plan.

## `mcpConnectors` (type: `array`):

Optionally send the scraped results into the apps you already use, via Model Context Protocol (MCP) connectors. Authorize a connector once under Apify → Settings → Integrations, then select it here. The connector receives a condensed, human-readable summary per item (title + key fields), not the full JSON — the complete record stays in the dataset. Leave empty to skip. Supported: Notion (https://mcp.notion.com/mcp), Linear (https://mcp.linear.app/sse), Airtable (https://mcp.airtable.com/mcp), Apify (https://mcp.apify.com).

## `notionParentPageUrl` (type: `string`):

URL (or id) of the Notion page under which item pages are created. Required to enable the Notion export; ignored by other connectors.

## `maxNotifyListings` (type: `integer`):

Cap on items written to each connector per run. Does not affect the dataset.

## Actor input object example

```json
{
  "mode": "search",
  "listingType": "for-sale",
  "locations": [
    "Cape Town"
  ],
  "propertyType": "any",
  "sortBy": "default",
  "onShowOnly": false,
  "auctionsOnly": false,
  "hasPool": false,
  "hasGarden": false,
  "hasFlatlet": false,
  "petFriendly": false,
  "securityEstate": false,
  "repossessed": false,
  "retirement": false,
  "urls": [
    "https://www.property24.com/for-sale/cape-town/western-cape/432"
  ],
  "fetchDetails": true,
  "maxPages": 1,
  "maxListings": 0,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "maxNotifyListings": 50
}
```

# Actor output Schema

## `overview` (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 = {
    "locations": [
        "Cape Town"
    ],
    "urls": [
        "https://www.property24.com/for-sale/cape-town/western-cape/432"
    ],
    "proxy": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("abotapi/property24-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 = {
    "locations": ["Cape Town"],
    "urls": ["https://www.property24.com/for-sale/cape-town/western-cape/432"],
    "proxy": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("abotapi/property24-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "locations": [
    "Cape Town"
  ],
  "urls": [
    "https://www.property24.com/for-sale/cape-town/western-cape/432"
  ],
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call abotapi/property24-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=abotapi/property24-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Property24 $1💰 Buy, Rent, Sell, Commercial Scraper",
        "description": "From $1/1K. Extract structured property listings from Property24, South Africa’s largest property portal. Search by location or use Property24 URLs. Get 50+ fields including price, beds, baths, sizes, GPS coordinates, photos, property details, and agent/agency information.",
        "version": "1.0",
        "x-build-id": "yJtjcK2dHNbZFdQcY"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/abotapi~property24-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-abotapi-property24-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/abotapi~property24-scraper/runs": {
            "post": {
                "operationId": "runs-sync-abotapi-property24-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/abotapi~property24-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-abotapi-property24-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "mode"
                ],
                "properties": {
                    "mode": {
                        "title": "Search Mode",
                        "enum": [
                            "search",
                            "url"
                        ],
                        "type": "string",
                        "description": "How to find listings. 'Search by Location' builds Property24 search URLs from the fields below. 'Direct URLs' scrapes the Property24 search or listing URLs you paste.",
                        "default": "search"
                    },
                    "listingType": {
                        "title": "Listing Type",
                        "enum": [
                            "for-sale",
                            "to-rent",
                            "commercial-for-sale",
                            "commercial-to-rent"
                        ],
                        "type": "string",
                        "description": "Which Property24 vertical to search (Search mode only). Buy and Rent are residential; the two Commercial options search Property24's separate commercial-property vertical.",
                        "default": "for-sale"
                    },
                    "locations": {
                        "title": "Locations",
                        "type": "array",
                        "description": "Place names to search (Search mode only). Type a suburb, city or province, e.g. 'Cape Town', 'Sandton', 'Western Cape', 'Umhlanga'. Each name is resolved to the matching Property24 area automatically. Multiple locations supported.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "propertyType": {
                        "title": "Property Type",
                        "enum": [
                            "any",
                            "house",
                            "apartment",
                            "townhouse",
                            "vacant-land",
                            "farm",
                            "commercial",
                            "industrial"
                        ],
                        "type": "string",
                        "description": "Narrow to one property type (Search mode only). Applied to results.",
                        "default": "any"
                    },
                    "minPrice": {
                        "title": "Min Price (ZAR)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Minimum price in Rand (Search mode only). Applied both in the search URL and to results."
                    },
                    "maxPrice": {
                        "title": "Max Price (ZAR)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum price in Rand (Search mode only). Applied both in the search URL and to results."
                    },
                    "minBedrooms": {
                        "title": "Min Bedrooms",
                        "minimum": 0,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Minimum number of bedrooms (Search mode only). Applied both in the search URL and to results."
                    },
                    "maxBedrooms": {
                        "title": "Max Bedrooms",
                        "minimum": 0,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Maximum number of bedrooms (Search mode only). Applied to results."
                    },
                    "sortBy": {
                        "title": "Sort By",
                        "enum": [
                            "default",
                            "newest",
                            "price-asc",
                            "price-desc",
                            "size"
                        ],
                        "type": "string",
                        "description": "Result ordering (Search mode only).",
                        "default": "default"
                    },
                    "onShowOnly": {
                        "title": "On Show Only",
                        "type": "boolean",
                        "description": "Only listings with a scheduled show day (Search mode only).",
                        "default": false
                    },
                    "auctionsOnly": {
                        "title": "Auctions Only",
                        "type": "boolean",
                        "description": "Only properties going to auction (Search mode only).",
                        "default": false
                    },
                    "minBathrooms": {
                        "title": "Min Bathrooms",
                        "minimum": 0,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Minimum number of bathrooms (Search mode only). Applied in the search URL and to results."
                    },
                    "parkingSpaces": {
                        "title": "Min Parking Spaces",
                        "minimum": 0,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Minimum parking spaces or garages (Search mode only)."
                    },
                    "minErfSize": {
                        "title": "Min Erf Size (m²)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Minimum erf (land) size in square metres (Search mode only)."
                    },
                    "minFloorSize": {
                        "title": "Min Floor Size (m²)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Minimum floor size in square metres (Search mode only)."
                    },
                    "hasPool": {
                        "title": "Has Pool",
                        "type": "boolean",
                        "description": "Only listings with a swimming pool (Search mode only).",
                        "default": false
                    },
                    "hasGarden": {
                        "title": "Has Garden",
                        "type": "boolean",
                        "description": "Only listings with a garden (Search mode only).",
                        "default": false
                    },
                    "hasFlatlet": {
                        "title": "Has Flatlet",
                        "type": "boolean",
                        "description": "Only listings with a flatlet / granny flat (Search mode only).",
                        "default": false
                    },
                    "petFriendly": {
                        "title": "Pet Friendly",
                        "type": "boolean",
                        "description": "Only pet-friendly listings (Search mode only).",
                        "default": false
                    },
                    "securityEstate": {
                        "title": "In Security Estate",
                        "type": "boolean",
                        "description": "Only listings inside a security estate (Search mode only).",
                        "default": false
                    },
                    "repossessed": {
                        "title": "Repossessed Only",
                        "type": "boolean",
                        "description": "Only bank-repossessed properties (Search mode only).",
                        "default": false
                    },
                    "retirement": {
                        "title": "Retirement Only",
                        "type": "boolean",
                        "description": "Only retirement listings (Search mode only).",
                        "default": false
                    },
                    "urls": {
                        "title": "Property24 URLs",
                        "type": "array",
                        "description": "Property24 search-result or single-listing URLs to scrape (URL mode only). Multi-URL supported. Filter fields are ignored in this mode. For search URLs, pagination starts at the page in the URL and walks forward.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "fetchDetails": {
                        "title": "Fetch Detail Pages",
                        "type": "boolean",
                        "description": "Open each listing to add GPS coordinates, full description, all photos, agent and agency details, the full property overview (erf and floor size, rooms, features, security), and points of interest. Turn off for a faster, cheaper run with search-result fields only.",
                        "default": true
                    },
                    "maxPages": {
                        "title": "Max Pages Per Search",
                        "minimum": 1,
                        "maximum": 200,
                        "type": "integer",
                        "description": "Maximum result pages to paginate per search (about 45 listings per page). Lower it for quick test runs.",
                        "default": 1
                    },
                    "maxListings": {
                        "title": "Max Listings",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum listings to return across all searches. Set 0 for unlimited (the default). For large pulls, add many locations or price bands; a single Property24 search exposes a finite number of pages.",
                        "default": 0
                    },
                    "proxy": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Residential proxy is required for reliable results. Property24 rejects most Datacenter connections (especially on listing detail pages), so Datacenter is not recommended. The actor rotates Residential exits across countries (South Africa first) and uses a backup pool when needed. Residential proxy needs a paid Apify plan."
                    },
                    "mcpConnectors": {
                        "title": "Pipe results into your apps (optional)",
                        "type": "array",
                        "description": "Optionally send the scraped results into the apps you already use, via Model Context Protocol (MCP) connectors. Authorize a connector once under Apify → Settings → Integrations, then select it here. The connector receives a condensed, human-readable summary per item (title + key fields), not the full JSON — the complete record stays in the dataset. Leave empty to skip. Supported: Notion (https://mcp.notion.com/mcp), Linear (https://mcp.linear.app/sse), Airtable (https://mcp.airtable.com/mcp), Apify (https://mcp.apify.com)."
                    },
                    "notionParentPageUrl": {
                        "title": "Notion parent page (Notion connector only)",
                        "type": "string",
                        "description": "URL (or id) of the Notion page under which item pages are created. Required to enable the Notion export; ignored by other connectors."
                    },
                    "maxNotifyListings": {
                        "title": "Max items to export per connector",
                        "minimum": 1,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "Cap on items written to each connector per run. Does not affect the dataset.",
                        "default": 50
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
