Regions API
Returns a paginated list of Philippine regions.
Endpoints
Section titled “Endpoints”List Regions
Section titled “List Regions”GET /v1/regions
Returns a list of all geographical regions in the Philippines.
Query Parameters
Section titled “Query Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
page | integer | No | Page number (default: 1). |
limit | integer | No | Items per page (default: 10, max: 100). |
Example Request
Section titled “Example Request”curl -H "Authorization: Bearer <token>" \ "https://api.gis.ph/v1/regions?page=1&limit=5"Get Single Region
Section titled “Get Single Region”GET /v1/regions/{id}
Returns detailed information about a single region.
Parameters
Section titled “Parameters”id(path): The unique identifier of the region.
Example Request
Section titled “Example Request”curl -H "Authorization: Bearer <token>" \ "https://api.gis.ph/v1/regions/1"Example Response
Section titled “Example Response”{ "data": { "id": 1, "name": "Ilocos Region", "designation": "Region I", "code": "010000000" }, "error": null}