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

Spacious HK Agency Search API

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

Find agencies and agent shops by name. Each result has the agency id and the licence number. Use the id with the agency endpoint. A query without a match returns an empty list.

Spacious HK Agency Search API 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/spacious-hk/agencies/search
Auth header
x-api-key
Cost
1 credit/request
query = coffee shops
Response preview
200 OK
{
    "data": {
        "query": "universal",
        "results": [
            {
                "id": 1837,
                "name": "UNIVERSAL (T.W.) PROPERTY AGENCY LIMITED",
                "licence": "C-037504"
            },
            {
                "id": 1844,
                "name": "UNIVERSAL (S.T.) PROPERTY AGENCY LIMITED",
                "licence": "C-026287"
            }
...

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.

query string Required

Agency name, at least 2 characters, e.g. universal.

Example value coffee shops
limit integer Optional

Number of results, 1 to 25. Default 10.

Example value 10

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": {
        "query": "universal",
        "results": [
            {
                "id": 1837,
                "name": "UNIVERSAL (T.W.) PROPERTY AGENCY LIMITED",
                "licence": "C-037504"
            },
            {
                "id": 1844,
                "name": "UNIVERSAL (S.T.) PROPERTY AGENCY LIMITED",
                "licence": "C-026287"
            }
        ]
    },
    "meta": {
        "billable": true,
        "endpoint_family": "agency_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.