Skip to content

Cities & Municipalities

Returns a paginated list of Philippine cities and municipalities.

GET /v1/municities

Returns a list of cities and municipalities. Filtering by province is required.

ParameterTypeRequiredDescription
provincestringYesExact (case-insensitive) name of the province.
namestringNoStarts-with search for the city or municipality name.
pageintegerNoPage number (default: 1).
limitintegerNoItems per page (default: 10, max: 100).
Terminal window
curl -H "Authorization: Bearer <token>" \
"https://api.gis.ph/v1/municities?province=Bohol&name=Al&limit=2"
{
"data": [
{
"id": 1595,
"name": "Alburquerque",
"type": "Municipal",
"province": {
"id": 135,
"code": "0701200000",
"name": "Bohol"
}
},
{
"id": 1596,
"name": "Alicia",
"type": "Municipal",
"province": {
"id": 135,
"code": "0701200000",
"name": "Bohol"
}
}
],
"meta": {
"total": 2,
"page": 1,
"limit": 2,
"totalPages": 1,
"links": {
"self": "...",
"next": "...",
"prev": null
}
},
"error": null
}

GET /v1/municities/{id}

Returns detailed information about a single city or municipality.

ParameterTypeRequiredDescription
geometrybooleanNoIf true, includes barangay GeoJSON boundaries in the response.
  • id (path): The unique identifier of the municipality.
Terminal window
curl -H "Authorization: Bearer <token>" \
"https://api.gis.ph/v1/municities/1595?geometry=true"
{
"data": {
"id": 1595,
"name": "City of Isabela",
"code": "1001301000",
...
},
"geojson": {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": { ... },
"properties": {
"name": "Poblacion",
...
}
}
]
},
"error": null
}
Status CodeDescription
400Bad Request - Missing required province parameter.
401Unauthorized - Invalid or missing API key.
404Not Found - Municipality ID does not exist.