PASAR API
Keyless static JSON API on GitLab Pages serving PSA's official PSGC codes — regions, provinces, cities, municipalities, barangays; community-maintained, so re-check after quarterly PSGC updates. PH-first.
View docs ↗ More Maps & location APIscurl 'https://psgc.gitlab.io/api/regions/'
I'm building an app using a free Philippines API (no auth needed). API: PSGC API ~ Philippine Standard Geographic Codes (community) Provider: Community-maintained (psgc.gitlab.io), data from PSA Endpoint: GET https://psgc.gitlab.io/api/regions/ It returns JSON. Source: Community-maintained (psgc.gitlab.io), data from PSA (https://psgc.gitlab.io/api/) 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.