Skip to content
Scrappa Get API key
Spacious HK API 1 credit/request

Spacious HK Search API

GET https://scrappa.co/api/spacious-hk/search

Search homes for sale or rent on Spacious, the Hong Kong property portal. Filter by bedrooms, bathrooms, price, net or gross area, property type, neighbourhood and building, sort and page through the results, 14 listings per page. Every returned listing satisfies every filter you send, and the response lists the filters that were applied. A page past the last page returns an empty list with the page you asked for. The total and the total pages are not known there. Each listing carries the id, path, building, neighbourhood, price as text and as a number in HKD, net and gross area, price per square foot, bedrooms, bathrooms, position, photos and badges. Rent is HK$ per month, sale is the total in HK$. Sale prices on the cards are rounded by the site, for example HK$7.68M. The listing endpoint returns the exact price. When you sort by price, listings with the same price can repeat across pages. Open a listing with its path for the full record.

Spacious HK Search API 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/spacious-hk/search
Auth header
x-api-key
Cost
1 credit/request
mode = example
Response preview
200 OK
{
    "data": {
        "mode": "rent",
        "page": 1,
        "total": 1209,
        "filters": {
            "sort": "latest",
            "locale": "en",
            "bedrooms": 2,
            "price_max": 30000,
            "price_min": 20000
        },
        "listings": [
            {
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

15 optional filters available.

mode string Required

buy for homes for sale, rent for homes for rent.

Example value example
bedrooms integer Optional

Exact number of bedrooms: 0 (studio), 1, 2, 3 or 4. Not with min_bedrooms.

Example value 10
min_bedrooms integer Optional

That many bedrooms or more: 1, 2, 3 or 4. Not with bedrooms.

Example value 10
bathrooms integer Optional

Exact number of bathrooms: 1 or 2. Listings without a bathroom count are not returned.

Example value 10
min_bathrooms integer Optional

That many bathrooms or more: 1 or 2. Not with bathrooms.

Example value 10
price_min integer Optional

Lowest price in HKD. Rent is per month, sale is the total price.

Example value 10
price_max integer Optional

Highest price in HKD. Rent is per month, sale is the total price.

Example value 10
area_min integer Optional

Smallest area in square feet. The area_type says which area.

Example value 10
area_max integer Optional

Largest area in square feet. The area_type says which area.

Example value 10
area_type string Optional

net (default) or gross. Used with area_min and area_max.

Example value example
property_type string Optional

village_house or detached_house. Leave out for all homes. The site decides what counts as a village or detached house.

Example value example
neighbourhood_id string Optional

Neighbourhood id from the autocomplete endpoint with type=neighbourhood. One id, or up to 3 ids separated by commas.

Example value 1234567890
building_id string Optional

Building id from the autocomplete endpoint with type=building. Send the neighbourhood_id of the same result too.

Example value 1234567890
sort string Optional

latest (default), relevance, price_low, price_high, area_low, area_high, unit_price_low or unit_price_high. Listings with the same price can repeat across pages when you sort by price, so use latest to page through everything.

Example value relevance
locale string Optional

en (default) or zh-tw. Changes the language of names and links.

Example value en-US
page integer Optional

Page number, 1-based, up to 3000. 14 listings per page.

Example value 1

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "mode": "rent",
        "page": 1,
        "total": 1209,
        "filters": {
            "sort": "latest",
            "locale": "en",
            "bedrooms": 2,
            "price_max": 30000,
            "price_min": 20000
        },
        "listings": [
            {
                "id": "15093516",
                "url": "https://www.spacious.hk/en/hong-kong/36-mid-levels-central/151318--vantage-park-block-2/15093516-flat-liq921-2-beds",
                "path": "/en/hong-kong/36-mid-levels-central/151318--vantage-park-block-2/15093516-flat-liq921-2-beds",
                "price": 40000,
                "title": "Vantage Park Block 2",
                "images": [
                    "https://cdn.spacious.hk/uploads/property_image/143825205/image/thumb_q30-0d1e2f.jpg"
                ],
                "bedrooms": 2,
                "building": {
                    "id": 151318,
                    "url": "https://www.spacious.hk/en/hong-kong/n/36-mid-levels-central/b/151318--vantage-park-block-2",
                    "name": "Vantage Park Block 2"
                },
                "currency": "HKD",
                "latitude": 22.2793755,
                "longitude": 114.150727,
                "price_text": "HK$40,000",
                "image_count": 11,
                "neighbourhood": {
                    "id": 36,
                    "url": "https://www.spacious.hk/en/hong-kong/n/36-mid-levels-central",
                    "name": "Mid Levels Central"
                },
                "net_area_sqft": 611,
                "price_per_sqft": 65
            }
        ],
        "per_page": 14,
        "total_pages": 87
    },
    "meta": {
        "billable": true,
        "endpoint_family": "search"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

404

HTTP 404

The listing, building or agency does not exist or is no longer online. This response is not billable.

422

HTTP 422

A parameter is missing or invalid. This response is not billable.

503

HTTP 503

Spacious HK is temporarily unavailable, or its answer did not match the request, for example another page or an ignored filter. Retry the request. This response is not billable.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.