Should you be worried today?

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

Open tubig.rjhon.net

Rain gauges

Rain gauges.

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

FieldTypeWhat it is
codestringThe gauge's code, for /rain-gauges/{code}/readings
namestringThe gauge's name
agencystring or nullPAGASA or MMDA

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