# PropertyGuru SG Scraper — Singapore Property Listings (`sholokhovich/propertyguru-scraper`) Actor

Scrape PropertyGuru.com.sg property listings by district (D01-D28), sale or rent. Returns price, price/psf, bedrooms, bathrooms, floor area, tenure, nearby MRT, agent and agency, posted date, images. Works out of the box, pay per listing.

- **URL**: https://apify.com/sholokhovich/propertyguru-scraper.md
- **Developed by:** [Andrew Sholokhovich](https://apify.com/sholokhovich) (community)
- **Categories:** Real estate
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

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

## PropertyGuru SG Scraper — Singapore Property Listings

Scrape PropertyGuru.com.sg property listings by district (D01-D28), sale or rent. Returns price, price/psf, bedrooms, bathrooms, floor area, tenure, nearby MRT, agent and agency, posted date, images. Works out of the box, pay per listing.

### What it does

PropertyGuru SG Scraper — Singapore Property Listings is a data-collection tool for the real estate category. The inputs let you set the scope and preferences for a run, while the results provide organized records that are easier to review and use.

### Input

Provide the values that define the scope and preferences for the run. Review each option before starting so the resulting dataset matches the information you want to analyze or reuse.

| Name | Type | Description | Default |
| --- | --- | --- | --- |
| district | string | Singapore URA planning-area district code, D01-D28 (e.g. D09 = Orchard / River Valley). | "D09" |
| enable\_detail\_pages | boolean | Fetch each listing's own detail page for extra fields (GPS, project name, facilities, nearby schools). Off by default — keeps runs fast and cheap; charges a secondary 'detail-enrichment' event per enriched listing when on. | false |
| listing\_type | string | Whether to scrape for-sale or for-rent listings. | "sale" |
| max\_pages | integer | Safety cap on how many result pages (20 listings/page) to fetch. | 5 |
| max\_properties | integer | Maximum number of listings to return. | 20 |
| mode (required) | string | Scrape mode. Only 'search' is supported today. | "search" |
| property\_type | string | Keep only listings whose property type text contains this (case-insensitive), e.g. 'condo', 'hdb', 'landed'. Leave empty for all types. | "" |
| proxy | object | PropertyGuru.com.sg is geo-locked to Singapore — RESIDENTIAL / country SG is required, not optional. | — |

### Output

A successful run produces a dataset of structured items collected according to your inputs. You can review the records, use them in analysis, or pass them to another part of your workflow. The exact fields depend on the source data and the options selected for the run.

### Usage

1. Open the actor page.
2. Fill in the input values and review the configuration.
3. Run the actor and wait for the collection to finish.
4. Download the results from the dataset and use the records in your preferred workflow.

### Pricing

Pricing is pay-per-event, so you pay only for results.

# Actor input Schema

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

Scrape mode. Only 'search' is supported today.

## `listing_type` (type: `string`):

Whether to scrape for-sale or for-rent listings.

## `property_type` (type: `string`):

Keep only listings whose property type text contains this (case-insensitive), e.g. 'condo', 'hdb', 'landed'. Leave empty for all types.

## `district` (type: `string`):

Singapore URA planning-area district code, D01-D28 (e.g. D09 = Orchard / River Valley).

## `max_properties` (type: `integer`):

Maximum number of listings to return.

## `max_pages` (type: `integer`):

Safety cap on how many result pages (20 listings/page) to fetch.

## `enable_detail_pages` (type: `boolean`):

Fetch each listing's own detail page for extra fields (GPS, project name, facilities, nearby schools). Off by default — keeps runs fast and cheap; charges a secondary 'detail-enrichment' event per enriched listing when on.

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

PropertyGuru.com.sg is geo-locked to Singapore — RESIDENTIAL / country SG is required, not optional.

## Actor input object example

```json
{
  "mode": "search",
  "listing_type": "sale",
  "property_type": "condo",
  "district": "D09",
  "max_properties": 20,
  "max_pages": 5,
  "enable_detail_pages": false,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "SG"
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset containing PropertyGuru SG listing records (title, price, price\_psf, bedrooms, bathrooms, floor\_area, property\_type, district, nearby\_mrt, tenure, agent\_name, agency\_name, posted\_date, url, images).

# 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",
    "listing_type": "sale",
    "property_type": "condo",
    "district": "D09",
    "max_properties": 20,
    "max_pages": 5,
    "enable_detail_pages": false,
    "proxy": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "SG"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("sholokhovich/propertyguru-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",
    "listing_type": "sale",
    "property_type": "condo",
    "district": "D09",
    "max_properties": 20,
    "max_pages": 5,
    "enable_detail_pages": False,
    "proxy": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "SG",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("sholokhovich/propertyguru-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",
  "listing_type": "sale",
  "property_type": "condo",
  "district": "D09",
  "max_properties": 20,
  "max_pages": 5,
  "enable_detail_pages": false,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "SG"
  }
}' |
apify call sholokhovich/propertyguru-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sholokhovich/propertyguru-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/4p78VDSfQ2somaJ3L/builds/2QbUcaN3QAu7GoZ2c/openapi.json
