Postal Codes Dataset for Philippines, PH

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

Report an issue
Downloads
752
Last updated
Rows
2,317
Size
240 kB
Format
csv
License · +1 more
CC-BY-4.0

Data Files

1 file

postal-codes-ph-sample

Postal Codes Dataset for Philippines (PH)

This dataset lists Philippine ZIP codes with place names, regions, provinces (or National Capital Region districts), cities and municipalities, and WGS84 coordinates, across every administrative region.

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

Data Sources

  • Postal codes, place names and coordinates: © GeoNames, postal code export for the Philippines, CC BY 4.0.
  • Alternative city names: the GeoNames gazetteer for the Philippines, same licence.
  • Province and city/municipality assignment: Philippine Standard Geographic Code (PSGC) of the Philippine Statistics Authority, read through psgc.gitlab.io.

Changes made to the source data: place and administrative names cleaned (parenthesised parts dropped, punctuation replaced by spaces); admin_code1 set to the ISO 3166-2:PH region code with the PH- prefix stripped (Metro Manila NCR becomes 00); admin_code2, admin_name3 and admin_code3 added from the PSGC; alternative_city_name added from the gazetteer.

Not endorsed by, or affiliated with, GeoNames or the Philippine Statistics Authority.

Known limitations

  • ZIP is not one-to-one with place. Metro Manila codes in particular are shared across several named barangays and post-office stations, so one code can appear on many rows. The primary key is (postal_code, place_name), never postal_code alone.
  • Institutional codes: the Philippines assigns ZIP codes to large institutional mailers and PO Box holders as well as to places. On those rows place_name is an organisation and the source supplies no administrative assignment, so those cells are blank rather than guessed. Filter on a populated admin_name1 if you need geographic rows only.
  • Coordinate accuracy: rows with accuracy 1 have a point interpolated by the source from neighbouring postal codes rather than matched to a gazetteer entry, and it can fall outside the province the row names. Check accuracy before relying on a coordinate.
  • Region codes: there is no region 04 (the old Region IV was split into 40 CALABARZON and 41 MIMAROPA), and 14 is BARMM while 15 is the Cordillera Administrative Region.

Usage

The dataset files are available in CSV format and can be accessed and downloaded using the links provided in datapackage.yaml. Read admin_code1 as text, never as a number: the National Capital Region is 00.

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-ph/3 files
  • ATTRIBUTION.txthttps://datahub.io/logistics/postal-codes-ph/_r/-/ATTRIBUTION.txt
  • README.mddocumentationhttps://datahub.io/logistics/postal-codes-ph/_r/-/README.md
  • datapackage.yamlmetadata & schemahttps://datahub.io/logistics/postal-codes-ph/_r/-/datapackage.yaml