# OhMyHome Singapore API Scraper (`rl1987/ohmyhome-sg-api-scraper`) Actor

Extract structured property listing data from OhMyHome Singapore (ohmyhome.com). Search by listing type, property type, price, and bedrooms. Returns id, price, address, district, beds, baths, floor area, tenure, agent contact, image URLs, and listing URLs.

- **URL**: https://apify.com/rl1987/ohmyhome-sg-api-scraper.md
- **Developed by:** [R.L.](https://apify.com/rl1987) (community)
- **Categories:** Real estate
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 listing rows

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## OhMyHome Singapore API Scraper

**Extract property listings from OhMyHome Singapore ([ohmyhome.com](https://ohmyhome.com/en-sg)) at scale.** Search for-sale, for-rent, or room-rental listings, filter by price and bedrooms, and get clean, structured JSON with prices, addresses, floor area, tenure, agent contacts, images, and direct listing URLs — no browser, no manual copy-pasting.

This Actor talks directly to OhMyHome's own mobile-app API (reversed from the Android app), so it's fast and doesn't depend on fragile page HTML. Run it from the [Apify Console](https://console.apify.com), the [API](https://docs.apify.com/api/v2), or schedule it to track new listings automatically.

### Why use this Actor?

- **Real estate agents & agencies** — track new listings and pricing in your patch.
- **Property investors** — compare price-per-sqft across HDB towns and districts.
- **Market analysts & researchers** — build historical datasets of Singapore property prices.
- **Proptech & data teams** — feed clean listing data into dashboards, models, and CRMs.
- **Lead generation** — collect agent name and mobile number from active listings.

### How to use OhMyHome Singapore API Scraper

1. Open the Actor's **Input** tab.
2. Choose a **Listing type** (For Sale, For Rent, or Room Rental).
3. Optionally set a **Location**, price range, and bedroom count.
4. Set **Max items** (or `0` for unlimited).
5. Click **Start** and download the results as JSON, CSV, or Excel once the run finishes.

### Input

| Field | Description |
|-------|-------------|
| **Listing type** | `sale`, `rent`, or `room-rent`. |
| **Property type** | HDB, Landed, or Condominium/Apartment. Leave empty for all types. |
| **Location** | Town/district name, e.g. `Yishun`, `Tampines`, `Bukit Timah`. Matched against each listing's address after fetching. |
| **Min / Max price (S$)** | Price range in SGD (monthly for rentals). |
| **Bedrooms** | Exact number of bedrooms. |
| **Fetch full listing details** | Fetch bedrooms, bathrooms, floor size, tenure, description, and agent contact per listing (one extra request each). Turn off for a faster, lighter run. |
| **Max items** | Cap the number of listings returned (`0` = unlimited). |
| **Proxy** | Apify Proxy enabled by default. |

#### Example input

```json
{
  "listingType": "sale",
  "propertyType": "hdb",
  "location": "Yishun",
  "minPrice": 400000,
  "maxPrice": 700000,
  "bedrooms": 3,
  "maxItems": 200
}
```

### Output

Each dataset item is one listing. Example (abridged):

```json
{
  "id": 2189274,
  "uid": "f146f8173a7cce08a541e2f5cd35ded4",
  "listingType": "sale",
  "price": 515000,
  "priceCurrency": "SGD",
  "address": "403, Yishun Avenue 6",
  "districtName": "Yishun",
  "townName": "Yishun",
  "bedrooms": 3,
  "bathrooms": 2,
  "floorAreaSqft": 904.2,
  "propertyTypeText": "HDB",
  "tenure": "99 Years",
  "agentName": "Jeslyn Lim",
  "agentMobile": "6589609747",
  "images": ["https://api.omh.app/store/picture/58e0c164-5f2f-4efe-9eea-db022af991f6"],
  "listingUrl": "https://ohmyhome.com/en-sg/listing/yishun-avenue-6/2189274",
  "isVerified": true
}
```

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

#### Data table

| Field | Description |
|-------|-------------|
| `id` / `uid` | Numeric and string listing identifiers. |
| `listingType` | `sale`, `rent`, or `room-rent`. |
| `price` / `priceCurrency` | Asking price and currency. |
| `address` / `districtName` / `townName` / `postalCode` | Location fields. |
| `bedrooms` / `bathrooms` | Only populated when *Fetch full listing details* is on. |
| `floorAreaSqm` / `floorAreaSqft` | Floor area, when available. |
| `propertyTypeCode` / `propertyTypeText` | Property type: `1`/HDB, `2`/Landed, `3`/Condominium-Apartment; other codes appear as `Unknown (N)`. |
| `tenure` / `completionYear` | Lease tenure and year built/TOP. |
| `agentName` / `agentMobile` | Listing agent contact. |
| `images` | Array of photo URLs. |
| `listingUrl` | Direct link to the listing on ohmyhome.com. |
| `latitude` / `longitude` | Coordinates. |
| `isVerified` / `verifyStatus` | OhMyHome verification status. |
| `postedDate` / `updatedDate` | ISO 8601 timestamps. |

### Pricing / Cost estimation

The current price of every event is on the **Pricing** tab of this Actor's page in Apify Store. That tab is generated from the Actor's own pricing record, so it is always current, and your plan's rung is applied automatically. A figure repeated here would be a second copy that drifts out of date.

You can cap what any single run may spend with **Max total charge**.

### Tips

- Fewer requests, faster runs: leave **Fetch full listing details** off if you only need price/address/images.
- The **Location** and **Property type** filters are applied after fetching (OhMyHome's public search API doesn't expose reliable server-side filters for either), so a narrow combination of filters and a low **Max items** may return fewer results than expected — raise **Max items** to search deeper.

### Singapore real estate data toolkit

Part of the **Singapore real estate data toolkit** — Singapore property data across the island's major listing portals and the government's own transaction records:

- [PropertyGuru Singapore API Scraper](https://apify.com/rl1987/propertyguru-sg-api-scraper) — Extract structured property listing data from PropertyGuru Singapore — price, address, district, beds/baths, agent contact.
- [99.co Singapore API Scraper](https://apify.com/rl1987/99co-sg-api-scraper) — Extract structured property listing data from 99.co Singapore by location, district, or property type.
- [EdgeProp Singapore API Scraper](https://apify.com/rl1987/edgeprop-sg-api-scraper) — Extract structured property listing data from EdgeProp Singapore by location, district, or property type.
- [URA Singapore Property Data Scraper](https://apify.com/rl1987/ura-property-data) — Official URA project summaries, sale transaction history, and rental history by project, street, or district.

### Did you find this useful?

Rate this actor on Apify! Your feedback helps other users find it and helps us keep improving it.

### FAQ & disclaimers

This Actor is intended for legitimate, compliant use (market research, personal property search, lead generation with consent, etc.). It reads OhMyHome's own public listing-search API; no login or personal data is required or collected beyond what OhMyHome itself publishes on active listings. Respect OhMyHome's Terms of Service and applicable data-protection law when using the results, especially agent contact details.

Found a bug or have a feature request? Open an issue on the Actor's **Issues** tab.

# Actor input Schema

## `listingType` (type: `string`):

For Sale, For Rent (whole unit), or Room Rental.

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

Filter by property type. Leave empty for all types.

## `location` (type: `string`):

Singapore town/district name, e.g. Yishun, Tampines, Bukit Timah. Matched against each listing's town/district after fetching (OhMyHome's search API does not expose a reliable public freetext-location filter). Leave empty for all locations.

## `minPrice` (type: `integer`):

Minimum price in SGD. For rent this is monthly.

## `maxPrice` (type: `integer`):

Maximum price in SGD. For rent this is monthly.

## `bedrooms` (type: `integer`):

Exact number of bedrooms to filter by. Leave empty for any.

## `fetchDetails` (type: `boolean`):

Fetch each listing's detail page for bedrooms, bathrooms, floor size, tenure, description, and agent contact info. Uses one extra request per listing. Turn off for a faster, lighter-weight run (address, price, images, and property type only).

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

Maximum number of listings to return. 0 = unlimited.

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

Route requests through a proxy (Apify Proxy by default).

## Actor input object example

```json
{
  "listingType": "sale",
  "fetchDetails": true,
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rl1987/ohmyhome-sg-api-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 = { "proxyConfiguration": { "useApifyProxy": True } }

# Run the Actor and wait for it to finish
run = client.actor("rl1987/ohmyhome-sg-api-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 '{
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call rl1987/ohmyhome-sg-api-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rl1987/ohmyhome-sg-api-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/tEzrx0qsBvttVDNY5/builds/EFfq0jE4OcPxgLhjx/openapi.json
