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-bj
| Field | Type | Description | Title |
|---|---|---|---|
| country_code | string | ISO 3166-1 alpha-2 -- always BJ | Country Code |
| postal_code | string | Always empty -- Benin has no operational postal code system. Not a data gap; see ATTRIBUTION.txt. | Postal Code |
| place_name | string | Locality/place name (GeoNames populated place) | Place Name |
| admin_name1 | string | Department (ISO 3166-2:BJ spelling) -- all 12 covered; blank where GeoNames assigns a place to no department | Administrative Name 1 |
| admin_code1 | string | ISO 3166-2:BJ code | Administrative Code 1 |
| admin_name2 | string | Not populated in this release | 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
- 3,760
- Format
- CSV
- File size
- 183 kB
About this dataset
Postal Codes Dataset for Benin (BJ)
Benin has no operational postal code system. This dataset is a locality and administrative directory: the populated places of Benin with their departments (all of them) and WGS84 coordinates. postal_code is empty on every row; this is not an oversight. It is not a substitute for a postal code list.
Column definitions, row count, size and last-updated date are in datapackage.yaml.
Data Sources
- Place names, departments and coordinates: © GeoNames, gazetteer dump for Benin and the admin1 codes table, CC BY 4.0.
Changes made to the source data: only populated places (GeoNames feature class "P") are kept; department codes (admin_code1) are written as ISO 3166-2:BJ codes (BJ- plus the department abbreviation) with the ISO department names (for example "Atakora" written as "Atacora" and "Kouffo" as "Couffo").
Not endorsed by, or affiliated with, GeoNames. See ATTRIBUTION.txt for the full attribution notice.
Known limitations
- Rows on GeoNames' reserved admin1 code "00" (no specific first-level division) have empty
admin_name1andadmin_code1rather than a guessed department. - The source has no administrative tier below the department, so
admin_name2,admin_code2,admin_name3andadmin_code3are empty, as areaccuracyandalternative_city_name.
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