# Rumah123 Property Scraper (`hvd20xx/rumah123-property-scraper`) Actor

Scrape property listings from Rumah123, Indonesia's property portal: exact asking price in IDR and price per m2, property type, full address with district/city/province, geo coordinates, sizes, certificate, photos, agent and timestamps. Sale and rent.

- **URL**: https://apify.com/hvd20xx/rumah123-property-scraper.md
- **Developed by:** [Nur Hadhi Sucipto](https://apify.com/hvd20xx) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$4.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.

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

## Rumah123 Property Scraper

Scrape property listings from [Rumah123](https://www.rumah123.com),
Indonesia's property portal. For each listing you get the exact asking
price in IDR and the price per m², the property type (house, apartment,
land, shophouse, and more), the full address with district / city /
province, geo coordinates, bedrooms and bathrooms, land and building
size, certificate type, furnishing, facilities, all photo URLs, the
agent and agency names, and posted / updated timestamps. Both for-sale
(Dijual) and for-rent (Disewa) listings are covered.

Typical uses: tracking asking prices per city or district, building
local property datasets for valuation and market research, monitoring
new listings in an area, and comparing agents' portfolios.

### How it works

Rumah123 does not offer a public listing API, so this Actor uses the
public routes that exist:

1. It reads listing URLs from Rumah123's official sitemaps (the sale
   index lists 167 sub-sitemap files and the rent index 39, with up to
   10,000 listing URLs each).
2. It opens each listing page with plain HTTP requests (no headless
   browser), one at a time with a short delay, and retries failed pages
   up to 3 times.
3. It parses the structured listing object embedded in each page and
   pushes one record per listing to the dataset.

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `transaction` | string (enum) | `sale` | `sale` (Dijual) or `rent` (Disewa). Ignored when `startUrls` is set. |
| `sitemapStart` | integer | `1` | Which sub-sitemap file to start from (1-based). Ignored when `startUrls` is set. |
| `maxResults` | integer | `100` | Maximum number of listings to return (1–5000). Listings are collected in sitemap order. |
| `propertyType` | string | – | Optional. Only return listings of this type, matched case-insensitively against Rumah123's label, e.g. `Rumah` (house), `Apartemen`, `Tanah` (land), `Ruko` (shophouse). |
| `minPriceIdr` | integer | – | Optional. Only return listings with price at or above this amount (IDR). For rentals, the price is the monthly rent. |
| `maxPriceIdr` | integer | – | Optional. Only return listings with price at or below this amount (IDR). For rentals, the price is the monthly rent. |
| `startUrls` | array | – | Optional. Specific Rumah123 listing URLs to scrape instead of the sitemaps. |

With filters on, the Actor may scan more pages than the number of
results returned, because filtering happens after a page is parsed.

### Output

One dataset item per listing:

| Field | Type | Description |
|---|---|---|
| `listing_id` | string | Rumah123 listing code, e.g. `hos39318671` (house) or `apr3614011` (apartment). |
| `url` | string | Listing page URL. |
| `title` | string | Listing title. |
| `transaction_type` | string | `Dijual` (for sale) or `Disewa` (for rent). |
| `property_type` | string | Type label in Indonesian: `Rumah`, `Apartemen`, `Tanah`, `Ruko`, etc. |
| `price_idr` | integer | Headline price in IDR from the listing's structured price field. Total asking price for a sale; monthly rent for a rental. |
| `price_display` | string | Price as displayed by Rumah123, e.g. `Rp 2,2 Miliar` or `Rp 6,75 Juta /bulan`. |
| `price_per_m2_idr` | integer | Asking price per m² of building size, as computed by Rumah123. |
| `address` | string | Full address as published. |
| `district` / `city` / `province` | string | Location parts. |
| `latitude` / `longitude` | number or null | Map pin coordinates, when the seller set a pin. |
| `bedrooms` / `bathrooms` | integer | Room counts, when listed. |
| `land_size_m2` / `building_size_m2` | number | Sizes in m². Land size is usually empty for apartment units. |
| `carports` / `garages` / `floors` | integer | When listed. |
| `electricity_watt` | integer or null | Electricity capacity in watts, when specified. |
| `certification` | string | Certificate type, e.g. `SHM`, `HGB`, `PPJB`. |
| `furnishing` | string | e.g. `Furnished`, `Semi Furnished`, `Unfurnished`. |
| `condition` | string | Condition label in Indonesian, e.g. `Bagus`. |
| `facing` | string | Facing direction in Indonesian, e.g. `Utara`. |
| `facilities` | array of strings | Facilities merged from the listing's facility groups, in Indonesian. |
| `description` | string | Listing description as written by the seller/agent. |
| `photo_urls` / `photo_count` / `main_photo_url` | array / integer / string | All photo URLs, their count, and the first photo. |
| `agent_name` / `agency_name` / `agent_url` | string | Listing agent's displayed name, agency, and public profile URL. Contact details are intentionally not collected. |
| `overview_tags` | array of strings | Short tags shown on the listing, e.g. `Bisa Nego`, `Dijual Cepat`. |
| `is_price_drop` | boolean | Whether Rumah123 flags a price drop on the listing. |
| `posted_at` / `updated_at` | string | ISO 8601 timestamps reported by Rumah123. |
| `scraped_at` | string | ISO 8601 timestamp of when the listing was scraped. |

#### Example output

A real record produced by this Actor's code (description and photo list
shortened; the real record carries the full text and all 17 photos):

