# Property24 Scraper (`crawlerbros/property24-scraper`) Actor

Scrape Property24.com - South Africa's largest property portal. Search for-sale and to-rent listings by province, property type, price, and bedrooms/bathrooms, or fetch full listing detail pages: description, agent/agency, exact address, coordinates, levies/rates, and room-by-room features.

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

## Pricing

from $3.00 / 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.
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 web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

Scrape South Africa's largest property portal, [Property24](https://www.property24.com) — for-sale and to-rent listings across every province, property type (house, apartment, townhouse, vacant land, farm, commercial, industrial), price range, and bedroom/bathroom count. Fetch search results in bulk, or pull full listing detail pages: description, agent/agency contact, exact address, coordinates, levies/rates, and room-by-room features. No login, no cookies, no paid API key.

### What this actor does

- **Two modes:** `search` (browse/filter listings) and `byUrls` (exact lookup by listing URL)
- **All 9 South African provinces** — Gauteng, Western Cape, KwaZulu-Natal, Eastern Cape, Free State, Limpopo, Mpumalanga, North West, Northern Cape
- **8 property types** — house, apartment/flat, townhouse, vacant land/plot, farm, commercial, industrial, or any
- **For sale or to rent**
- **Bank-assisted sales & repossessions** — search Property24's dedicated Repossessions category instead of the regular market
- **Filters:** price range, minimum bedrooms, minimum bathrooms
- **Optional deep data:** full description, agent & agency contact, exact street address, GPS coordinates, levies/rates/price-per-m², and every room-by-room feature (bedrooms, bathrooms, kitchen, external features, building info, security)
- **Empty fields are omitted** — you only ever see fields with real data

### Output per listing

**Always present (search mode):**

- `listingId`, `areaId`
- `transactionType`, `propertyType`
- `suburb`, `city`, `province`
- `titleText`, `price` (or `priceOnApplication` / `pricePerSqm` for commercial listings quoted per m² instead of a total)
- `bedrooms`, `bathrooms`, `parkingSpaces`, `floorSizeSqm`
- `imageUrl`, `listingUrl`
- `isBankRepossession` (only when `bankRepossessionsOnly: true`)
- `recordType: "propertyListing"`, `scrapedAt`

**With `includeFullDetails: true` or `mode: byUrls`, additionally:**

- `title`, `description`, `datePosted`, `currency`
- `agentName`, `agentProfileUrl`, `agencyName`, `agencyUrl`, `agencyLogoUrl`
- `streetAddress`, `latitude`, `longitude`, `country`
- `overview` — listing number, type of property, listing date, floor size, price/m², levies, rates & taxes, transfer duty, pets allowed, floor number (fields vary by property type)
- `rooms` — bedroom/bathroom/kitchen/lounge details as described by the agent
- `externalFeatures` — parking details
- `building` — number of floors, building-level info
- `otherFeatures` — security, special features, internet access, generator, wheelchair access
- `images[]` — full gallery of listing photos
- `listingNumber`

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `search` | `search` / `byUrls` |
| `transactionType` | string | `forSale` | `forSale` / `toRent` |
| `propertyType` | string | `any` | `any` / `house` / `apartment` / `townhouse` / `vacantLand` / `farm` / `commercial` / `industrial` |
| `province` | string | `gauteng` | Any of the 9 SA provinces |
| `priceMin` / `priceMax` | int | – | Price range in ZAR |
| `bedroomsMin` / `bathroomsMin` | int | – | Minimum room counts |
| `bankRepossessionsOnly` | bool | `false` | Search Property24's Repossessions category instead of the regular market (forces `transactionType` to `forSale`) |
| `sortBy` | string | `default` | `default` / `priceLowToHigh` / `priceHighToLow` / `mostBedrooms` |
| `listingUrls` | array | – | Property24 listing URLs (mode=byUrls) |
| `includeFullDetails` | bool | `false` | Fetch full detail page per listing (1 extra request each) |
| `maxItems` | int | `20` | Hard cap (1–500) |

#### Example: 3+ bedroom houses for sale in Western Cape under R3.5M

```json
{
  "mode": "search",
  "transactionType": "forSale",
  "propertyType": "house",
  "province": "westernCape",
  "priceMax": 3500000,
  "bedroomsMin": 3,
  "includeFullDetails": true,
  "maxItems": 50
}
```

#### Example: apartments to rent in Gauteng, cheapest first

```json
{
  "mode": "search",
  "transactionType": "toRent",
  "propertyType": "apartment",
  "province": "gauteng",
  "sortBy": "priceLowToHigh",
  "maxItems": 30
}
```

#### Example: full details for specific listings

```json
{
  "mode": "byUrls",
  "listingUrls": [
    "https://www.property24.com/for-sale/blyde-riverwalk-estate/pretoria/gauteng/33014/116170024"
  ]
}
```

#### Example: bank-repossessed apartments in Gauteng

```json
{
  "mode": "search",
  "bankRepossessionsOnly": true,
  "propertyType": "apartment",
  "province": "gauteng",
  "maxItems": 30
}
```

### Limitations

