Singapore HDB Resale Flat Prices Scraper
Pricing
from $6.15 / 1,000 results
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Share
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
Table of contents
- What it does
- Quickstart
- Input reference
- Output reference
- Example output record
- Run via API and CLI
- Fetch results
- Billing and limits
- FAQ and troubleshooting
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
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
maxTransactions | integer | no | 10 | Maximum number of resale transactions to collect. The portal rate-limits anonymous access, so very large pulls are paced automatically. |
town | string | no | (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. |
flatType | string | no | (all) | Filter to one flat type, exact match, for example 3 ROOM, 4 ROOM, 5 ROOM, EXECUTIVE. Leave empty for all flat types. |
searchQuery | string | no | (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. |
minPrice | integer | no | (none) | Only keep transactions with a resale price of at least this amount in SGD. |
maxPrice | integer | no | (none) | Only keep transactions with a resale price of at most this amount in SGD. |
sortByNewest | boolean | no | true | Return 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.
| Field | Type | Description |
|---|---|---|
month | string | Transaction month in YYYY-MM format. |
town | string | HDB town, for example YISHUN. |
flatType | string | Flat type, for example 4 ROOM, EXECUTIVE, MULTI-GENERATION. |
block | string | Block number. |
streetName | string | Street name. |
storeyRange | string | Storey band of the unit, for example 07 TO 09. |
storeyRangeMid | integer | Midpoint of the storey band, for example 8. |
floorAreaSqm | number | Floor area in square metres. |
floorAreaSqft | number | Floor area converted to square feet (derived). |
flatModel | string | HDB flat model, for example Multi Generation. |
leaseCommenceDate | string | Year the lease commenced, as published. |
leaseCommenceYear | integer | Lease commencement year as a number. |
remainingLease | string | Remaining lease as published, for example 60 years 07 months. |
remainingLeaseMonths | integer | Remaining lease expressed in whole months (derived). |
resalePrice | integer | Resale price in Singapore dollars. |
pricePerSqm | number | resalePrice / floorAreaSqm, rounded to two decimals (derived). |
pricePerSqft | number | resalePrice / floorAreaSqft, rounded to two decimals (derived). |
fullAddress | string | Block and street joined into a single address string. |
postalCode | string | Singapore 6-digit postal code from OneMap geocoding, or null. |
latitude | number | Latitude from OneMap geocoding, or null if the address could not be resolved. |
longitude | number | Longitude from OneMap geocoding, or null. |
formattedAddress | string | Standardized address returned by OneMap, or null. |
source | string | Data source label. Always the HDB resale transactions via data.gov.sg. |
observedAt | string | ISO 8601 timestamp of when the record was collected. |
error | string | Present 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:
# JSONcurl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=json"# CSVcurl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=csv"# Paginate large datasetscurl "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 (
resultevent). 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
errorfield and does not charge for it. Empty runs cost nothing. - Spend cap respected. Set
maxTotalChargeUsdon 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.
Related scrapers
- Singapore HDB Rental Scraper: HDB approved rental transactions.
- Singapore URA Property Scraper: private property transactions and rentals.
- Singapore PropertyGuru Scraper: property listings with agent contacts.
- Singapore CEA Estate Agents Scraper: licensed estate agents and salespersons.
- Singapore COE Prices & Bidding Results Scraper: COE bidding results and premiums.
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.
