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 APIscurl '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 free Philippines API (no auth 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 It returns 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: Still handle empty rows, schema changes, pagination, stale coverage, and temporary upstream failures. Help me fetch this and build a simple page that displays it nicely. Include basic production safeguards for errors, empty responses, schema changes, caching, and rate limits.