- Price/bedroom/bathroom filters are applied by the actor after fetching listings (not sent as query parameters to Property24) — this proved more reliable than Property24's own filtered-search URLs, which intermittently reject automated traffic even when the plain category page succeeds. The actor automatically retries with backoff, escalates through Apify Proxy, and falls back to a TLS-impersonating client, so a temporary block on one page usually just means that batch of results arrives on the next attempt rather than failing outright.
- Property24's servers occasionally return a transient error on a specific page of results even after all retry tiers. When this happens the actor keeps whatever it already gathered and stops early rather than hanging or returning broken data — you may see slightly fewer than `maxItems` records on an unlucky run. Re-running (or increasing `maxItems`) recovers the rest.
- `imageUrl` values are served by images.prop24.com, which returns a `500` error for `HEAD` requests but `200 image/jpeg` for normal `GET` requests (the same way a browser or `<img>` tag loads them) — this is a CDN quirk, not a broken link.

### Use cases

- **Real estate market research** — track average prices, price/m², and inventory by province and property type
- **Investment analysis** — filter for yield-friendly price/bedroom combinations
- **Relocation / home search** — build a shortlist of matching listings with full contact info
- **Lead generation** — collect agent and agency contact details from active listings
- **Portfolio monitoring** — re-run `byUrls` on saved listings to track price changes over time

### FAQ

**Is this official Property24 data?** Yes — it's parsed directly from Property24's own listing and search-result pages, including their structured `RealEstateListing` schema.org markup.

**Do I need an account or API key?** No. The actor requires no login, cookies, or user-supplied credentials.

**Why do some listings show `priceOnApplication` instead of a price?** Some sellers/agents list "Price on Application" instead of a fixed price — the actor reports this instead of guessing a number.

**Why do some commercial listings show `pricePerSqm` instead of `price`?** Some commercial (retail/office/industrial) listings on Property24 quote a rate per square metre (e.g. "R452 per m²") instead of a single total price — often because the listing covers multiple units of different sizes. The actor reports this as `pricePerSqm` rather than mislabeling the per-m² rate as the total `price`.

**Why do `overview`/`rooms`/`externalFeatures` fields vary between listings?** Property24 lets agents fill in different fields per property type (e.g. "Erf Size" for houses, "Levies" for apartments). The actor passes through whatever the agent actually filled in — no invented values.

**What's the difference between `search` and `byUrls`?** `search` browses/filters by province, property type, and price/bedrooms. `byUrls` does an exact lookup for listing URLs you already have (e.g. from a previous `search` run, or shared by a colleague) and always includes full details.

**What is `bankRepossessionsOnly`?** Property24 runs a dedicated "Repossessions" category for properties banks are selling after repossession — typically priced below market. Setting `bankRepossessionsOnly: true` searches that category instead of the regular market (note: unlike the regular province/type category pages, `/repossessions` is a single nationwide feed, so province/property-type filters are applied client-side rather than via a scoped URL); listings themselves are otherwise normal for-sale properties (same detail pages, same fields), just tagged `isBankRepossession: true`.

**How often does this data change?** Property24 listings, prices, and availability are live — the actor always fetches current data, no caching.

# Actor input Schema

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

What to fetch.

## `transactionType` (type: `string`):

Buy or rent listings (mode=search).

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

Filter by property category (mode=search).

## `province` (type: `string`):

South African province to search (mode=search).

## `priceMin` (type: `integer`):

Minimum listing price in South African Rand.

## `priceMax` (type: `integer`):

Maximum listing price in South African Rand.

## `bedroomsMin` (type: `integer`):

Only include listings with at least this many bedrooms.

## `bathroomsMin` (type: `integer`):

Only include listings with at least this many bathrooms.

## `bankRepossessionsOnly` (type: `boolean`):

Search Property24's dedicated Repossessions category instead of the regular market (mode=search). Always for-sale (forces `transactionType` to `forSale`); property type/price/bedroom/bathroom filters still apply.

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

Order emitted results (mode=search).

## `listingUrls` (type: `array`):

Full Property24 listing URLs to fetch directly, e.g. `https://www.property24.com/for-sale/blyde-riverwalk-estate/pretoria/gauteng/33014/116170024`.

## `includeFullDetails` (type: `boolean`):

Fetch each listing's detail page for full description, agent/agency info, exact address, coordinates, levies/rates, and room-by-room features. Adds one extra request per listing, so runs are slower. Always on for mode=byUrls.

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

Hard cap on emitted records.

## Actor input object example

```json
{
  "mode": "search",
  "transactionType": "forSale",
  "propertyType": "any",
  "province": "gauteng",
  "bankRepossessionsOnly": false,
  "sortBy": "default",
  "listingUrls": [],
  "includeFullDetails": false,
  "maxItems": 20
}
```

# Actor output Schema

## `listings` (type: `string`):

Dataset containing all scraped Property24 listings.

# 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 = {
    "mode": "search",
    "transactionType": "forSale",
    "propertyType": "any",
    "province": "gauteng",
    "bankRepossessionsOnly": false,
    "sortBy": "default",
    "listingUrls": [],
    "includeFullDetails": false,
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlerbros/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 = {
    "mode": "search",
    "transactionType": "forSale",
    "propertyType": "any",
    "province": "gauteng",
    "bankRepossessionsOnly": False,
    "sortBy": "default",
    "listingUrls": [],
    "includeFullDetails": False,
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlerbros/property24-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 '{
  "mode": "search",
  "transactionType": "forSale",
  "propertyType": "any",
  "province": "gauteng",
  "bankRepossessionsOnly": false,
  "sortBy": "default",
  "listingUrls": [],
  "includeFullDetails": false,
  "maxItems": 20
}' |
apify call crawlerbros/property24-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawlerbros/property24-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/C5lz5OJXWprUNn9qh/builds/YfwEnztKQvqpJJBXy/openapi.json
