GET /api/v1/live/{city}/baustellen
Live roadworks per city (Mobilithek DATEX-II)
Returns a city's roadworks from the Mobilithek (DATEX-II SituationPublication) in the live envelope. The meta block additionally carries as_of (data timestamp) and refresh_seconds (update cadence). As long as the certificate and subscription are not set up -> 200 source_status="disabled" (never 5xx); no data packet -> 200 source_status="no_data". Live data only, kept in the Redis cache.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
city | path | yes | string |
Code samples
curl "https://infranode.dev/api/v1/live/example/baustellen"const res = await fetch("https://infranode.dev/api/v1/live/example/baustellen");
const data = await res.json();
console.log(data);import httpx
res = httpx.get("https://infranode.dev/api/v1/live/example/baustellen")
res.raise_for_status()
print(res.json()) Try it
No live console is available for this endpoint. It is an operational or demo operation (for example a forced error or key mint) and is only documented here. Use the code samples above to call it directly.