Should you be worried today?

Water, heat, rain and typhoon risks for your barangay, in plain words.

Open tubig.rjhon.net

Rain readings

Every reading kept for one rain gauge.

GET /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

NameInTypeDefaultWhat it does
coderequiredpathstringA rain gauge's code from /v1/history/rain-gauges
limitqueryinteger, 1 to 500100Items per call, at most 500
cursorquerystring or nullThe cursor from a previous response's next link
fromquerydate (YYYY-MM-DD) or nullManila date, YYYY-MM-DD
toquerydate (YYYY-MM-DD) or nullManila date, YYYY-MM-DD

Response

An object with items (the fields below), next (the next page, or null) and sources (whom to credit).

FieldTypeWhat it is
observed_atdatetime (UTC, ISO 8601)When the reading was taken (UTC)
last_10min_mmnumber or nullRain in the last 10 minutes, mm
rain_30m_mmnumber or nullRain in the last 30 minutes, mm
rain_1h_mmnumber or nullRain in the last hour, mm
rain_3h_mmnumber or nullRain in the last 3 hours, mm
rain_day_mmnumber or nullRain since midnight, mm
unconfirmedtrue or falseTrue when the feed marks the reading (*)

The 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
    }
  ]
}