PH Address API
A Data API of Regions, Provinces, CityMunicipalities, and Barangay of the Philippines
Welcome to the PH Address API, your reliable source for accurate address data in the Philippines. Our seamless integration simplifies tasks by providing efficient access to up-to-date information, streamlining operations and ensuring reliable address data for your applications.
DocumentationAPI Endpoints
-
GET
/api/v1/ph/regionsRetrieve a list of regions. Optional query parameter:
regCode// Example fetch('/api/v1/ph/regions') .then(response => response.json()) .then(data => console.log(data)); -
GET
/api/v1/ph/provincesRetrieve a list of provinces. Optional query parameters:
regCode,provCode// Example fetch('/api/v1/ph/provinces?regCode=01') .then(response => response.json()) .then(data => console.log(data)); -
GET
/api/v1/ph/citymunsRetrieve a list of cities/municipalities. Optional query parameters:
regCode,provCode// Example fetch('/api/v1/ph/citymuns?provCode=0209') .then(response => response.json()) .then(data => console.log(data)); -
GET
/api/v1/ph/barangaysRetrieve a list of barangays. Optional query parameters:
regCode,provCode,citymunCode// Example fetch('/api/v1/ph/barangays?citymunCode=030801') .then(response => response.json()) .then(data => console.log(data));