Should you be worried today?
Water, heat, rain and typhoon risks for your barangay, in plain words.
Open tubig.rjhon.netRain readings
Every reading kept for one rain gauge.
Request
All endpointsGET /v1/history/rain-gauges/{code}/readings
curl "https://tubig-api.rjhon.net/v1/history/rain-gauges/11204101/readings?limit=2"
5 calls a minute per visitor. Follow next for more. The example uses the first gauge on record; list them with the endpoint above it.
Parameters
| Name | In | Type | Default | What it does |
|---|---|---|---|---|
coderequired | path | string | A rain gauge's code from /v1/history/rain-gauges | |
limit | query | integer, 1 to 500 | 100 | Items per call, at most 500 |
cursor | query | string or null | The cursor from a previous response's next link | |
from | query | date (YYYY-MM-DD) or null | Manila date, YYYY-MM-DD | |
to | query | date (YYYY-MM-DD) or null | Manila date, YYYY-MM-DD |
Response
An object with items (the fields below), next (the next page, or null) and sources (whom to credit).
| Field | Type | What it is |
|---|---|---|
observed_at | datetime (UTC, ISO 8601) | When the reading was taken (UTC) |
last_10min_mm | number or null | Rain in the last 10 minutes, mm |
rain_30m_mm | number or null | Rain in the last 30 minutes, mm |
rain_1h_mm | number or null | Rain in the last hour, mm |
rain_3h_mm | number or null | Rain in the last 3 hours, mm |
rain_day_mm | number or null | Rain since midnight, mm |
unconfirmed | true or false | True when the feed marks the reading (*) |
Live example
Open in the browserThe first 2 items of what Tubig holds now.
{
"items": [
{
"observed_at": "2026-10-02T21:10:00Z",
"last_10min_mm": 0.0,
"rain_30m_mm": 0.0,
"rain_1h_mm": 0.0,
"rain_3h_mm": 0.0,
"rain_day_mm": 0.0,
"unconfirmed": false
},
{
"observed_at": "2026-10-02T20:50:00Z",
"last_10min_mm": 0.0,
"rain_30m_mm": 0.0,
"rain_1h_mm": 0.0,
"rain_3h_mm": 0.0,
"rain_day_mm": 0.0,
"unconfirmed": false
}
],
"next": "/v1/history/rain-gauges/11204101/readings?limit=2&cursor=WyJkYXRldGltZSIsICIyMDI2LTEwLTAyVDIwOjUwOjAwKzAwOjAwIiwgNDY1MV0",
"sources": [
{
"name": "PAGASA Pasig-Marikina-Tullahan flood forecasting and warning system",
"url": "https://pasig-marikina-tullahanffws.pagasa.dost.gov.ph/",
"licence": null
}
]
}