```json
{
  "listing_id": "apr3614011",
  "url": "https://www.rumah123.com/properti/tangerang/apr3614011/",
  "title": "Dijual Apart Silk Town, Luas 25.56, Lt 17, Full Furnished, Sudsh Renovasi, Belum Pernah Dihuni, Ppjb, Sky Garden, Alexandria",
  "transaction_type": "Dijual",
  "property_type": "Apartemen",
  "price_idr": 550000000,
  "price_display": "Rp 550 Juta",
  "price_per_m2_idr": 22000000,
  "address": "Jl. Boulevard Silk Town, Pd. Jagung Tim., Kec. Serpong Utara, Kota Tangerang Selatan, Banten",
  "district": "Pondok Jagung",
  "city": "Tangerang",
  "province": "Banten",
  "latitude": null,
  "longitude": null,
  "bedrooms": 1,
  "bathrooms": 1,
  "land_size_m2": null,
  "building_size_m2": 25.0,
  "carports": null,
  "garages": null,
  "floors": null,
  "electricity_watt": null,
  "certification": "PPJB",
  "furnishing": "Furnished",
  "condition": null,
  "facing": null,
  "facilities": ["Taman", "Kolam Renang", "Jogging Track", "Keamanan", "Sports Club", "BBQ Spot", "Rooftop", "Mini Market", "Area Bermain", "Parking Area"],
  "description": "Nama Apartement : Silk Town. Tower/Lantai/View : Alexandria/Lantai 17/ Hadap Utara. Luas semi gross : 25,56 m². Tipe unit : Studio D. ...",
  "photo_urls": ["https://picture.rumah123.com/r123-images/1080x720-fit/customer/870767/9390428e59cd1623... (17 photos in the real record)"],
  "photo_count": 17,
  "agent_name": "Lydia Lim",
  "agency_name": "ERA Fiesta Banjar wijaya",
  "posted_at": "2025-03-18T23:36:50+00:00"
}
```

### Pricing

This Actor is priced pay-per-event: **$0.004 per result** — one result
is one listing pushed to the dataset, so 1,000 results cost $4.00, plus
Apify platform usage where applicable. The price is configured in the
Apify Console (Monetization tab) as an event named `result`; it is not
set by any file in this repository.

### Limitations

- **Sitemap order, not freshness order.** Listings are collected in the
  order Rumah123's sitemaps list them, which mixes new and old listings.
  Use `posted_at` / `updated_at` to filter by recency after the run, and
  `sitemapStart` to walk different parts of the catalogue.
- **Apartment vs house fields differ.** Apartment units normally have no
  land size, carport, or garage; those fields are null for them, not
  missing data. Houses carry them.
- **Geo pin is optional for sellers.** About 1 in 5 sampled listings had
  no map pin, so `latitude` / `longitude` are null there.
- **No agent contact details.** Phone numbers, WhatsApp, and email
  addresses are deliberately not extracted, even though listing pages
  reference them. Only the agent's displayed name, agency, and public
  profile URL are included.
- **Prices are asking prices.** `price_idr` is what the seller asks, not
  a transacted price; `price_display` preserves the site's own wording
  (including the rental period).
- **Data can change.** Prices, availability, and listing content are
  whatever Rumah123 shows at scrape time.

# Actor input Schema

## `maxPriceIdr` (type: `integer`):

Optional. Only return listings whose price is at most this amount, e.g. 2000000000. For rentals the price is the monthly rent. Leave empty for no maximum.

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

Maximum number of listings to return. Listings are collected in sitemap order; with filters on, more pages may be scanned than results returned.

## `minPriceIdr` (type: `integer`):

Optional. Only return listings whose price is at least this amount, e.g. 500000000. For rentals the price is the monthly rent. Leave empty for no minimum.

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

Optional. Only return listings of this property type, matched case-insensitively against the type label published by Rumah123, e.g. Rumah (house), Apartemen (apartment), Tanah (land), Ruko (shophouse), Gudang (warehouse), Villa. Leave empty for all types.

## `sitemapStart` (type: `integer`):

Which sub-sitemap file of the transaction's sitemap index to start from (1-based). The sale index has 167 files and the rent index 39 files, up to 10,000 listings each. Ignored when startUrls is provided.

## `startUrls` (type: `array`):

Optional list of specific Rumah123 listing URLs to scrape. When provided, the sitemaps are not used.

## `transaction` (type: `string`):

Which listings to scrape: sale (Dijual, from the sale sitemap index) or rent (Disewa, from the rent sitemap index). Ignored when startUrls is provided.

## Actor input object example

```json
{
  "maxResults": 100,
  "sitemapStart": 1,
  "startUrls": [],
  "transaction": "sale"
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset containing all scraped property 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 = {
    "startUrls": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("hvd20xx/rumah123-property-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 = { "startUrls": [] }

# Run the Actor and wait for it to finish
run = client.actor("hvd20xx/rumah123-property-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 '{
  "startUrls": []
}' |
apify call hvd20xx/rumah123-property-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hvd20xx/rumah123-property-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/UUg1j1JYCsPffIyft/builds/kQfTE1tMkuiegRLIU/openapi.json
