# 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
- **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/platform/actors/running/actors-in-store#pay-per-event

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

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

This Actor is pay-per-event:

- **$1.00 per 1,000 listing rows** — charged for every listing returned to the dataset.
- **+$1.00 per 1,000 detail rows** — charged in addition, only for listings where full detail (bedrooms, bathrooms, floor size, tenure, description, agent contact) was fetched.

So a run with **Fetch full listing details** on costs $2.00 per 1,000 listings; turn it off to pay only $1.00 per 1,000 for the lighter compact fields (price, address, images, property type).

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

### 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("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=rl1987/ohmyhome-sg-api-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/tEzrx0qsBvttVDNY5/builds/nxqtbRf8lYIu4bUZh/openapi.json
