# property24.com Property Scraper (South Africa) (`barefoot_grade/property24-za-scraper`) Actor

Property listings from Property24 (property24.com, South Africa) for sale or to rent across verified search areas. One record: URL, price ZAR, suburb, city, province, bedrooms, bathrooms, property type, images, agent. On-demand scrape — fresh listings every run.

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

## Pricing

from $0.60 / 1,000 listings

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

## South African Property Listings from Property24

### Quick Start

Collect public sale or rental property listings from Property24.
Useful for South African property research, lead generation, and market tracking.
Start with:

```json
{"areas":["cape-town-city-centre"],"operation":"for-sale","maxResults":50}
```

### Input

| Name | Type | Default | What it does |
|---|---|---|---|
| `areas` | array | `["cape-town-city-centre"]` | Selects areas or search URLs. |
| `operation` | string | `for-sale` | Searches sale or rental listings. |
| `site` | string | `za` | Selects South Africa or the optional Kenya scope. |
| `maxPages` | integer | `1` | Maximum pages per area, 1-10. |
| `maxResults` | integer | `50` | Maximum listings, 1-200. |
| `requestDelaySecs` | number | `1.0` | Delay between page requests. |
| `proxyUrl`, `proxyUsername`, `proxyPassword` | string | empty | Optional proxy settings. |

### Output

Records include `listing_key`, `url`, `price`, `currency`, `suburb`, `city`, `province`, `bedrooms`, `bathrooms`, `property_type`, `images`, `agent`, `operation`, `area_id`, `source`, and `scraped_at`.

```json
{"listing_key":"property24.com:123456789","url":"https://www.property24.com/for-sale/example/cape-town/western-cape/9138/123456789","price":2495000,"currency":"ZAR","suburb":"Example","city":"Cape Town","province":"Western Cape","bedrooms":3,"bathrooms":2,"property_type":"House","images":[],"operation":"for-sale"}
```

### FAQ

#### How fresh is the data?

Listings are collected from Property24 during each run.

#### Which areas are supported?

South African areas and custom area specifications; Kenya is available as an optional scope.

#### What are the limits?

Up to 10 pages per area and 200 listings per run.

#### What happens when a page fails?

Temporary failures are retried and persistent errors are reported.

#### Can I collect rentals?

Yes. Set `operation` to `to-rent`.

For help, contact Apify Support and include the run URL.

A conservative Apify Actor that extracts public property listings from
**property24.com** (South Africa's leading portal) into one normalized
record shape: URL, price, suburb, city, province, bedrooms, bathrooms,
property type, images, agent and source.

### Pricing

See the Actor’s Pricing tab on Apify for current rates. Total run cost
depends on the selected limits and your Apify plan; custom proxy charges
are billed by your proxy provider. Start with a small `maxResults` value
and check the run cost before scheduling larger collections.

# Actor input Schema

## `areas` (type: `array`):

Areas to search. Each entry is a seed key ('cape-town-city-centre'), a free-form 'suburb/city/province/areaId' spec, or a full search URL — e.g. harvest Johannesburg/Durban/Pretoria paths from the site's own suburb filter links. Numeric area ids are opaque: never guess one.

## `operation` (type: `string`):

Listings to search: for-sale (/for-sale/...) or to-rent (/to-rent/...).

## `site` (type: `string`):

property24 country site: za (property24.com, ) or ke (property24.co.ke — the Kenya stretch; grammar ASSUMED from the incumbent README's leaked paths, not , currency KES).

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

Result pages to fetch per area (>=20 listing cards per page, paged with the /pN path suffix).

## `maxResults` (type: `integer`):

Stop after this many listings across all areas.

## `requestDelaySecs` (type: `number`):

Minimum 0.5 seconds.

## `proxyUrl` (type: `string`):

Optional custom proxy URL (full URL with embedded credentials, or host:port with proxyUsername/proxyPassword). Leave empty to use the Actor's default connection.

## `proxyUsername` (type: `string`):

Username for proxyUrl when the URL does not embed credentials.

## `proxyPassword` (type: `string`):

Password for proxyUrl when the URL does not embed credentials.

## Actor input object example

```json
{
  "areas": [
    "cape-town-city-centre"
  ],
  "operation": "for-sale",
  "site": "za",
  "maxPages": 1,
  "maxResults": 50,
  "requestDelaySecs": 1
}
```

# Actor output Schema

## `results` (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 = {
    "proxyPassword": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("barefoot_grade/property24-za-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 = { "proxyPassword": "" }

# Run the Actor and wait for it to finish
run = client.actor("barefoot_grade/property24-za-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 '{
  "proxyPassword": ""
}' |
apify call barefoot_grade/property24-za-scraper --silent --output-dataset

```

## MCP server setup

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