地址搜尋服務

1.「地址搜尋服務」為網上服務,提供搜尋功能以檢索政府各決策局/部門所匯集的中、英文香港地址記錄,讓數據用戶可利用地址元資料,搜尋數碼格式(XML或JSON)的地址記錄。本網上服務旨在方便各界人士開發需要更快捷準確獲取香港地址資料的應用程式。

2.「地址搜尋服務」提供香港處所的格式化地址,包括私人屋苑和公共房屋、商業和工業大廈、政府建築物和辦公室、市場和購物中心、以及康樂和體育中心等公共設施。此外,部份提供的處所地址亦會代表一組建築群,例如學校或大學。「地址搜尋服務」的大部份地址只提供二維格式,該類地址通常包括街道名稱、門牌號數及樓宇名稱。三維格式地址,例如包含單位號碼和樓層號碼的地址,只適用於公共房屋樓宇。詳細資料請參考「地址搜尋服務」的數據字典。

3.本服務亦載錄一些非正式的樓宇名稱,包括新界鄉村地區內沿用已久及為人接受的地址。

4.業主可自行選擇樓宇的名稱,現時並無法例加以管制。本服務收錄某一樓宇名稱,並不表示該樓宇獲得該名稱或其組成部分的專用權。

5.由於現時並無法例規定業主或發展商須將樓宇名稱呈報或登記,所以本服務並未盡錄所有樓宇名稱,亦不能保證所載內容正確無誤及其時效性。尤其一些新落成樓宇,要確認其地址細節須經過多個部門的業務流程及協調,例如測量、審核資料及編配地理地址等,過程或需時間。不過,我們已竭力收錄所有已知的樓宇名稱,並加以核對,力求準確。如有新樓宇名稱,或現有樓宇名稱有所更改或停止使用,或本服務有任何錯漏之處,歡迎各界人士告知和指正,聯絡電郵:[adi@digitalpolicy.gov.hk](mailto:adi@digitalpolicy.gov.hk)。

6.地址搜尋服務能讓數據用戶透過輸入簡單的地址元資料,快速搜尋出完整的格式化地址記錄。建議輸入的地址元資料格式包括:
(甲) 樓宇名稱,例如:「旺角政府合署」、「荔枝角政府合署」;或
(乙) 街道名稱及門牌號碼,例如:「聯運街30號」、「荔灣道19號」;或
(丙) 屋邨名稱及樓宇座數,例如:「栢道25號政府宿舍A座」、「青松觀道政府宿舍F座」;或
(丁) 建議採用香港郵政的郵寄地址格式,其順序為:區域(香港/九龍/新界)、地區、街道名稱、 街道號碼、大廈名稱、樓層、單位(例如:香港薄扶林數碼港道100號)等。
遵循上述格式有助提升搜尋結果的準確性。

7.為何在使用 「地址搜尋服務」進行搜尋時準確度略低?
(甲) 若輸入「香港特別行政區」:由於「地址搜尋服務」僅能搜尋位於香港特別行政區的地址,因此無需額外輸入「香港特別行政區」;
(乙) 若輸入非地址資訊(例如:安老院、幼兒園、旅館等機構資訊) :「地址搜尋服務」未能提供非地址資訊的搜尋;
上述額外輸入的資訊,均會影響搜尋結果。

資料預覽

Request format for GeoAddress Lookup Service (JSON Output)

顯示 1 / 1 筆來源紀錄

原始XML檔

探索資料

1 筆已擷取紀錄 · 2 個欄位

此來源回應的已擷取快照;不代表上游資料集的所有紀錄。

欄位 (2)

載入資料…

RequestAddressSuggestedAddress
{"AddressLine":"3508215732T20110704"}
{"Address":{"PremisesAddress":{"EngPremisesAddress":{"BuildingName":"CENTRAL GOVERNMENT OFFICES","EngStreet":{"StreetName":"TIM MEI AVENUE","BuildingNoFrom":"2"},"EngDistrict":{"DcDistrict":"CENTRAL & WESTERN DISTRICT"},"Region":"HK"},"ChiPremisesAddress":{"Region":"香港","ChiDistrict":{"DcDistrict":"中西區"},"ChiStreet":{"StreetName":"添美道","BuildingNoFrom":"2"},"BuildingName":"政府總部"},"GeoAddress":"3508215732T20110704","GeospatialInformation":{"Northing":"815732","Easting":"835082","Latitude":"22.28046","Longitude":"114.16537"}}}}
查看全部樣本欄位
紀錄 1
RequestAddress
{"AddressLine":"3508215732T20110704"}
SuggestedAddress
{"Address":{"PremisesAddress":{"EngPremisesAddress":{"BuildingName":"CENTRAL GOVERNMENT OFFICES","EngStreet":{"StreetName":"TIM MEI AVENUE","BuildingNoFrom":"2"},"EngDistrict":{"DcDistrict":"CENTRAL & WESTERN DISTRICT"},"Region":"HK"},"ChiPremisesAddress":{"Region":"香港","ChiDistrict":{"DcDistrict":"中西區"},"ChiStreet":{"StreetName":"添美道","BuildingNoFrom":"2"},"BuildingName":"政府總部"},"GeoAddress":"3508215732T20110704","GeospatialInformation":{"Northing":"815732","Easting":"835082","Latitude":"22.28046","Longitude":"114.16537"}}}}
查看樣本 JSON
[
  {
    "RequestAddress": {
      "AddressLine": "3508215732T20110704"
    },
    "SuggestedAddress": {
      "Address": {
        "PremisesAddress": {
          "EngPremisesAddress": {
            "BuildingName": "CENTRAL GOVERNMENT OFFICES",
            "EngStreet": {
              "StreetName": "TIM MEI AVENUE",
              "BuildingNoFrom": "2"
            },
            "EngDistrict": {
              "DcDistrict": "CENTRAL & WESTERN DISTRICT"
            },
            "Region": "HK"
          },
          "ChiPremisesAddress": {
            "Region": "香港",
            "ChiDistrict": {
              "DcDistrict": "中西區"
            },
            "ChiStreet": {
              "StreetName": "添美道",
              "BuildingNoFrom": "2"
            },
            "BuildingName": "政府總部"
          },
          "GeoAddress": "3508215732T20110704",
          "GeospatialInformation": {
            "Northing": "815732",
            "Easting": "835082",
            "Latitude": "22.28046",
            "Longitude": "114.16537"
          }
        }
      }
    }
  }
]

