Traffic API for Austria: traffic reports, roadworks and speed limits
The traffic API returns active traffic reports such as accidents, roadworks and closures, speed limits on motorway signs and a traffic layer for the map. You can query reports for a map extent, a road or along a route. It is meant for developers of route planners, fleet applications and traffic information in Austria.
What the API can do
GET /v1/traffic/incidents: reports, filterable by map extent (bbox), road (road,road_class), type (type, for exampleconstructionorroad_closure), time window and planned or unplanned. Roadworks on motorways and expressways carry lane details.POST /v1/traffic/incidents: the same query with a JSON body, for example for long routes. Reports along a route are sorted by position on the route.GET /v1/traffic/flow: speed limits on variable message signs of the motorways in a map extent.GET /v1/traffic/signs: current state of signs with a position./v1/traffic/tiles.json: traffic layer as vector tiles for the map. Thetraffic-daystyle shows it ready-made.- Routing with the
driving-trafficprofile avoids binding full closures.
Example
Active reports in the Vienna area:
curl -s -H "Authorization: Bearer YOUR_TOKEN" "https://api.mapx.at/v1/traffic/incidents?bbox=16.0,48.0,16.8,48.5&limit=5" | jqconst res = await fetch("https://api.mapx.at/v1/traffic/incidents?bbox=16.0,48.0,16.8,48.5&limit=5", { headers: { Authorization: "Bearer YOUR_TOKEN" } });
const data = await res.json();Speed limits on motorway signs in the same extent:
curl -s -H "Authorization: Bearer YOUR_TOKEN" "https://api.mapx.at/v1/traffic/flow?bbox=16.0,48.0,16.8,48.5" | jqWhere the data comes from
The reports come from ASFINAG and EVIS.AT (CC BY 4.0), the road network from GIP.at (CC BY 4.0). Reports with mandatory: true are binding, their text is shown unchanged. The data covers the motorway and expressway network and planned roadworks on other roads.
Limitations
- There is no area-wide traffic state.
flowshows only speed limits on variable message signs below the free-flow speed, not a measured traffic situation. - Of roughly 5300 signs only a small part (about 40) has a position in the source, so
signsshows only these. - Statutory speed limits of the road network come from
GET /v1/speedlimitsbased on GIP.at. - Austria only.
- Reports and signs fall into the zone
searchwith 10 requests per second per token, traffic tiles into the zonestaticwith 5 per second. - The source must be shown visibly: ASFINAG / EVIS.AT, CC BY 4.0, road network GIP.at. With
GET /v1/traffic/statusyou can check whether the data is current.
Get started
Access is free with an account and a token. All parameters are in the traffic guide and the traffic API reference.