Request format for GeoAddress Lookup Service (XML Output)
Data Resource Details
Dataset
|
Address Lookup Service |
Data Providers
|
Digital Policy Office |
Data Category
|
Housing |
Format
|
XML |
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/xml, Accept-Language=en,zh-Hant and Accept-Encoding=gzip
- Please refer to the "Data Dictionary" for details.
Loading...
Additional Information of Data Resource
Date Created
|
2020-02-28 |
Date Published
|
2020-02-28 |
Content Language
|
English, Traditional Chinese |
The latest version before the selected start date is provided for your convenience