Live flood information - by city, by flood state (if required). Supports a /states endpoint which is non-geographic and simply gives the state of flooded areas as well as a geographic endpoint which will give flooded areas subject to a minimum_state or all areas together with their current flood status. In addition to topojson and geojson this endpoint supports the Common Alerting Protocol (CAP).
Note that flood states in CAP format have a default expiry time of 6 hours from the time that the API request is made.
Currently this data is only available for Jakarta.
Flood State Codes
Numeric codes are used to represent flood states, these are as follows:
Code
Severity
Description
1
Unknown
AN UNKNOWN LEVEL OF FLOODING - USE CAUTION -
2
Minor
FLOODING OF BETWEEN 10 and 70 CENTIMETERS
3
Moderate
FLOODING OF BETWEEN 71 and 150 CENTIMETERS
4
Severe
FLOODING OF OVER 150 CENTIMETERS
Request Format
Query Parameter
Description
Format
Required
admin
String
No
format
Which format should we return results in? (one of json, xml, defaults to json)
String
No
geoformat
What format should geographic results use (one of topojson, geojson, cap defaults to topojson)
String
No
minimum_state
The minimum flood state that should be returned? (min: 1, max: 4)
Number
No
GET /floods
List all flooded areas in Jakarta with a flood state of 1 or higher.