Skip to content
Scrappa Get API key
28Hse API 1 credit/request

28Hse Autocomplete API

GET https://scrappa.co/api/28hse/autocomplete

Find estates by name, in English or Chinese, and get the estate id and district. Use the id as `estate_id` in the search. A keyword without a match returns an empty list. The keyword needs at least 2 characters.

28Hse Autocomplete API 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/28hse/autocomplete
Auth header
x-api-key
Cost
1 credit/request
keyword = running shoes
Response preview
200 OK
{
    "data": {
        "mode": "buy",
        "keyword": "Taikoo",
        "results": [
            {
                "id": "1140",
                "name": "TaiKoo Shing",
                "text": "TaiKoo Shing (Taikoo Shing)",
                "district": "Taikoo Shing"
            },
            {
                "id": "1141",
                "name": "Splendid Place",
...

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.

1 optional filter available.

keyword string Required

Estate or location name, at least 2 characters, e.g. Taikoo.

Example value running shoes
mode string Optional

buy (default) or rent.

Example value example

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": "buy",
        "keyword": "Taikoo",
        "results": [
            {
                "id": "1140",
                "name": "TaiKoo Shing",
                "text": "TaiKoo Shing (Taikoo Shing)",
                "district": "Taikoo Shing"
            },
            {
                "id": "1141",
                "name": "Splendid Place",
                "text": "Splendid Place (Quarry Bay)",
                "district": "Quarry Bay"
            }
        ]
    },
    "meta": {
        "billable": true,
        "endpoint_family": "autocomplete"
    },
    "success": true
}

Errors

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

404

HTTP 404

The listing 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

28Hse 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.