# Singapore CEA Real Estate Agents & Transactions Scraper (`haketa/singapore-cea-agents-scraper`) Actor

Singapore CEA Public Register scraper & API: extract 38,600+ licensed Singapore real estate agents & property agencies (PropNex, ERA, Huttons, OrangeTee) plus 1.4M+ closed HDB & condo property transactions, CEA registration numbers, licence validity, experience years & agency details.

- **URL**: https://apify.com/haketa/singapore-cea-agents-scraper.md
- **Developed by:** [Haketa](https://apify.com/haketa) (community)
- **Categories:** Real estate, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## 🏢 Singapore CEA Real Estate Agents & Property Transactions Scraper

[![Apify Actor](https://img.shields.io/badge/Apify-Actor-00C853?style=for-the-badge\&logo=apify)](https://apify.com)
[![Singapore CEA](https://img.shields.io/badge/Region-Singapore%20\(SG\)-EF3340?style=for-the-badge)](https://apify.com)
[![Agents & Deals](https://img.shields.io/badge/Coverage-38%2C600%2B%20Agents%20%7C%201.4M%2B%20Deals-2962FF?style=for-the-badge)](https://apify.com)
[![Export Formats](https://img.shields.io/badge/Export-JSON%20%7C%20CSV%20%7C%20Excel%20%7C%20API-FF6D00?style=for-the-badge)](https://apify.com)

Extract **38,600+ licensed Singapore real estate salespersons & estate agencies** and **1,410,000+ closed HDB & private property transaction records** from Singapore's official **Council for Estate Agencies (CEA) Public Register**.

Whether you are building a Singapore proptech platform, recruiting top-producing property agents from **PropNex**, **ERA**, **Huttons**, **OrangeTee**, or **SRI**, verifying CEA licence compliance, or analyzing closed residential property transactions across Singapore towns and districts, this actor delivers clean, structured JSON/CSV data in seconds.

***

### ⚡ At a Glance

| Feature | Details |
|---|---|
| **Licensed Agents Registry** | **38,600+ active CEA-registered real estate salespersons** across 1,000+ licensed estate agencies |
| **Closed Deal History** | **1,410,000+ residential property transaction records** (HDB Resale, HDB Rental, Private Condo, EC & Landed) |
| **Dual Operating Modes** | `salespersons` (CEA Agent Directory + optional transaction stats) & `transactions` (1.41M+ Closed Deal Records) |
| **Core Agent Attributes** | Full Name (`salespersonName`), **CEA Registration No (`registrationNo`)**, **Estate Agency Name (`estateAgentName`)**, **Agency Licence No (`estateAgentLicenseNo`)**, Start/Expiry Dates, Years Licensed, Agency Tier |
| **Core Deal Attributes** | Transaction Date (`MMM-YYYY`), Property Type (`HDB`, `CONDOMINIUM_APARTMENTS`, `LANDED`), Transaction Type (`RESALE`, `WHOLE RENTAL`, `NEW SALE`), Party Represented (`SELLER`, `BUYER`, `LANDLORD`, `TENANT`), Town & District |
| **Authentication / Keys** | **None required** — zero login, zero API key needed |
| **Extraction Speed** | ~200 records in **3–6 seconds** |

***

### 🎯 Why Singapore CEA Public Register Data Is High-Value

In Singapore, every property agent brokering residential or commercial sales and leases must be registered with the **Council for Estate Agencies (CEA)** under a licensed estate agent. Furthermore, CEA tracks every closed HDB and private residential transaction tied to each salesperson's unique CEA registration number (`registrationNo`, e.g., `R012345A` or `P000003I`).

**Singapore CEA Real Estate Agents & Property Transactions Scraper** unlocks two massive datasets in a single tool:

1. **Complete Singapore Realtor & Agency Roster (38,600+ Agents):** Segment every licensed agent by their brokerage (`PropNex Realty`, `ERA Realty Network`, `Huttons Asia`, `OrangeTee & Tie`, `SRI`, `CBRE`, `Savills`, `Knight Frank`), licence tenure (`yearsLicensed`), and registration validity (`registrationEndDate`).
2. **Verified Agent Track Record & Deal Volume (1.41M+ Transactions):** Unlike scraped property portals that only show current listings, CEA's transaction register records **actual closed sales and rentals**—allowing you to identify top-performing HDB resale specialists in Tampines, Jurong, or Bishan, or luxury condo and landed property closers in Districts 9, 10, and 15.
3. **Instant KYB / Licence Verification:** Automatically verify whether an individual or brokerage holds a valid, active CEA registration before onboarding them onto a mortgage, interiors, moving, or proptech marketplace.

***

### 📊 Complete Output Fields Reference

#### 👤 Mode 1: Licensed CEA Salespersons (`datasetMode: "salespersons"`)

| Field | Type | Coverage | Description |
|---|---|---|---|
| `recordType` | `string` | 100% | Always `"salesperson"` in Salespersons Mode |
| `recordId` | `integer` | 100% | Registry sequence ID |
| `salespersonName` | `string` | 100% | Official full legal name of the real estate salesperson (e.g., `WANG SOON YEE, LARRY`) |
| `registrationNo` | `string` | 100% | Unique CEA Registration Number (e.g., `P015022G`, `R045123B`) |
| `estateAgentName` | `string` | 100% | Licensed real estate agency the salesperson is registered under (e.g., `PROPNEX REALTY PTE. LTD.`) |
| `estateAgentLicenseNo` | `string` | 100% | Official CEA Estate Agent Licence Number (e.g., `L3008022J`) |
| `registrationStartDate` | `string` | 100% | Date the salesperson's CEA registration commenced (`YYYY-MM-DD`) |
| `registrationEndDate` | `string` | 100% | Current registration validity expiry date (`YYYY-MM-DD`) |
| `yearsLicensed` | `integer` | 100% | Calculated years of active real estate experience in Singapore |
| `isActiveLicense` | `boolean` | 100% | `true` if the registration expiry date is active |
| `agencyTier` | `string` | 100% | `"Major Agency / Enterprise Network"` (Top-5 & global brokerages) vs. `"Boutique / Specialist Agency"` |
| `ceaRegisterUrl` | `string` | 100% | Direct link to the salesperson's official CEA Public Register profile |

##### Optional Enrichment Fields (when `enrichTransactions: true`)

| Field | Type | Description |
|---|---|---|
| `totalClosedTransactions` | `integer` | Total historical residential property transactions recorded by CEA for this agent |
| `sampledHdbDeals` | `integer` | Number of HDB flat transactions in the agent's recent deal sample |
| `sampledPrivateDeals` | `integer` | Number of private condominium, EC, or landed transactions in the recent sample |
| `sampledSalesDeals` | `integer` | Number of resale / new sale / sub-sale transactions |
| `sampledRentalDeals` | `integer` | Number of whole-unit or room rental transactions |
| `activeTowns` | `array<string>` | Top Singapore towns where the salesperson has closed transactions (e.g., `["TAMPINES", "BEDOK", "PASIR RIS"]`) |

***

#### 🏠 Mode 2: Closed Property Transaction Records (`datasetMode: "transactions"`)

| Field | Type | Coverage | Description |
|---|---|---|---|
| `recordType` | `string` | 100% | Always `"transaction"` in Transactions Mode |
| `recordId` | `integer` | 100% | Transaction record ID |
| `salespersonName` | `string` | 100% | Name of the CEA salesperson who closed the transaction |
| `registrationNo` | `string` | 100% | CEA Registration Number of the salesperson (`salesperson_reg_num`) |
| `transactionDate` | `string` | 100% | Month and year the property deal was closed (e.g., `OCT-2025`, `JAN-2026`) |
| `propertyType` | `string` | 100% | Property category (`HDB`, `CONDOMINIUM_APARTMENTS`, `EXECUTIVE_CONDOMINIUM`, `LANDED`, `STRATA_LANDED`) |
| `transactionType` | `string` | 100% | Deal type (`RESALE`, `WHOLE RENTAL`, `ROOM RENTAL`, `NEW SALE`, `SUB-SALE`) |
| `represented` | `string` | 100% | Client party represented by the agent (`SELLER`, `BUYER`, `LANDLORD`, `TENANT`) |
| `town` | `string` | ~75% | HDB town name for HDB transactions (e.g., `YISHUN`, `JURONG WEST`, `PUNGGOL`, `BISHAN`) |
| `district` | `string` | ~25% | Singapore postal district (`01`–`28`) for private property transactions |
| `generalLocation` | `string` | ~25% | Planning area / general location for private residential deals |
| `ceaRegisterUrl` | `string` | 100% | Direct CEA Public Register verification URL for the closing agent |
| `scrapedAt` | `string` | 100% | ISO 8601 extraction timestamp |

***

### 📦 Sample Output JSON

#### Sample 1: Licensed CEA Real Estate Agent (`datasetMode: "salespersons"`)

```json
{
  "recordType": "salesperson",
  "recordId": 1,
  "salespersonName": "WANG SOON YEE, LARRY",
  "registrationNo": "P015022G",
  "estateAgentName": "MCDOWELL REALTY NETWORK",
  "estateAgentLicenseNo": "L3006213G",
  "registrationStartDate": "2011-01-01",
  "registrationEndDate": "2029-12-31",
  "yearsLicensed": 15,
  "isActiveLicense": true,
  "agencyTier": "Boutique / Specialist Agency",
  "ceaRegisterUrl": "https://www.cea.gov.sg/aceas/public-register/sales/1?regNo=P015022G",
  "scrapedAt": "2026-11-08T14:05:00.000Z"
}
```

#### Sample 2: Closed Residential Property Transaction (`datasetMode: "transactions"`)

```json
{
  "recordType": "transaction",
  "recordId": 1,
  "salespersonName": "SOH HUI HUA",
  "registrationNo": "P000003I",
  "transactionDate": "OCT-2025",
  "propertyType": "HDB",
  "transactionType": "RESALE",
  "represented": "SELLER",
  "town": "YISHUN",
  "district": null,
  "generalLocation": null,
  "ceaRegisterUrl": "https://www.cea.gov.sg/aceas/public-register/sales/1?regNo=P000003I",
  "scrapedAt": "2026-11-08T14:05:00.000Z"
}
```

***

### 🏛️ Major Singapore Estate Agencies & Market Structure

Singapore's residential and commercial brokerage industry is anchored by five major networks alongside 1,000+ specialist boutique agencies:

| Estate Agency (`estateAgentName`) | CEA Licence No | Primary Market Focus |
|---|---|---|
| **PropNex Realty Pte. Ltd.** | `L3008022J` | Singapore's largest listed brokerage (~12,000+ agents); HDB resale, new launches, private condos & landed |
| **ERA Realty Network Pte Ltd** | `L3002382K` | Second-largest network (~8,500+ agents); project marketing, HDB resale & Asia-Pacific cross-border sales |
| **Huttons Asia Pte. Ltd.** | `L3008899K` | Leading new launch project marketing, luxury private residential & executive condominiums |
| **OrangeTee & Tie Pte. Ltd.** | `L3009250K` | Proptech-driven residential brokerage, corporate leasing & HDB/condo resale |
| **Singapore Realtors Inc (SRI)** | `L3010738A` | High-net-worth landed homes, Good Class Bungalows (GCB), luxury condos & auction sales |
| **CBRE / Savills / Knight Frank** | Various | Commercial real estate, capital markets, strata office, retail & luxury residential advisory |

***

### 🛠️ Input Parameters Guide

| Parameter | Type | Default | Description |
|---|---|---|---|
| `datasetMode` | `string` | `"salespersons"` | Select `"salespersons"` (38,600+ licensed agents) or `"transactions"` (1.41M+ closed property deals). |
| `searchQuery` | `string` | `""` | Search by agent name, CEA Reg No (`R012345A`), agency name (`PROPNEX`), or town (`TAMPINES`). |
| `estateAgency` | `string` | `""` | Filter Salespersons Mode by major Singapore brokerage (`PROPNEX REALTY PTE. LTD.`, `ERA REALTY NETWORK PTE LTD`, etc.). |
| `propertyType` | `string` | `""` | Filter Transactions Mode by `HDB`, `CONDOMINIUM_APARTMENTS`, `EXECUTIVE_CONDOMINIUM`, `LANDED`, or `STRATA_LANDED`. |
| `transactionType` | `string` | `""` | Filter Transactions Mode by `RESALE`, `WHOLE RENTAL`, `ROOM RENTAL`, `NEW SALE`, or `SUB-SALE`. |
| `enrichTransactions` | `boolean` | `false` | When `true` in Salespersons Mode, queries the 1.41M transactions table per agent to attach closed deal counts and active towns. |
| `maxItems` | `integer` | `100` | Maximum number of records to extract (`1` to `50,000`). |

***

### 💡 High-Value Use Cases

#### 1. Real Estate Recruitment & Brokerage Headhunting

Team leaders and agency directors at PropNex, ERA, Huttons, and boutique brokerages use this dataset to identify experienced agents (`yearsLicensed >= 5`) or top transaction closers in specific HDB towns (`TAMPINES`, `WOODLANDS`, `JURONG`) and private districts.

#### 2. Mortgage Brokers, Conveyancing Law Firms & Interior Design Partnerships

Real estate agents are the #1 referral channel in Singapore for home loans, conveyancing lawyers, renovation/interior design (`CR06`) firms, and moving services. Build targeted partner outreach lists segmented by agency and town specialization.

#### 3. Proptech Analytics & Market Share Benchmarking

Aggregate the `transactions` dataset by `registrationNo`, `propertyType`, and `transactionDate` to calculate agent productivity, HDB vs. Condo market velocity, and buyer-vs-seller representation ratios across Singapore.

***

### 🐍 Python Analytics Example: Top-Producing Agents by Town

```python
import pandas as pd
import requests

## Pull closed property transactions from your Apify dataset
dataset_url = "https://api.apify.com/v2/datasets/YOUR_DATASET_ID/items?format=json"
deals = requests.get(dataset_url).json()
df = pd.DataFrame(deals)

## Rank top real estate agents by closed HDB Resale volume
top_agents = (
    df[(df["propertyType"] == "HDB") & (df["transactionType"] == "RESALE")]
    .groupby(["registrationNo", "salespersonName", "town"])
    .size()
    .reset_index(name="closed_resale_deals")
    .sort_values("closed_resale_deals", ascending=False)
)

print(top_agents.head(25))
```

***

### ❓ Frequently Asked Questions (FAQ)

#### What is the difference between `P` and `R` prefixes in Singapore CEA Registration Numbers?

- **`P` Prefix (e.g., `P000003I`):** Key Executive Officers (KEOs), partners, or directors of licensed estate agencies.
- **`R` Prefix (e.g., `R012345A`):** Registered real estate salespersons operating under a licensed estate agency.

#### Why is `enrichTransactions` set to `false` by default?

With `enrichTransactions: false`, the scraper extracts **100–200 licensed agents per batch in ~3 seconds**. Enabling `enrichTransactions: true` performs an individual query against the 1.41-million-row transactions database for each agent, which adds ~0.5–1 second per agent. For bulk transaction analysis across thousands of deals, running with `datasetMode: "transactions"` is 50× faster.

#### Can I export all 38,600+ Singapore real estate agents in a single run?

Yes! Set `datasetMode: "salespersons"`, leave all filters empty, and set `maxItems: 40000`. The scraper will paginate through the entire CEA register in batches of 200.

***

### 🗺️ Singapore HDB Towns & Private Property Districts Guide

When querying in **Transactions Mode (`datasetMode: "transactions"`)** or filtering via `searchQuery`, you can target specific Singapore HDB towns or postal districts:

#### 1. Major HDB Towns (`town` / `searchQuery`)

| Region | HDB Towns Available in CEA Transaction Records |
|---|---|
| **East Region** | `TAMPINES`, `BEDOK`, `PASIR RIS` |
| **North-East Region** | `SENGKANG`, `PUNGGOL`, `HOUGANG`, `SERANGOON`, `ANG MO KIO` |
| **North Region** | `WOODLANDS`, `YISHUN`, `SEMBAWANG` |
| **West Region** | `JURONG WEST`, `JURONG EAST`, `CHOA CHU KANG`, `BUKIT BATOK`, `BUKIT PANJANG`, `CLEMENTI` |
| **Central Region** | `BISHAN`, `TOA PAYOH`, `KALLANG/WHAMPOA`, `BUKIT MERAH`, `QUEENSTOWN`, `GEYLANG`, `BUKIT TIMAH`, `CENTRAL AREA`, `MARINE PARADE` |

#### 2. Key Private Residential Postal Districts (`district`)

| District Code | Singapore Neighborhoods Covered | Market Segment |
|---|---|---|
| `01` – `02` | Raffles Place, Marina Bay, Cecil, Tanjong Pagar | Core Central Region (CCR) — Luxury CBD Condos |
| `03` – `04` | Tiong Bahru, Queenstown, Alexandra, Sentosa Cove, HarbourFront | Rest of Central Region (RCR) & Sentosa Waterfront Luxury |
| `09` – `11` | Orchard Road, River Valley, Tanglin, Bukit Timah, Novena, Newton | Core Central Region (CCR) — Prime Luxury Condos & Good Class Bungalows (GCB) |
| `14` – `16` | Geylang, Paya Lebar, Katong, Joo Chiat, Marine Parade, East Coast, Bedok | East Coast Private Residential & Freehold Condos |
| `18` – `19` | Tampines, Pasir Ris, Serangoon Garden, Hougang, Punggol, Sengkang | Outside Central Region (OCR) — High-Volume Mass-Market Condos & ECs |
| `20` – `23` | Bishan, Ang Mo Kio, Upper Bukit Timah, Clementi Park, Jurong, Bukit Batok | Central-North & West Private Residential Corridors |
| `25` – `28` | Woodlands, Upper Thomson, Yishun, Sembawang, Seletar | North Region Executive Condominiums & Landed Estates |

***

### 🔗 Enterprise Proptech & B2B Enrichment Workflows

| Workflow | Stack | How It Works |
|---|---|---|
| **Brokerage Market Share Dashboard** | CEA Scraper + BigQuery / Looker Studio | Schedule monthly runs in `salespersons` mode (`maxItems: 40000`) to track net agent headcount growth across PropNex, ERA, Huttons, OrangeTee, and SRI. |
| **Top Closer Recruitment Pipeline** | CEA Scraper (`transactions` mode) + CRM | Pull 10,000 recent `RESALE` and `NEW SALE` transactions, group by `registrationNo`, and identify top-decile producers in target HDB towns or condo districts. |
| **Automated KYB Licence Verification** | CEA Scraper + Make / n8n / Webhook | Query `searchQuery: "R012345A"` via the Apify API whenever a new real estate agent registers on your portal to verify `isActiveLicense` and `estateAgentName`. |
| **Cross-Registry Agency KYB** | CEA Scraper + MAS / ACRA Scrapers | Match `estateAgentName` against Singapore ACRA corporate records to retrieve agency UENs, registered office addresses, and company directors. |

***

### 📊 Data Quality & Field Coverage Benchmarks

| Metric | Verified Benchmark |
|---|---|
| **Duplicate Rate** | **0%** — deduplicated by `registrationNo` (Salespersons Mode) or `recordId` (Transactions Mode) |
| **Salesperson Name & CEA Reg No (`salespersonName`, `registrationNo`)** | **100%** fill rate |
| **Estate Agency & Licence No (`estateAgentName`, `estateAgentLicenseNo`)** | **100%** fill rate |
| **Registration Start & Expiry Dates (`registrationStartDate`, `registrationEndDate`)** | **100%** fill rate |
| **Transaction Date, Property Type & Deal Type (Transactions Mode)** | **100%** fill rate |
| **Direct CEA Public Register URL (`ceaRegisterUrl`)** | **100%** fill rate |

***

### 🔧 Integration Examples (cURL & Node.js)

#### 1. Trigger via Apify REST API (cURL)

```bash
curl -X POST "https://api.apify.com/v2/acts/haketa~singapore-cea-agents-scraper/runs?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "datasetMode": "salespersons",
    "estateAgency": "PROPNEX REALTY PTE. LTD.",
    "maxItems": 200
  }'
```

#### 2. Node.js (`apify-client`) Example

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });

// Fetch closed condominium resale transactions
const run = await client.actor('haketa/singapore-cea-agents-scraper').call({
    datasetMode: 'transactions',
    propertyType: 'CONDOMINIUM_APARTMENTS',
    transactionType: 'RESALE',
    maxItems: 200,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(`Extracted ${items.length} closed condo resale transactions:`, items.slice(0, 3));
```

#### 3. Python (`apify-client`) Example

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

## 1. Extract licensed PropNex agents
run = client.actor("haketa/singapore-cea-agents-scraper").call(
    run_input={
        "datasetMode": "salespersons",
        "estateAgency": "PROPNEX REALTY PTE. LTD.",
        "maxItems": 250,
    }
)

items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
print(f"Fetched {len(items)} PropNex salespersons")
for agent in items[:5]:
    print(agent["salespersonName"], agent["registrationNo"], agent["yearsLicensed"], "yrs")
```

***

### 📋 Advanced Filtering & Query Recipes

Here are ready-to-use JSON input configurations for common Singapore real estate research tasks:

#### Recipe 1: Export Veteran Agents with Specific Surname or Keyword

```json
{
  "datasetMode": "salespersons",
  "searchQuery": "TAN",
  "estateAgency": "ERA REALTY NETWORK PTE LTD",
  "maxItems": 500
}
```

#### Recipe 2: Extract Closed Landed Property Sales Across Singapore

```json
{
  "datasetMode": "transactions",
  "propertyType": "LANDED",
  "transactionType": "RESALE",
  "maxItems": 1000
}
```

#### Recipe 3: Enrich Top Agents with Closed Transaction Breakdowns

```json
{
  "datasetMode": "salespersons",
  "estateAgency": "HUTTONS ASIA PTE. LTD.",
  "enrichTransactions": true,
  "maxItems": 50
}
```

***

### ⚠️ Limitations

- The CEA Public Register publishes official licence, agency, and closed transaction records; personal mobile numbers of agents are not included in the statutory register to comply with Singapore PDPA rules.
- Closed transaction records cover residential properties (HDB, Condominiums, Executive Condominiums, and Landed homes); commercial/industrial leases are not tracked in the residential transaction table.

***

### 📝 Changelog

#### v1.1 (November 2026)

- **Deep Pagination Support:** Set `maxItems` default to `0` (unlimited auto-pagination) and removed artificial page restrictions to support extracting 1,000+ agent or transaction records in a single run.
- Optimized query execution for sub-5-second sample and prefill runs.

#### v1.0 (November 2026)

- Initial release of **Singapore CEA Real Estate Agents & Property Transactions Scraper**.
- Added dual mode support (`salespersons` for 38,600+ agents and `transactions` for 1.41M+ closed residential property deals) plus optional per-agent transaction enrichment.

# Actor input Schema

## `datasetMode` (type: `string`):

Choose whether to extract licensed CEA Real Estate Salespersons (38,600+ agents) or closed Residential Property Transaction Records (1.41M+ HDB & private property deals).

## `searchQuery` (type: `string`):

Optional search by salesperson name, CEA registration number (e.g. R012345A), estate agency name (e.g. PROPNEX, ERA, HUTTONS), or Singapore town (e.g. TAMPINES, BISHAN).

## `estateAgency` (type: `string`):

Filter agents by major Singapore real estate agencies or leave empty for all agencies.

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

When in Transactions Mode, filter closed deals by Singapore property type.

## `transactionType` (type: `string`):

When in Transactions Mode, filter by resale, new sale, or rental.

## `enrichTransactions` (type: `boolean`):

When in Salespersons Mode, perform an extra lookup per agent to attach their total closed HDB/Condo transaction count and recent towns served.

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

Maximum number of CEA salesperson or transaction records to extract. 0 = unlimited, governed by available records.

## Actor input object example

```json
{
  "datasetMode": "salespersons",
  "searchQuery": "",
  "estateAgency": "",
  "propertyType": "",
  "transactionType": "",
  "enrichTransactions": false,
  "maxItems": 60
}
```

# Actor output Schema

## `salespersonName` (type: `string`):

Full registered name of the CEA salesperson.

## `registrationNo` (type: `string`):

Official CEA salesperson registration number.

## `estateAgentName` (type: `string`):

Licensed real estate agency the salesperson represents.

## `estateAgentLicenseNo` (type: `string`):

CEA estate agency licence number.

## `yearsLicensed` (type: `string`):

Years of active CEA registration experience.

# 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 = {
    "datasetMode": "salespersons",
    "searchQuery": "",
    "estateAgency": "",
    "propertyType": "",
    "transactionType": "",
    "enrichTransactions": false,
    "maxItems": 60
};

// Run the Actor and wait for it to finish
const run = await client.actor("haketa/singapore-cea-agents-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 = {
    "datasetMode": "salespersons",
    "searchQuery": "",
    "estateAgency": "",
    "propertyType": "",
    "transactionType": "",
    "enrichTransactions": False,
    "maxItems": 60,
}

# Run the Actor and wait for it to finish
run = client.actor("haketa/singapore-cea-agents-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 '{
  "datasetMode": "salespersons",
  "searchQuery": "",
  "estateAgency": "",
  "propertyType": "",
  "transactionType": "",
  "enrichTransactions": false,
  "maxItems": 60
}' |
apify call haketa/singapore-cea-agents-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,haketa/singapore-cea-agents-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/8Oc7JidHdNc0Rgy5y/builds/vGQmUfXrzT8lelPqJ/openapi.json
