PASAR API
One big static JSON on GitHub raw nesting every region, province, city/municipality and barangay; 2019 PSGC vintage, so cross-check newer cities against the PSGC APIs. PH-first.
View docs ↗ More Data & enrichment APIs All Philippines APIscurl --fail-with-body --location --max-time 30 'https://raw.githubusercontent.com/flores-jacob/philippine-regions-provinces-cities-municipalities-barangays/master/philippine_provinces_cities_municipalities_and_barangays_2019v2.json'
I'm building an app using a public Philippines API (no private credentials needed). API: PH Regions to Barangays JSON ~ complete locations dump (community) Provider: Community-maintained (Jacob Flores, GitHub) Endpoint: GET https://raw.githubusercontent.com/flores-jacob/philippine-regions-provinces-cities-municipalities-barangays/master/philippine_provinces_cities_municipalities_and_barangays_2019v2.json Response format: JSON Source: Community-maintained (Jacob Flores, GitHub) (https://github.com/flores-jacob/philippine-regions-provinces-cities-municipalities-barangays) Source type: Official open-data catalogue Endpoint type: Open-data catalogue JSON Integration difficulty: Copy-paste ready Last checked: 2026-07-03 Production caveat: The complete 1.3 MB JSON download parsed successfully. This is explicitly a 2019 snapshot; check current PSGC sources for subsequent boundary and name changes. Help me fetch and display this data. Follow the documented format and handle errors, empty responses, stale coverage, caching and rate limits.