Singapore HDB Resale Flat Prices Scraper avatar

Singapore HDB Resale Flat Prices Scraper

Pricing

from $6.15 / 1,000 results

Go to Apify Store
Singapore HDB Resale Flat Prices Scraper

Singapore HDB Resale Flat Prices Scraper

Scrape Singapore HDB resale flat transactions from the official data.gov.sg open data portal. Get town, flat type, block, street, storey range, floor area, remaining lease and resale price. Export to JSON, CSV or Excel.

Pricing

from $6.15 / 1,000 results

Rating

0.0

(0)

Developer

Scrapers Lat

Scrapers Lat

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

Singapore HDB Resale Flat Prices Scraper

Singapore HDB Resale Flat Prices Scraper

Here is one real result, with every field the actor returns:

{
"month": "2026-07",
"town": "YISHUN",
"flatType": "MULTI-GENERATION",
"block": "605",
"streetName": "YISHUN ST 61",
"storeyRange": "07 TO 09",
"storeyRangeMid": 8,
"floorAreaSqm": 163,
"floorAreaSqft": 1754.52,
"flatModel": "Multi Generation",
"leaseCommenceDate": "1988",
"leaseCommenceYear": 1988,
"remainingLease": "60 years 07 months",
"remainingLeaseMonths": 727,
"resalePrice": 1190000,
"pricePerSqm": 7300.61,
"pricePerSqft": 678.25,
"fullAddress": "605 YISHUN ST 61",
"postalCode": "760605",
"latitude": 1.42172608902193,
"longitude": 103.836336375801,
"formattedAddress": "605 YISHUN STREET 61 NEE SOON CENTRAL MEADOWS SINGAPORE 760605",
"source": "Singapore HDB resale flat transactions (data.gov.sg)",
"observedAt": "2026-08-10T14:17:26.109Z"
}

The most complete Singapore HDB resale flat prices scraper available. It returns every field the official HDB resale transaction feed exposes for each sale, plus derived fields (price per sqm and sqft, floor area in sqft, storey midpoint, remaining lease in months, geocoding), and gives you seven filters to target exactly the transactions you need.

📥 Input · 📤 Output · 💰 Pricing · ▶️ Examples

Apify Coverage Output Billing

Table of contents

What it does

The actor reads the official HDB resale flat transactions published on the government open-data portal (data.gov.sg), applies the filters you pass as input, paginates through matching transactions, and writes one normalized record per resale to the run's dataset. On top of the raw feed it computes floor area in square feet, price per sqm and per sqft, the storey-range midpoint, and the remaining lease in months, and geocodes each address through Singapore's official OneMap service to add postal code, latitude, longitude and a formatted address. Prices are in Singapore dollars.

The portal rate-limits anonymous access, so large pulls are paced automatically. Data covers Singapore HDB resale flat transactions only.

Quickstart

Open the actor, paste this into the input, and press Run. It returns the 10 most recent HDB resale transactions.

{
"maxTransactions": 10,
"sortByNewest": true
}

Leave the filters empty to pull the full transaction history. Every input field is optional; with an empty input the actor returns the most recent transactions (default maxTransactions is 10).

Input reference

FieldTypeRequiredDefaultDescription
maxTransactionsintegerno10Maximum number of resale transactions to collect. The portal rate-limits anonymous access, so very large pulls are paced automatically.
townstringno(all)Filter to one HDB town, exact match, for example ANG MO KIO, TAMPINES, BEDOK, WOODLANDS. Use the town names exactly as HDB writes them, in upper case. Leave empty for all towns.
flatTypestringno(all)Filter to one flat type, exact match, for example 3 ROOM, 4 ROOM, 5 ROOM, EXECUTIVE. Leave empty for all flat types.
searchQuerystringno(empty)Free-text search across the transaction, for example a street name or block (ANG MO KIO AVE 10, 406). Leave empty to pull without a keyword filter.
minPriceintegerno(none)Only keep transactions with a resale price of at least this amount in SGD.
maxPriceintegerno(none)Only keep transactions with a resale price of at most this amount in SGD.
sortByNewestbooleannotrueReturn the most recently added transactions first. Turn off to read in the source order.

Filters combine with logical AND. If you pass no filters, the actor returns the full transaction history newest first, up to maxTransactions.

Output reference

One dataset item per resale transaction. Types: string, integer, number, or null when the source value is absent.

