Access real-time flood data for smarter response decisions
Track floods across geographies and catchment types with event-level data, structured for rapid integration and delivered through one developer-ready API.
Track floods across geographies and catchment types with event-level data, structured for rapid integration and delivered through one developer-ready API.
Floods literally change the way we build, and it dates back to 1953 Netherlands, when the North Sea flood killed nearly 2,000 people. The government then constructed a 40-year, multi-billion dollar system of dams called the Delta Works to act as a barrier against storms.
Soon, areas prone to floods saw taller buildings, rerouted rivers, and changed materials. Which still won't be enough. In October 2024, flash floods swept through Valencia, Spain, a city featuring flood-aware urban planning.
Wikipedia

import http.client
conn = http.client.HTTPSConnection("api.ambeedata.com")
headers = {
'x-api-key': "API_KEY",
'Content-type': "application/json"
}
conn.request("GET", "/disasters/processed/latest/by-lat-lng?lat=37.7823&lng=-122.3912&eventType=FL", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))const http = require('https');
const options = {
method: 'GET',
hostname: 'api.ambeedata.com',
port: null,
path: '/disasters/processed/latest/by-lat-lng?lat=37.7823&lng=-122.3912&eventType=FL',
headers: {
'x-api-key': 'API_KEY',
'Content-type': 'application/json'
}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://api.ambeedata.com/disasters/processed/latest/by-lat-lng?lat=37.7823&lng=-122.3912&eventType=FL")
.get()
.addHeader("x-api-key", "API_KEY")
.addHeader("Content-type", "application/json")
.build();
Response response = client.newCall(request).execute();using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("https://api.ambeedata.com/disasters/processed/latest/by-lat-lng?lat=37.7823&lng=-122.3912&eventType=FL"),
Headers =
{
{ "x-api-key", "API_KEY" },
},
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.ambeedata.com/disasters/processed/latest/by-lat-lng?lat=37.7823&lng=-122.3912&eventType=FL"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "API_KEY")
req.Header.Add("Content-type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ambeedata.com/disasters/processed/latest/by-lat-lng?lat=37.7823&lng=-122.3912&eventType=FL",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Content-type: application/json",
"x-api-key: API_KEY"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}require 'uri'
require 'net/http'
url = URI("https://api.ambeedata.com/disasters/processed/latest/by-lat-lng?lat=37.7823&lng=-122.3912&eventType=FL")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = 'API_KEY'
request["Content-type"] = 'application/json'
response = http.request(request)
puts response.read_body{
"message": "success",
"hasNextPage": false,
"page": 1,
"limit": 10,
"result": [
{
"event_type": "FL",
"alert_level": "Green",
"city": "San Francisco",
"continent": "nar",
"country_code": "USA",
"created_time": "2026-06-16 00:37:25",
"date": "2026-06-15 21:35:00",
"details": {
"description": "High tides causing inundation above ground level.",
"total_precipitation": null,
"death": null,
"injured": null,
"affected": null,
"impact": "Flooding of lots, parks, and roads with only isolated road closures expected. Dangerous conditions are forecast along the shoreline due to sneaker waves, strong rip currents, and large breaking waves.",
"flood_height": 0.54864
},
"end_date": null,
"estimated_end_date": "2026-06-18 12:00:00",
"event_id": "5cf202482be4fdb2b947192767b68fb1",
"event_name": "Coastal Flood Advisory in San Francisco",
"expiry_time": "2026-06-18 12:00:00",
"lat": 37.76008100341221,
"source_event_id": "oid.2.49.0.1.840.0.9d2afb8468233f8cc7fe2c8c99d1b5be1224b980.001.1",
"state": "California",
"type": "alert",
"lng": -122.44565406594042,
"proximity_severity_level": "High Risk"
}
]
}Sign up for an Ambee account and generate your API key from the dashboard.
Select the endpoint based on what you need.
Specify the location using latitude and longitude coordinates, ZIP codes, or custom boundaries.
Include your API key in the request header and call the endpoint. You'll receive pollen counts, species-level data, and risk classifications in JSON format.
Common questions about Ambee's flood data
Flood API, also known as the Flood Information and Warning System API, is a powerful tool that provides developers with access to real-time and historical flood-related data. This API allows developers to integrate flood information into their applications, websites, or systems, enabling them to provide timely and accurate flood warnings, alerts, and other related information to their users.
Various methods, including gauges, markers, and historical records of water levels, can be used to measure the highest flood level.
Analyzing flood data can help identify vulnerable areas, enabling proactive measures such as improved infrastructure, floodplain zoning, and early warning systems to prevent floods.
Flooding can have a significant impact on businesses, causing damage to infrastructure, disrupting operations, and leading to financial losses. It may result in property damage, inventory loss, and supply chain disruptions. Recovery costs, insurance premiums, and the need for future flood mitigation measures further impact businesses.
Ambee utilizes a multi-modal approach to collecting data. Our data sources include proprietary on-ground sensors, satellite imagery, and other open sources, such as government data portals. This combination of data is then run through AL algorithms and ML techniques to ensure maximum accuracy, reliability, and no gaps.