Postal Codes Dataset for Malaysia, MY

Postal Codes Dataset for Malaysia, MY including name of the city, town, or place, various administrative divisions and alternative city names.

Report an issue
Downloads
885
Last updated
Rows
2,931
Size
156 kB
Format
csv
License · +1 more
CC-BY-4.0

Data Files

1 file

postal-codes-my-sample

Postal Codes Dataset for Malaysia (MY)

This dataset lists Malaysian five-digit postcodes with the place name and state for each, across every state and federal territory, plus coordinates where a postal code could be resolved to a single confident point.

Column definitions, row count, size and last-updated date are in datapackage.yaml.

Data Sources

  • Postal codes, places and states: © Malaysian Communications and Multimedia Commission (MCMC), Postcode Dataset, via data.gov.my, CC BY 4.0.
  • Coordinates and accuracy: © GeoNames, postal code export for Malaysia, CC BY 4.0, joined by postal code.

Changes made to the source data: whitespace trimmed from all fields and exact duplicate rows removed; admin_code1 set to the ISO 3166-2:MY code with the MY- prefix stripped; coordinates joined from GeoNames by postal code (the single point for the code, or the unique match on city name, never averaged) and rounded to 5 decimal places.

Not endorsed by, or affiliated with, MCMC or GeoNames.

Known limitations

  • Only the state tier (admin_name1 / admin_code1) is populated. District (daerah) and mukim tiers are reserved as empty columns, because no source has yet been confirmed with a licence that clears redistribution.
  • One postal code can serve more than one place. Postcode 40160 covers both Sungai Buloh and Shah Alam in Selangor, so the primary key is (postal_code, place_name), never postal_code alone.
  • Where a postal code did not resolve to a single confident point, latitude, longitude and accuracy are left blank rather than guessed.

Usage

The dataset files are available in CSV format and can be accessed and downloaded using the links provided in datapackage.yaml. Read postal_code as text, never as a number.

For other inquiries, contact datahub@datopian.com

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.

  1. Fetch datapackage.yaml to inspect schema and resources
  2. Download data resources listed in datapackage.yaml
  3. Read README.md for full context
/logistics/postal-codes-my/3 files
  • ATTRIBUTION.txthttps://datahub.io/logistics/postal-codes-my/_r/-/ATTRIBUTION.txt
  • README.mddocumentationhttps://datahub.io/logistics/postal-codes-my/_r/-/README.md
  • datapackage.yamlmetadata & schemahttps://datahub.io/logistics/postal-codes-my/_r/-/datapackage.yaml