# Property24 South Africa Scraper (`powerbox/property24-south-africa-scraper`) Actor

Scrape Property24 South Africa sale and rental listings from search or detail URLs into structured JSON.

- **URL**: https://apify.com/powerbox/property24-south-africa-scraper.md
- **Developed by:** [PowerBox](https://apify.com/powerbox) (community)
- **Categories:** Agents
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 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.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Property24 South Africa Scraper

Extract sale and rental listings from **Property24** (property24.com), South Africa’s major property portal. Paste a search-result URL from your browser (city, suburb, beds, price filters) or individual listing URLs and get structured Dataset rows — price, beds/baths, sizes, location, images, and optional full detail fields.

### Features

- **Search URLs** — crawl result pages with `/p2`, `/p3`… pagination
- **Detail URLs** — scrape specific listings by link
- **Card or full mode** — search tiles only, or follow each listing for description, overview, features, agent/agency
- **Structured fields** — id, price (text + ZAR), bedrooms, bathrooms, parking, erf/floor size, images, location
- **Proxy support** — residential ZA proxies recommended for production

### Input

| Field | Type | Default | Description |
| --- | --- | --- | --- |
| `listUrls` | array | — | Property24 search-result URLs |
| `propertyUrls` | array | — | Individual listing URLs |
| `fullPropertyDetails` | boolean | `true` | Open each listing page for richer fields |
| `maxProperties` | integer | `20` | Cap across all URLs (1–5000) |
| `requestDelayMs` | integer | `800` | Delay between HTTP requests |
| `proxyConfiguration` | object | — | Optional Apify proxy (ZA residential recommended) |

Provide at least one search or property URL.

#### Example

```json
{
  "listUrls": [
    {
      "url": "https://www.property24.com/for-sale/val-de-vie-estate/paarl/western-cape/11726"
    }
  ],
  "fullPropertyDetails": true,
  "maxProperties": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "ZA"
  }
}
```

### Output

One Dataset item per listing, including:

- `id` / `listingNumber`, `url`, `title`
- `price`, `priceZar`, `bedrooms`, `bathrooms`, `parkings`
- `location`, `erfSize`, `floorSize`, `typeOfProperty`, `listingDate`
- `images`, `features`, `description` (when full details enabled)
- `agent`, `agency`, `address`, `latitude`, `longitude` when present on the detail page

### Tips

- Copy the exact search URL from Property24 after applying filters — suburb/city IDs in the path are required.
- Prefer **residential proxies with country ZA** for reliable runs from outside South Africa.
- Keep `requestDelayMs` ≥ 500–800 to stay polite on large crawls.
- Turn off `fullPropertyDetails` when card-level fields are enough (faster, fewer requests).

### Disclaimer

This Actor collects publicly available listing information. Respect Property24’s terms of use and applicable laws. Use responsibly and only for legitimate purposes.

# Actor input Schema

## `listUrls` (type: `array`):

Property24 search pages (city/suburb filters from the browser address bar). Example: https://www.property24.com/for-sale/val-de-vie-estate/paarl/western-cape/11726

## `propertyUrls` (type: `array`):

Optional individual listing URLs ending with the numeric listing id.

## `fullPropertyDetails` (type: `boolean`):

Visit each listing page for description, sizes, features, images, and agent info. Turn off for faster card-only results from search pages.

## `maxProperties` (type: `integer`):

Maximum listings to extract across all URLs.

## `requestDelayMs` (type: `integer`):

Polite delay between HTTP requests.

## `proxyConfiguration` (type: `object`):

Residential proxies recommended for production (country ZA).

## Actor input object example

```json
{
  "listUrls": [
    {
      "url": "https://www.property24.com/for-sale/val-de-vie-estate/paarl/western-cape/11726"
    }
  ],
  "fullPropertyDetails": true,
  "maxProperties": 20,
  "requestDelayMs": 800
}
```

# Actor output Schema

## `overview` (type: `string`):

Table view of Property24 listings.

## `rawResults` (type: `string`):

All dataset items as JSON.

# 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 = {
    "listUrls": [
        {
            "url": "https://www.property24.com/for-sale/val-de-vie-estate/paarl/western-cape/11726"
        }
    ],
    "maxProperties": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("powerbox/property24-south-africa-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 = {
    "listUrls": [{ "url": "https://www.property24.com/for-sale/val-de-vie-estate/paarl/western-cape/11726" }],
    "maxProperties": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("powerbox/property24-south-africa-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 '{
  "listUrls": [
    {
      "url": "https://www.property24.com/for-sale/val-de-vie-estate/paarl/western-cape/11726"
    }
  ],
  "maxProperties": 20
}' |
apify call powerbox/property24-south-africa-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,powerbox/property24-south-africa-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/aFVIEBaqMoxovKFal/builds/1GZmI6K9iYWup84Ib/openapi.json
