InfraNode.dev
MCP InfraNode is also available as an MCP server for AI assistants like Claude and ChatGPT.

Weather warning API for German cities (DWD)

Official weather warnings for 84 major German cities through a free, key-free REST API. The source is the German Weather Service, complemented by the civil protection warnings of the Federal Office of Civil Protection through a second endpoint.

What data you get

Per city the endpoint returns the currently valid warnings with severity level, event type, start and end, description and instruction, plus the number of warnings and the highest level in effect. Advance information on severe weather is reported separately.

  • Severity level
  • Event type
  • Start and end
  • Description
  • Instruction
  • Number of warnings
  • Highest level in effect
  • Advance information

Source: German Weather Service (DWD). License: DL-DE BY 2.0. Source, license URL and timestamp are included in every API response in the meta and attribution block.

How to fetch it

A simple GET request, no key and no sign-up:

curl https://infranode.dev/api/v1/cities/koeln/weather-warnings

For another city, just put the slug from the cities list into the path.

No key, no sign-up, free.

Covered cities

All 84 cities, as the DWD warns across the whole of Germany.

Available for all 84 covered cities. The exact per-city status is on the coverage and status page, the full list of cities on the cities overview.

Straight to the largest covered cities: Berlin , Hamburg , München , Köln , Frankfurt am Main , Stuttgart , Düsseldorf , Leipzig , Dortmund , Essen .

Endpoint reference

All parameters, fields and response examples are in the API reference for this endpoint. InfraNode is also available as an MCP server for AI assistants.

Frequently asked questions

How quickly are new warnings available?
The warning situation is reconciled every minute. If the source briefly fails, the API serves the last known state for up to six hours and marks it, because an ageing warning is better than no answer at all.
What do the severity levels mean?
The DWD distinguishes four levels, from weather warning through marked weather and severe weather to extremely severe weather. The response carries the level as a number and additionally the highest level in effect per city.
Does this include disaster warnings?
Not in this endpoint. For civil protection warnings such as hazardous material release or drinking water failure there is a separate endpoint based on the warning system of the Federal Office of Civil Protection.
May I display the warnings in my own app?
Yes, with attribution to the German Weather Service. For safety-critical applications the official source should always be linked as well, so users can check the warning in its original form.

More data types