FieldTypeDescription
monthstringTransaction month in YYYY-MM format.
townstringHDB town, for example YISHUN.
flatTypestringFlat type, for example 4 ROOM, EXECUTIVE, MULTI-GENERATION.
blockstringBlock number.
streetNamestringStreet name.
storeyRangestringStorey band of the unit, for example 07 TO 09.
storeyRangeMidintegerMidpoint of the storey band, for example 8.
floorAreaSqmnumberFloor area in square metres.
floorAreaSqftnumberFloor area converted to square feet (derived).
flatModelstringHDB flat model, for example Multi Generation.
leaseCommenceDatestringYear the lease commenced, as published.
leaseCommenceYearintegerLease commencement year as a number.
remainingLeasestringRemaining lease as published, for example 60 years 07 months.
remainingLeaseMonthsintegerRemaining lease expressed in whole months (derived).
resalePriceintegerResale price in Singapore dollars.
pricePerSqmnumberresalePrice / floorAreaSqm, rounded to two decimals (derived).
pricePerSqftnumberresalePrice / floorAreaSqft, rounded to two decimals (derived).
fullAddressstringBlock and street joined into a single address string.
postalCodestringSingapore 6-digit postal code from OneMap geocoding, or null.
latitudenumberLatitude from OneMap geocoding, or null if the address could not be resolved.
longitudenumberLongitude from OneMap geocoding, or null.
formattedAddressstringStandardized address returned by OneMap, or null.
sourcestringData source label. Always the HDB resale transactions via data.gov.sg.
observedAtstringISO 8601 timestamp of when the record was collected.
errorstringPresent only on a failed run: a single item with a populated error field is written instead of results.

Example output record

Real record from a live run (input {"maxTransactions": 10, "sortByNewest": true}):

{
"month": "2026-07",
"town": "YISHUN",
"flatType": "MULTI-GENERATION",
"block": "605",
"streetName": "YISHUN ST 61",
"storeyRange": "07 TO 09",
"storeyRangeMid": 8,
"floorAreaSqm": 163,
"floorAreaSqft": 1754.52,
"flatModel": "Multi Generation",
"leaseCommenceDate": "1988",
"leaseCommenceYear": 1988,
"remainingLease": "60 years 07 months",
"remainingLeaseMonths": 727,
"resalePrice": 1190000,
"pricePerSqm": 7300.61,
"pricePerSqft": 678.25,
"fullAddress": "605 YISHUN ST 61",
"postalCode": "760605",
"latitude": 1.42172608902193,
"longitude": 103.836336375801,
"formattedAddress": "605 YISHUN STREET 61 NEE SOON CENTRAL MEADOWS SINGAPORE 760605",
"source": "Singapore HDB resale flat transactions (data.gov.sg)",
"observedAt": "2026-08-10T14:17:26.109Z"
}

Run via API and CLI

Start a run and wait for it to finish, then read the dataset. Replace <TOKEN> with your Apify API token.

Run synchronously and get dataset items in one call:

curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~singapore-hdb-resale-prices-scraper/run-sync-get-dataset-items?token=<TOKEN>" \
-H "Content-Type: application/json" \
-d '{"town":"TAMPINES","flatType":"4 ROOM","maxTransactions":50}'

Start a run asynchronously:

curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~singapore-hdb-resale-prices-scraper/runs?token=<TOKEN>" \
-H "Content-Type: application/json" \
-d '{"minPrice":1000000,"maxTransactions":500}'

Apify CLI:

apify call scrapers_lat/singapore-hdb-resale-prices-scraper \
--input '{"town":"YISHUN"}'

Fetch results

Every run writes to a dataset. Fetch items as JSON, CSV, or Excel by changing format:

# JSON
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=json"
# CSV
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=csv"
# Paginate large datasets
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&offset=1000&limit=1000"

<DATASET_ID> is returned as defaultDatasetId in the run object. Use offset and limit to page through large result sets. clean=true drops empty and internal fields.

Billing and limits

  • Pay per result. You are charged per record returned (result event). See the pricing tab for the current per-result price.
  • No charge on failure. If a run errors, the actor writes a single item with a populated error field and does not charge for it. Empty runs cost nothing.
  • Spend cap respected. Set maxTotalChargeUsd on the run; once reached, the actor stops emitting and charging further billable results.
  • Free Apify plans are capped at 10 records per run. Upgrade for higher maxTransactions.
  • Source rate limit. The data.gov.sg portal throttles anonymous access, so large pulls are paced automatically (about one page every 10 seconds).

FAQ and troubleshooting

A run returned 0 records. Why? The filter matched nothing. Check the exact town or flatType spelling (upper case), widen the price range, or leave the filters empty. Zero-result runs are not charged.

How do I benchmark one town or flat type? Set town and flatType to the exact values HDB uses, then read pricePerSqft and pricePerSqm across the returned transactions.

Why is latitude or postalCode null? The OneMap geocoder could not resolve that block and street. Missing values are returned as null, never invented.

Are the per-area prices official? No. pricePerSqm, pricePerSqft and floorAreaSqft are convenience fields computed from the official resalePrice and floorAreaSqm.

Is this an official HDB tool? No. This actor is independent and has no affiliation with the Housing & Development Board. It reads only data that is publicly available through the official government open-data portal (data.gov.sg) and OneMap.

More scrapers at scrapers.lat

Built and maintained by scrapers.lat, where we publish scrapers for public platforms: company registries, government data, finance, e-commerce and more. Browse the catalog or request a custom scraper at scrapers.lat.


Independent tool, not affiliated with the Housing & Development Board (HDB). Accesses only publicly available data from the official government open-data portal (data.gov.sg) and OneMap.