Skip to content

API Overview

GIS.PH exposes a REST API for Philippine admin geography and custom data (datasets & features), plus auth/keys and a few operational surfaces.

LayerOwnsDoes not own
Code / OpenAPI (api.gis.ph)Technical contract: paths, params, schemas, operation summariesProduct narrative and onboarding essays
This site (docs.gis.ph)Intent, decisions, getting started, CLI/SDK/MCP guidesA second full OpenAPI field catalog

See Interactive API Reference for Scalar and the generated OpenAPI document.

Public Scalar visibility is controlled on the API (OPENAPI_VISIBLE_TAGS). Use https://api.gis.ph/reference as the always-current operation list.

Focus of the public product surface:

AreaTypical base pathsGuide on this site
Admin geography/v1/regions, /v1/provinces, /v1/municities, /v1/barangaysRegions, Provinces, Municities, Barangays

Identifiers: for admin geography, get-by-id path params use PSGC codes (e.g. /v1/barangays/0730600041), not internal serial row ids. Batch POST search also takes PSGC codes. Response bodies may still include a numeric id field for convenience; do not use it in URLs. | Custom data | /v1/datasets, /v1/features | Datasets & Features | | API keys | /v1/api-keys | Authentication + Scalar | | Webhooks / Admin | /v1/webhooks/*, /v1/admin/* | Scalar only (operational; no dedicated guides here) |

Other API families (places, politics, orgs, projects, etc.) may still exist on the live API for product/dashboard use but are not part of the public OpenAPI/Scalar surface and are not covered by guides on this site.

ClientPackage / serviceCoverage today
CLIgis.ph-cliRegions, provinces, municities, barangays, politicians
JS SDKgis.ph-sdkProvinces, barangays
PHP SDKgisph/sdk (Laravel-friendly)Provinces, barangays
MCPmcp.gis.phRegions, provinces, municities, barangays, datasets

SDKs and CLI intentionally cover the most common admin-geography workflows first. For field-level detail on datasets, features, and keys, use Scalar.