James VenturaUnified ZIP Code
Colour theme

Philippines

Unified ZIP Code

A seven character postal code that resolves to the barangay. The existing four digit code stops at the city, so in Malabon twelve of the twenty one barangays share the code 1470. This is the code set that fixes that, for all 42,047 of them.

BC23023
BC
province, two lettersBulacan
23
municipality, two digitsSan Rafael
023
barangay, three digitsPoblacion

Try,,,, or.

The API

Public, no key, 60 requests a minute per address. Every response is JSON with an ok field. CORS is open, so it works from a browser.

EndpointReturns
/api/lookup?code=BC23023one barangay
/api/lookup?psgc=031422023one barangay, by geographic code
/api/lookup?postal=3006every barangay under an old zip code
/api/search?q=malabon&limit=25matching barangays
/api/provincesall 82 provinces
/api/municipalities?province=Bulacanmunicipalities, with prefixes
/api/barangays?municipality=BC23barangays in a municipality

The data

42,047 barangays, each carrying its Philippine Standard Geographic Code and its existing four digit zip code alongside the new one, so the three can be reconciled instead of requiring a cutover on a single day.

The code is derived from the PSGC, which the Philippine Statistics Authority is mandated to maintain, so the structure stays current at the source. This set is a snapshot, and barangays created, merged or renamed since are not in it.