Part of a Data Solution
- Explore →
Postal Codes Solution
Every worldwide postal-code dataset in one bundle — the ultimate global reference for precise postal codes.
API Access
Access dataset files directly from scripts, code, or AI agents.
Browse dataset files
API Access
Access dataset files directly from scripts, code, or AI agents.
Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.
Start with these files — they give you everything you need to understand and access the dataset.
- 1. Fetch datapackage.yaml to inspect schema and resources
- 2. Download data resources listed in datapackage.yaml
- 3. Read README.md for full context
Data Files
Explore with AIpostal-codes-hk
| Field | Type | Description | Title |
|---|---|---|---|
| country_code | string | ISO 3166-1 alpha-2 code for the country. | Country Code |
| postal_code | string | Always empty: Hong Kong has no postal code system. | Postal Code |
| place_name | string | Name of the city, town, or place. | Place Name |
| admin_name1 | string | District (one of the 18 districts of Hong Kong). Empty where GeoNames assigns the place to no district. | Administrative Name 1 |
| admin_code1 | string | Always empty: Hong Kong has no ISO 3166-2 subdivision codes. | Administrative Code 1 |
| admin_name2 | string | Secondary administrative division (e.g., county, district). | Administrative Name 2 |
| admin_code2 | string | Code for the secondary administrative division. | Administrative Code 2 |
| admin_name3 | string | Tertiary administrative division (e.g., municipality, borough). | Administrative Name 3 |
| admin_code3 | string | Code for the tertiary administrative division. | Administrative Code 3 |
| latitude | number | Latitude coordinate of the place. | Latitude |
| longitude | number | Longitude coordinate of the place. | Longitude |
| accuracy | string | Always empty: the GeoNames gazetteer dump carries no accuracy value. | Accuracy |
| alternative_city_name | string | Alternative name(s) for the city or place. | Alternative City Name |
Download
Download CSVAbout
- Last updated
- 6 October 2026
- Total rows
- 1,342
- Format
- CSV
- File size
- 68.2 kB
About this dataset
Postal Codes Dataset for Hong Kong (HK)
Hong Kong has no postal code system, by deliberate policy. This is a free locality directory of populated places grouped by district, with coordinates. It is not a substitute postal-code list: postal_code is empty on every row.
Column definitions, row count, size and last-updated date are in datapackage.yaml.
Data Sources
- Places, districts and coordinates: © GeoNames gazetteer for Hong Kong, CC BY 4.0.
- District names: the GeoNames admin1 reference table, same licence.
Changes made to the source data: only populated places (feature class P) kept; GeoNames' district codes mapped to plain district names with the redundant "District" suffix dropped; coordinates unchanged.
Not endorsed by, or affiliated with, GeoNames.
Known limitations
- Hong Kong has no ISO 3166-2 subdivisions, so
admin_code1is empty on every row. - Places on GeoNames' reserved admin1 bucket "00" or with no admin1 have an empty district rather than a guessed one.
accuracy,alternative_city_nameand the second and third administrative levels are empty.
Usage
The dataset files are available in CSV format and can be accessed and downloaded using
the links provided in datapackage.yaml.
For other inquiries, contact datahub@datopian.com