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-ug
| Field | Type | Description | Title |
|---|---|---|---|
| country_code | string | ISO 3166-1 alpha-2 -- always UG | Country Code |
| postal_code | string | Always empty -- Uganda has no bulk-fetchable national postal code system (a real 5-digit code is rolling out via a government-app concession, but no bulk export or API exists). Not a data gap; see ATTRIBUTION.txt. | Postal Code |
| place_name | string | Locality/place name (GeoNames populated place) | Place Name |
| admin_name1 | string | Region -- all 4 covered; blank where GeoNames assigns a place to no region | Administrative Name 1 |
| admin_code1 | string | ISO 3166-2:UG region code (GeoNames' own code already matches exactly) | Administrative Code 1 |
| admin_name2 | string | Not populated in this release -- ISO 3166-2:UG also defines district-level codes, not attempted here | Administrative Name 2 |
| admin_code2 | string | Not populated | Administrative Code 2 |
| admin_name3 | string | Not populated | Administrative Name 3 |
| admin_code3 | string | Not populated | Administrative Code 3 |
| latitude | number | GeoNames latitude (WGS84) | Latitude |
| longitude | number | GeoNames longitude (WGS84) | Longitude |
| accuracy | string | Not populated -- the GeoNames gazetteer dump carries no accuracy field | Accuracy |
| alternative_city_name | string | Not populated in this release | Alternative City Name |
Download
Download CSVAbout
- Last updated
- 6 October 2026
- Total rows
- 11,455
- Format
- CSV
- File size
- 626 kB
About this dataset
Uganda Locality Directory (No Postal Code System), UG
Uganda has no bulk-fetchable national postal code system – a real 5-digit code is rolling out via a government-app concession (Postman), but no bulk export or API exists yet. This is a free locality directory – populated places across every region, coordinates included. postal_code is intentionally empty on every row.
Column definitions, row count, size and last-updated date are in datapackage.yaml.
Data Sources
- Localities and coordinates: © GeoNames, main gazetteer dump for Uganda (populated places; the postal-code export does not exist for Uganda),
CC BY 4.0. See
ATTRIBUTION.txtin the packaged data.
Changes made to the source data: populated places only (feature class P); admin_code1 set to the ISO 3166-2:UG region code (UG- plus GeoNames' region code) and admin_name1 to the region name.
Not endorsed by, or affiliated with, GeoNames.
This dataset is free, not a premium product.
Known limitations
- Rows on GeoNames' reserved region code "00" (no specific region) have a blank
admin_name1andadmin_code1. accuracy,alternative_city_nameand administrative tiers 2 and 3 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