觀察到的欄位

欄位樣本 JSON 類型
RequestAddressobject
SuggestedAddressobject

資源

資料集名稱及介紹採用官方繁體中文詮釋資料;資源欄位沿用英文目錄來源的原文,資源內容語言另列。

預設格式: JSON · 語言: en, zh-Hant

  • Request format for Address Lookup Service (JSON Output)

    ### GET request:
    https://www.als.gov.hk/lookup?q=<input address in free text format>
    ### POST request:
    POST /lookup HTTP/1.1
    Host: www.als.gov.hk
    Content-Type: application/x-www-form-urlencoded; charset=utf-8
    Content-Length: <number of bytes in the body of the request>
    q=<input address in free-text format>
    ### Notes:
    This web service allows data consumers to look up address records using simple address element information [for example (a) building name, (b) street name and number or (c) estate name and block number]. The service will also search for addresses with spelling or pronunciation similar to the user input information for reference use.
    + Input parameters:
    + "q" – input address element information (mandatory; URL-encoded(percent-encoded));
    + "n" – maximum number of records to be returned (optional; range: 1-200; default: 200);
    + "t" – tolerance on returned record scores (optional; range: 0-80; default: 20);
    + "b" – enable/disable basic searching mode, default disabled (optional; range: 0 or 1; default: 0).
    + The request and response are encoded in UTF-8.
    + The **data output format, language** (Chinese / English / Both Chinese and English) and **compression method** can be specified using the HTTP header parameters: Accept=application/json, Accept-Language=en,zh-Hant and Accept-Encoding=gzip
    + Please refer to the "Data Dictionary" for details.

  • Request format for GeoAddress Lookup Service (JSON Output)

    ### GET request:
    https://www.als.gov.hk/galookup?ga=<input GeoAddress>
    ### POST request:
    POST /galookup HTTP/1.1
    Host: www.als.gov.hk
    Content-Type: application/x-www-form-urlencoded
    Content-Length: <number of bytes in the body of the request>
    ga=<input GeoAddress>

    ### Notes:
    This web service allows data consumers to look up address records using GeoAddress.
    + Input parameters:
    + "ga" – input GeoAddress (mandatory; 19 characters string);
    + "n" – maximum number of records to be returned (optional; range: 1-200; default: 200).
    + The request and response are encoded in UTF-8.
    + The **data output format, language** (Chinese / English / Both Chinese and English) and **compression method** can be specified using the HTTP header parameters: Accept=application/json, Accept-Language=en,zh-Hant and Accept-Encoding=gzip
    + Please refer to the "Data Dictionary" for details.

  • Request format for GeoAddress Lookup Service (XML Output)

    格式: XML

    ### GET request:
    https://www.als.gov.hk/galookup?ga=<input GeoAddress>
    ### POST request:
    POST /galookup HTTP/1.1
    Host: www.als.gov.hk
    Content-Type: application/x-www-form-urlencoded
    Content-Length: <number of bytes in the body of the request>
    ga=<input GeoAddress>

    ### Notes:
    This web service allows data consumers to look up address records using GeoAddress.
    + Input parameters:
    + "ga" – input GeoAddress (mandatory; 19 characters string);
    + "n" – maximum number of records to be returned (optional; range: 1-200; default: 200).
    + The request and response are encoded in UTF-8.
    + The **data output format, language** (Chinese / English / Both Chinese and English) and **compression method** can be specified using the HTTP header parameters: Accept=application/xml, Accept-Language=en,zh-Hant and Accept-Encoding=gzip
    + Please refer to the "Data Dictionary" for details.

  • Addresses from Address Lookup Service

    Hong Kong address records in both Chinese and English aggregated from various Government Bureaux/Departments.

  • Request format for Address Lookup Service (XML Output)

    格式: XML

    ### GET request:
    https://www.als.gov.hk/lookup?q=<input address in free text format>
    ### POST request:
    POST /lookup HTTP/1.1
    Host: www.als.gov.hk
    Content-Type: application/x-www-form-urlencoded; charset=utf-8
    Content-Length: <number of bytes in the body of the request>
    q=<input address in free-text format>
    ### Notes:
    This web service allows data consumers to look up address records using simple address element information [for example (a) building name, (b) street name and number or (c) estate name and block number]. The service will also search for addresses with spelling or pronunciation similar to the user input information for reference use.
    + Input parameters:
    + "q" – input address element information (mandatory; URL-encoded(percent-encoded));
    + "n" – maximum number of records to be returned (optional; range: 1-200; default: 200);
    + "t" – tolerance on returned record scores (optional; range: 0-80; default: 20);
    + "b" – enable/disable basic searching mode, default disabled (optional; range: 0 or 1; default: 0).
    + The request and response are encoded in UTF-8.
    + The **data output format, language** (Chinese / English / Both Chinese and English) and **compression method** can be specified using the HTTP header parameters: Accept=application/xml, Accept-Language=en,zh-Hant and Accept-Encoding=gzip
    + Please refer to the "Data Dictionary" for details.