PASAR API

🇵🇭 PH Regions to Barangays JSON ~ complete locations dump (community)

← directory
Community-maintained (Jacob Flores, GitHub)Data & enrichmenttier: openauth: no authpricing: freeverified 2026-07-03

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 APIs

Call it

curl --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'

AI prompt

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.

Related Data & enrichment APIs

NEA Weather Forecast (data.gov.sg) ~ 2hr / 24hr / 4-day SG forecastsNEA PSI & Air Quality (data.gov.sg) ~ live haze readingsSingStat Table Builder API ~ official Singapore statisticsHunter Email Finder & VerifierApollo B2B Data & EnrichmentFullContact Person & Company EnrichmentPeople Data Labs (PDL)IPinfo IP Geolocation & ASNip-api Free IP GeolocationIPGeolocation IP Location & Security