Roadworks and closure API for German cities
Urban roadworks, closures and traffic events through a free, key-free REST API. The sources are the traffic portals of the cities, unified into one common format with period, type and location per event.
What data you get
Per city the endpoint returns the reported events with label, start and end, the type of event in plain text, coordinates and the reporting city source. For motorways there is a separate endpoint based on data from Autobahn GmbH.
- Event label
- Start
- End
- Type of event
- Coordinates
- Reporting city source
Source: City traffic portals and Mobilithek. License:
DL-DE Zero 2.0 and DL-DE BY 2.0, depending on the city. 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/road-events For another city, just put the slug from the cities list into the path.
No key, no sign-up, free.
Covered cities
Cities with an open roadworks interface. More cities follow as they open their traffic messages.
Currently available for 10 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 , Stuttgart , Leipzig , Dortmund , Bremen , Dresden , Rostock .
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 current are the messages?
- Cities mostly report every minute. If a source briefly fails, the API serves the last known state for up to six hours and marks this in the meta block instead of failing with an error.
- Does this include motorway roadworks?
- No, this endpoint covers the city area. For motorways there is a separate endpoint based on the open data of Autobahn GmbH.
- What does the type of event mean?
- Cities report numeric codes for roadworks, closure, diversion and similar. The API additionally provides plain text, so the code does not have to be looked up.
- Why are some events in the past?
- Long-running roadworks are reported with their actual start, sometimes years back. What matters is the end: events stay listed as long as the city reports them as ongoing.
More data types
- Fuel price API for German cities (MTS-K)
- Car park API for German cities with live occupancy
- Water level API for German cities (PEGELONLINE)
- Weather warning API for German cities (DWD)
- EV charging station API for German cities (BNetzA)
- Weather API for German cities (DWD)
- Air quality API for German cities (UBA)
- Electricity price API for Germany (SMARD)
- Land values API for German cities (BORIS)
- Solar API for German cities (PVGIS)
- Solar cadastre API for German cities (rooftop PV)
- Real-time public transport API for German cities
- Public procurement API for German cities
- Council information API for German cities
- Municipal tax rate API for German cities
- Population and density API for German cities
- Crime statistics API for German cities (PKS)
- Road accident API for German cities
- Labour market API for German cities
- Business and insolvency API for German cities