GET /api/v1/cities/{slug}/road-events
Inner-city roadworks and closures per city (Tier A)
Returns a city's inner-city roadworks and closures from the keyless per-city sources (Berlin VIZ, Hamburg, Cologne, Munich, MobiData BW) in the canonical envelope. Partial coverage ("X of 28"): not every city has a connector. Tier A. Disabled -> 200 source_status="disabled". No data or no connector -> 200 source_status="no_data" (no 5xx). Dead upstream with no cache -> 503 with a hint.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
slug | path | yes | string |
Code samples
curl "https://infranode.dev/api/v1/cities/hamburg/road-events"const res = await fetch("https://infranode.dev/api/v1/cities/hamburg/road-events");
const data = await res.json();
console.log(data);import httpx
res = httpx.get("https://infranode.dev/api/v1/cities/hamburg/road-events")
res.raise_for_status()
print(res.json())