GET /api/v1/cities/{slug}/civil-protection-warnings
Official BBK NINA civil protection warnings per city (Tier A)
Active official civil protection warnings from the German Federal Office of Civil Protection and Disaster Assistance (BBK, NINA API) for the city. Fills the civil-protection gap (hazmat, major fire, bomb disposal) alongside weather-warnings and flood. Region mapping uses the 12-digit district ARS (derived from the AGS); coverage_granularity (city|district) states the ARS granularity. The official warning text (headline) is passed through VERBATIM, unchanged (§ 5 (2) UrhG, no rewording/shortening/ translation); each warning carries provider (MOWAS/KATWARN/BIWAPP/POLICE/ DWD/LHP), severity, sent, onset, expires, detail_url and duplicate_of (DWD -> weather-warnings, LHP -> flood). Source: BBK NINA, keyless.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
slug | path | yes | string |
Code samples
curl "https://infranode.dev/api/v1/cities/hamburg/civil-protection-warnings"const res = await fetch("https://infranode.dev/api/v1/cities/hamburg/civil-protection-warnings");
const data = await res.json();
console.log(data);import httpx
res = httpx.get("https://infranode.dev/api/v1/cities/hamburg/civil-protection-warnings")
res.raise_for_status()
print(res.json())