Should you be worried today?
Water, heat, rain and typhoon risks for your barangay, in plain words.
Open tubig.rjhon.netRain gauges
Rain gauges.
Request
All endpointsGET /v1/history/rain-gauges
curl "https://tubig-api.rjhon.net/v1/history/rain-gauges"
5 calls a minute per visitor. Follow next for more.
Parameters
None. It always returns the whole list.
Response
An object with items (the fields below), next (the next page, or null) and sources (whom to credit).
| Field | Type | What it is |
|---|---|---|
code | string | The gauge's code, for /rain-gauges/{code}/readings |
name | string | The gauge's name |
agency | string or null | PAGASA or MMDA |
Live example
Open in the browserThe first 2 items of what Tubig holds now.
{
"items": [
{
"code": "11204101",
"name": "Airport (PAGASA)",
"agency": "PAGASA"
},
{
"code": "11105301",
"name": "Antipolo",
"agency": "PAGASA"
}
],
"next": null,
"sources": [
{
"name": "PAGASA Pasig-Marikina-Tullahan flood forecasting and warning system",
"url": "https://pasig-marikina-tullahanffws.pagasa.dost.gov.ph/",
"licence": null
}
]
}