Request format for GeoAddress Lookup Service (JSON Output)

Download

Data Resource Details

Dataset
Address Lookup Service
Data Providers
Digital Policy Office
Data Category
Housing
Format
JSON
API
Available
Update Frequency
Monthly

Description

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.
loading
Loading...

Additional Information of Data Resource

Date Created
2020-02-28
Date Published
2020-02-28
Content Language
English, Traditional Chinese

Access to save data on the browser is disabled, some functions may not be available.

Please enable the access to unlock the full functionality of the website.