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.
Premium
You're viewing a free sample
Get the complete dataset — all rows and files — delivered instantly after checkout, with lifetime access to the latest version.
- Secure checkout via Stripe
- Instant download after payment
- Lifetime access to the latest version
- Creative Commons Attribution 4.0 International license
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
postal-codes-sk-sample
| Field | Type | Description | Constraints | Title |
|---|---|---|---|---|
| country_code | string | ISO 3166-1 alpha-2 -- always SK | Country Code | |
| postal_code | string | Slovak postal code (PSC, 5 digits with a space, NNN NN) | { "pattern": "^\\d{3} \\d{2}$" } | Postal Code |
| place_name | string | Locality/place name | Place Name | |
| admin_name1 | string | Kraj (region) -- 8/8 covered | Administrative Name 1 | |
| admin_code1 | string | ISO 3166-2:SK code | Administrative Code 1 | |
| admin_name2 | string | Okres (district) -- 79 distinct values | Administrative Name 2 | |
| admin_code2 | string | GeoNames' own internal district code -- not an official ISO code | Administrative Code 2 | |
| admin_name3 | string | Not populated -- no third admin tier in this source | 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 | GeoNames accuracy of latitude/longitude. GeoNames documents 1=estimated, 4=geonameid, 6=centroid of addresses or shape; other values (e.g. 3) occur upstream without documentation. Empty where GeoNames gives none. | Accuracy | |
| alternative_city_name | string | Not populated in this release | Alternative City Name |
Download
Download sample CSVAbout
- Last updated
- 6 October 2026
- Total rows
- 100
- Format
- CSV
- File size
- 8.94 kB
About this dataset
Slovakia (SK) — internal licensing notes
Source research, 2026-09-03 — tier-1 check done before defaulting to GeoNames
Checked Slovenská pošta (the official postal operator) first: posta.sk/psc
offers only a web search tool (address → PSC lookup), no bulk download.
A third-party portal (posty.sk) mentions using an "official XML feed"
from Slovenská pošta but does not expose a public bulk download link. No
official open bulk source found — GeoNames used, with confidence,
because it turns out to already carry the exact real ISO region codes
(see below), not as a default-of-convenience.
The source — GeoNames SK
https://download.geonames.org/export/zip/SK.zip # 5,233 rows
Licence CC-BY-4.0, verified against export/zip/readme.txt on
2026-09-03 — Slovakia carries no per-country caveat.
Verified directly against the raw source file:
admin_name1/admin_code1— Kraj (region), 8/8 covered. GeoNames' own 2-letter codes (BC, BL, KI, NI, PV, TC, TA, ZI) already match ISO 3166-2:SK exactly — verified against Wikipedia's ISO_3166-2:SK page 2026-09-03. Unlike JP/CZ/IN/PK in this batch, there is no false-friend or unrelated-numbering hazard here — just prependSK-.admin_name2— Okres (district), 79 distinct values — matches Slovakia's real 79 okresy.admin_name3— empty on all 5,233 rows. No third admin tier in this source.- 0 exact duplicate rows, 0 (postal_code, place_name) collisions, 0
literal
"nan"strings, clean integer accuracy values (1/3/4).
licence_status
{
"channel": "postal-codes-r2",
"source_url": "https://download.geonames.org/export/zip/SK.zip",
"licence_id": "CC-BY-4.0",
"collected_at": "2026-09-03",
"decision": "compatible",
"decided_by": "claude-session-2026-09-03",
"decided_at": "2026-09-03"
}
Proposed tier
B ($49). Clean, complete single-source rebuild – 2 tiers, 0 collisions, correct ISO codes verified rather than assumed.
Build — 2026-09-03
Built via datasets/sk/scripts/build_postal_codes_product.py.
| value | |
|---|---|
| Final rows | 5,233 |
| Kraje covered | 8/8 |
| Okresy | 79 |
| Distinct postal codes | 3,480 |
| (postal_code, place_name) collisions | 0 |
Frictionless validation: valid: True.
Status: built and validated locally only. Nothing published to R2, nothing committed to git yet.