PASAR API

🇵🇭 PSGC API ~ Philippine Standard Geographic Codes (community)

← directory
Community-maintained (psgc.gitlab.io), data from PSAMaps & locationtier: openauth: no authpricing: freeverified 2026-07-03

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 APIs All Philippines APIs

Call it

curl --fail-with-body --location --max-time 30 'https://psgc.gitlab.io/api/regions/'

AI prompt

I'm building an app using a public Philippines API (no private credentials 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/
Response format: 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 and display this data. Follow the documented format and handle errors, empty responses, stale coverage, caching and rate limits.

Related Maps & location APIs

OneMap ~ Singapore's official map: geocoding, routing & themesMapbox Geocoding API ~ forward/reverse geocodingGoogle Maps PlatformHERE Location ServicesRadar Maps PlatformNominatim (OpenStreetMap)Malaysia PostcodesTomTom Maps & RoutingAzure MapsFoursquare Places API