Baustellen und Verkehrsmeldungen je Stadt (Autobahn-API)
Changed onBaustellen (roadworks) und Verkehrswarnungen (warnings) im Umfeld einer Stadt aus der Autobahn-API im kanonischen Envelope. Die Meldungen werden per Bounding-Box um die Stadt-Koordinaten gefiltert, data enthält die passenden Einträge. Flächendeckend: jeder der 84 Städte sind die nahen Autobahnen kuratiert zugeordnet (datengetrieben aus der Autobahn-API), eine Stadt ohne aktuelle Meldung antwortet ehrlich mit no_data. Stau/Verkehrslage: jede Verkehrswarnung trägt zusätzlich ein congestion-Feld (level stau/stockend/dicht/unspezifisch aus dem DATEX-abnormalTrafficType, delay_minutes = Reisezeitverlust, blocked), und payload.congestion_summary verdichtet die Stau-Lage je Stadt (count/stau/stockend/blocked/ max_delay_minutes; null wenn keine Stau-Meldung). Geometrie: die Antwort ist per Default schlank (die Roh-Polyline je Meldung ist weggelassen); mit include=geometry (oder ?full=1) bleibt das geometry-Feld in roadworks und warnings erhalten. Feldnamen: jedes Ereignis trägt die Werte zusätzlich in der API-Konvention (is_blocked als echtes Boolean, start_timestamp, delay_minutes, average_speed_kmh, abnormal_traffic_type, name, description_text sowie bbox/lat/lon aus extent); die sechs camelCase-Rohfelder des Autobahn-Feeds mit kanonischem Nachfolger (isBlocked, extent, startTimestamp, delayTimeValue, averageSpeed, abnormalTrafficType) waren zum 2026-08-01 abgekündigt und sind seit dem 2026-08-31 entfernt. Weitere Sonderfälle: deaktivierte Quelle liefert 200 mit source_status="disabled"; toter Upstream ohne Cache liefert 503 mit Hint auf GET /api/v1/health.
Request
- Base URLhttps://infranode.dev
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Query parameters
Feld-Opt-in: include=geometry behält die Roh-Polyline (geometry) je roadwork/warning; Default ist schlank (geometry weggelassen).
Äquivalentes Flag zu include=geometry (?full=1 behält die Polyline).
Response
Verkehrs-Envelope (CanonicalRecord oder null)
Example response
{
"data": {
"attribution": {
"text": "Wikidata"
}
}
}Changes
- breaking
added to the
/////response propertyoneOflist for the response status - warning
added the new
amtliches_werkenum value to the/////response property for the response status - warning
added the new
ec_reuseenum value to the/////response property for the response status - info
added the optional property
//////////to the response with the status - info
added the optional property
//////////to the response with the status - info
added the optional property
//////////to the response with the status - info
added the optional property
//////////to the response with the status - info
added the optional property
//////////to the response with the status - info
added
city_baseair_qualityweatherpoitraffic_eventtransit_stopcharging_stationwater_levelflood_warningpollen_uvdemographicsenergy_assetadmin_boundaryelection_resultholidayhospitalroad_eventaccidentbathing_waterbike_parkingbusiness_registrationscharging_status_citycharging_statuscivil_protection_warningcount_stationcrime_statsdistrict_heatingeventfire_dangerfuel_pricehospital_atlasindicator_seriesindicatorsinsolvenciesland_valuesmobility_pointoffice_wait_timespark_and_rideparking_onstreetparkingpopulation_densitypowerpublic_tenderregional_statsharingsolarsolar_roofsstation_arrivalsstation_catalogstation_departuresstation_facilitiestax_ratestraffic_flowtransit_departuretransit_route_statustransit_tripvehicle_registrationweather_warningdiscriminator mapping keys to the/////response property for the response status
- breaking
- info
removed from the
/////response propertyoneOflist for the response status
- info