# Wiener Linien

> Get live departures from any Vienna metro, tram or bus station, list Wiener Linien's disruptions, elevator outages, news and planned works, look up its lines, stations and routes, and run a workflow when a new disruption starts or an elevator goes out of service. No account or API key required.

App · 7 actions. Web page: https://docs.lodol.com/docs/integrations/wiener-linien

## Actions

### Get departures

Get the departures from a Vienna station in the next 70 minutes, soonest first: each line, where it is going, the platform, the minutes until it leaves, the live and timetabled times and the delay, and whether the vehicle is step-free. Also lists the disruptions and elevator outages at the station.

**Inputs**

- Station (`station`, text, required): The station to leave from. Pick it from the list, or type its name, its number (8 digits starting 60, e.g. 60201198) or one stop's number (e.g. 4116).
- Lines (`lines`, list): Only departures of these lines, e.g. U1. Leave blank for every line.
- Most departures (`limit`, number): How many departures to list, soonest first, from 1 to 200. Defaults to 20. From 1 to 200. Default: `20`.

**Outputs**

- `count` (number): How many departures are listed.
- `departures` (list): The departures, soonest first.
- `disruptions` (list): Disruptions, notices and elevator or escalator outages at the station.
- `diva` (text): The station's number (DIVA), e.g. 60201198, when known.
- `station_name` (text): The station's name, e.g. Schwedenplatz.
- `stop_ids` (list): The numbers of the station's stops (platforms) that have departures.
- `summary` (text): One line about the departures and the next one.
- `total` (number): How many departures the next 70 minutes hold, after the filter.

**Example output**

```json
{
  "count": 2,
  "departures": [
    {
      "air_conditioned": true,
      "barrier_free": true,
      "countdown_minutes": 0,
      "delay_minutes": 0,
      "expected_time": "2026-11-02T20:59:43+01:00",
      "folding_ramp": true,
      "line": "U1",
      "line_id": 301,
      "planned_time": "2026-11-02T21:00:00+01:00",
      "platform": "1",
      "realtime": true,
      "stop_id": 4113,
      "stop_name": "Schwedenplatz",
      "towards": "Leopoldau",
      "traffic_jam": false,
      "transport": "Metro",
      "transport_type": "ptMetro"
    },
    {
      "air_conditioned": true,
      "barrier_free": true,
      "countdown_minutes": 1,
      "delay_minutes": 0,
      "expected_time": "2026-11-02T21:00:55+01:00",
      "folding_ramp": true,
      "line": "U1",
      "line_id": 301,
      "planned_time": "2026-11-02T21:01:00+01:00",
      "platform": "2",
      "realtime": true,
      "stop_id": 4116,
      "stop_name": "Schwedenplatz",
      "towards": "Alaudagasse",
      "traffic_jam": false,
      "transport": "Metro",
      "transport_type": "ptMetro"
    }
  ],
  "disruptions": [
    {
      "category": "disruption",
      "category_title": "St\u00f6rung Lang",
      "cause": "Gleisbauarbeiten",
      "created": "2026-10-20T12:59:00+02:00",
      "description": "Linie 1: Betrieb nur zwischen Prater Hauptallee und Kn\u00f6llgasse. Weiterfahrt zum Reumannplatz U. Ersatz: Linien 7A und 65A. Voraussichtliche Dauer: Mitte Dezember 2026. Grund: Gleisbauarbeiten im Bereich Stefan-Fadinger-Platz.",
      "elevator_id": null,
      "end": "2026-12-05T02:00:00+01:00",
      "equipment_status": null,
      "id": "I20261020-0029",
      "in_effect": true,
      "last_updated": "2026-10-20T17:28:00+02:00",
      "lines": [
        "1"
      ],
      "location": "Stefan-Fadinger-Platz",
      "parent_id": "I20261020-0029",
      "start": "2026-10-20T12:58:00+02:00",
      "station": null,
      "status": "active",
      "status_note": null,
      "stop_ids": [],
      "title": "1: Gleisbauarbeiten",
      "towards": null
    }
  ],
  "diva": "60201198",
  "station_name": "Schwedenplatz",
  "stop_ids": [
    42,
    22,
    134,
    4113,
    4116,
    4427,
    4410
  ],
  "summary": "21 departures on U1 from Schwedenplatz in the next 70 minutes; next: U1 to Leopoldau now. 1 disruption report there.",
  "total": 21
}
```

### Get disruption

Check one disruption or elevator outage by its id: whether Wiener Linien still lists it, whether it is in effect now, and its latest text. Use it to see whether a disruption is over.

**Inputs**

- Disruption id (`disruption_id`, text, required): The report's id, as List disruptions or the New disruption trigger gives it, e.g. I20261020-0029.

**Outputs**

- `disruption` (object): The report, or empty when it is no longer listed.
- `found` (true/false): True when Wiener Linien still lists the report; false once it has been taken down.
- `in_effect` (true/false): True when the report is listed and applies now.
- `summary` (text): One line about the report.

**Example output**

```json
{
  "disruption": {
    "category": "disruption",
    "category_title": "St\u00f6rung Lang",
    "cause": "Gleisbauarbeiten",
    "created": "2026-10-20T11:59:00+02:00",
    "description": "Linie 1: Betrieb nur zwischen Prater Hauptallee und Kn\u00f6llgasse. Weiterfahrt zum Reumannplatz U. Ersatz: Linien 7A und 65A. Voraussichtliche Dauer: Mitte Dezember 2026. Grund: Gleisbauarbeiten im Bereich Stefan-Fadinger-Platz.",
    "elevator_id": null,
    "end": "2026-12-05T01:00:00+01:00",
    "equipment_status": null,
    "id": "I20261020-0029",
    "in_effect": true,
    "last_updated": "2026-10-20T16:28:00+02:00",
    "lines": [
      "1"
    ],
    "location": "Stefan-Fadinger-Platz",
    "parent_id": "I20261020-0029",
    "start": "2026-10-20T11:58:00+02:00",
    "station": null,
    "status": "active",
    "status_note": null,
    "stop_ids": [],
    "title": "1: Gleisbauarbeiten",
    "towards": null
  },
  "found": true,
  "in_effect": true,
  "summary": "I20261020-0029: 1: Gleisbauarbeiten (in effect)."
}
```

### List disruptions

List Wiener Linien's current service disruptions, notices at stops and elevators or escalators out of service, by kind, line and station: each with its title and text as published (in German), the lines and stops it concerns, and when it started and should end.

**Inputs**

- Kinds (`categories`, list): Which kinds of report to list. Leave blank for every kind. One or more of: `disruption` (Service disruptions), `notice` (Notices at stops), `elevator` (Elevators out of service), `escalator` (Escalators out of service).
- Lines (`lines`, list): Only these lines, e.g. U1 or 13A. Leave blank for every line.
- Stations (`stations`, list): Only those at these stations. Pick from the list, or type a station's name or number. Leave blank for everywhere.
- Only those in effect now (`only_in_effect`, true/false): Leave out those that have not started yet, such as elevator maintenance planned for tonight. Default: `false`.

**Outputs**

- `count` (number): How many reports are listed.
- `disruptions` (list): The reports, as Wiener Linien lists them.
- `summary` (text): One line saying how many reports of each kind were found.

**Example output**

```json
{
  "count": 2,
  "disruptions": [
    {
      "category": "elevator",
      "category_title": "Aufzugsst\u00f6rungen",
      "cause": null,
      "created": null,
      "description": "U1 Mittelbahnsteig - Ausgang Keplerplatz",
      "elevator_id": "KE 01",
      "end": null,
      "equipment_status": "au\u00dfer Betrieb",
      "id": "ftazS_711",
      "in_effect": true,
      "last_updated": null,
      "lines": [
        "U1"
      ],
      "location": "U1 Mittelbahnsteig - Ausgang Keplerplatz",
      "parent_id": "ftazS_711",
      "start": null,
      "station": "Keplerplatz",
      "status": null,
      "status_note": "AUFZUGSERNEUERUNG Voraussichtlich bis 18.12.2026 au\u00dfer Betrieb!",
      "stop_ids": [
        4103,
        4126
      ],
      "title": "Keplerplatz",
      "towards": "U1 beide Richtungen"
    },
    {
      "category": "disruption",
      "category_title": "St\u00f6rung Lang",
      "cause": "Gleisbauarbeiten",
      "created": "2026-10-20T11:59:00+02:00",
      "description": "Linie 1: Betrieb nur zwischen Prater Hauptallee und Kn\u00f6llgasse. Weiterfahrt zum Reumannplatz U. Ersatz: Linien 7A und 65A. Voraussichtliche Dauer: Mitte Dezember 2026. Grund: Gleisbauarbeiten im Bereich Stefan-Fadinger-Platz.",
      "elevator_id": null,
      "end": "2026-12-05T01:00:00+01:00",
      "equipment_status": null,
      "id": "I20261020-0029",
      "in_effect": true,
      "last_updated": "2026-10-20T16:28:00+02:00",
      "lines": [
        "1"
      ],
      "location": "Stefan-Fadinger-Platz",
      "parent_id": "I20261020-0029",
      "start": "2026-10-20T11:58:00+02:00",
      "station": null,
      "status": "active",
      "status_note": null,
      "stop_ids": [],
      "title": "1: Gleisbauarbeiten",
      "towards": null
    }
  ],
  "summary": "Found 2 reports: 1 service disruption, 1 elevator out of service."
}
```

### List line stops

List the stops of a Wiener Linien line in order, each way, with each stop's number and its station's number for Get departures.

**Inputs**

- Line (`line`, text, required): The line, e.g. U1 or 13A.

**Outputs**

- `directions` (list): The line's full route each way.
- `line` (text): The line, e.g. U1.
- `line_id` (number): Wiener Linien's number for the line.
- `summary` (text): One line about the line's route each way.
- `transport` (text): What kind of vehicle serves it: Metro (the U-Bahn), Tram, Bus, Night bus, On-demand bus, S-Bahn train or Badner Bahn.
- `transport_type` (text): Wiener Linien's code for the kind of vehicle, e.g. ptMetro, ptTram or ptBusCity.

**Example output**

```json
{
  "directions": [
    {
      "direction": 1,
      "from_stop": "Bhf. Heiligenstadt",
      "stop_count": 4,
      "stops": [
        {
          "diva": "60200491",
          "name": "Bhf. Heiligenstadt",
          "position": 1,
          "stop_id": 826
        },
        {
          "diva": "60200116",
          "name": "Nu\u00dfdorf, Beethovengang",
          "position": 2,
          "stop_id": 3879
        },
        {
          "diva": "60201882",
          "name": "Nu\u00dfdorf Friedhof",
          "position": 3,
          "stop_id": 3880
        },
        {
          "diva": "60201883",
          "name": "Heiligenst\u00e4dter Friedhof",
          "position": 4,
          "stop_id": 3881
        }
      ],
      "to_stop": "Heiligenst\u00e4dter Friedhof"
    },
    {
      "direction": 2,
      "from_stop": "Heiligenst\u00e4dter Friedhof",
      "stop_count": 3,
      "stops": [
        {
          "diva": "60201883",
          "name": "Heiligenst\u00e4dter Friedhof",
          "position": 1,
          "stop_id": 3881
        },
        {
          "diva": "60200948",
          "name": "Nu\u00dfdorf",
          "position": 2,
          "stop_id": 5746
        },
        {
          "diva": "60200491",
          "name": "Bhf. Heiligenstadt",
          "position": 3,
          "stop_id": 826
        }
      ],
      "to_stop": "Bhf. Heiligenstadt"
    }
  ],
  "line": "38B",
  "line_id": 238,
  "summary": "38B: Bhf. Heiligenstadt to Heiligenst\u00e4dter Friedhof, 4 stops; Heiligenst\u00e4dter Friedhof to Bhf. Heiligenstadt, 3 stops.",
  "transport": "Bus",
  "transport_type": "ptBusCity"
}
```

### List lines

List Wiener Linien's metro, tram, bus and night bus lines, optionally only some kinds or those whose name contains some text, each with whether its departures are tracked live.

**Inputs**

- Kinds of vehicle (`transport`, list): Only lines run by these. Leave blank for every line. One or more of: `ptMetro` (Metro), `ptTram` (Tram), `ptTramWLB` (Badner Bahn), `ptBusCity` (Bus), `ptBusNight` (Night bus), `ptRufBus` (On-demand bus), `ptTrainS` (S-Bahn train).
- Name contains (`name`, text): Only lines whose name contains this, e.g. N for night buses.

**Outputs**

- `count` (number): How many lines are listed.
- `lines` (list): The lines, in Wiener Linien's order: metro, tram, bus, night bus.
- `summary` (text): One line saying how many lines were found.

**Example output**

```json
{
  "count": 3,
  "lines": [
    {
      "line_id": 301,
      "name": "U1",
      "realtime": true,
      "transport": "Metro",
      "transport_type": "ptMetro"
    },
    {
      "line_id": 101,
      "name": "1",
      "realtime": true,
      "transport": "Tram",
      "transport_type": "ptTram"
    },
    {
      "line_id": 413,
      "name": "13A",
      "realtime": true,
      "transport": "Bus",
      "transport_type": "ptBusCity"
    }
  ],
  "summary": "Found 3 lines."
}
```

### List news

List Wiener Linien's news and planned works (diversions, closures, timetable changes) and planned elevator maintenance, by kind, line and station, each with its text as published (in German) and when it applies.

**Inputs**

- Kinds (`categories`, list): Which kinds of news to list. Leave blank for both. One or more of: `news` (News and planned works), `elevator_maintenance` (Planned elevator maintenance).
- Lines (`lines`, list): Only these lines, e.g. U1 or 13A. Leave blank for every line.
- Stations (`stations`, list): Only those at these stations. Pick from the list, or type a station's name or number. Leave blank for everywhere.
- Only those in effect now (`only_in_effect`, true/false): Leave out what has not taken effect yet, such as works announced for next week. Default: `false`.

**Outputs**

- `count` (number): How many items are listed.
- `news` (list): The items, as Wiener Linien lists them.
- `summary` (text): One line saying how many items of each kind were found.

**Example output**

```json
{
  "count": 2,
  "news": [
    {
      "category": "elevator_maintenance",
      "category_title": "Aufzugsservice",
      "cause": null,
      "description": "U4 Bahnsteig Richtung H\u00fctteldorf - Ausgang Hietzinger Kai, Hadikgasse",
      "description_html": null,
      "elevator_id": "UV 02",
      "end": "2026-11-03T05:15:00+01:00",
      "equipment_status": "geplante Wartung",
      "id": "ftazW_1016543",
      "in_effect": false,
      "lines": [
        "U4"
      ],
      "location": "U4 Bahnsteig Richtung H\u00fctteldorf - Ausgang Hietzinger Kai, Hadikgasse",
      "start": "2026-11-03T01:15:00+01:00",
      "station": "Unter St.Veit",
      "stop_ids": [
        4432
      ],
      "subtitle": null,
      "title": "Unter St.Veit",
      "towards": "U4 H\u00fctteldorf",
      "valid_from": null
    },
    {
      "category": "news",
      "category_title": "Aktuelles",
      "cause": "Bauarbeiten",
      "description": "Bauarbeiten\nWegen Stra\u00dfenbauarbeiten in der Kn\u00f6delh\u00fcttenstra\u00dfe wird die Linie 52A umgeleitet.\nZeitraum:\nAb Donnerstag, 5. November 2026, etwa 07:00 Uhr f\u00fcr etwa drei Wochen.\nMa\u00dfnahmen:\nLinie 52A in Richtung Bhf. H\u00fctteldorf S U:\nUmleitung ab Kn\u00f6delh\u00fcttenstra\u00dfe # Haspelmeistergasse \u00fcber Haspelmeistergasse - H\u00fcttelbergstra\u00dfe.\nAufgelassene Haltestellen:\n- Haspelmeistergasse (Kn\u00f6delh\u00fcttenstra\u00dfe 23)\n- Edenstra\u00dfe (Kn\u00f6delh\u00fcttenstra\u00dfe gegen\u00fcber 48-50)\nErsatzhaltestellen:\n- Haspelmeistergasse (Kn\u00f6delh\u00fcttenstra\u00dfe 25, provisorische Haltestelle)\n- Ulmenstra\u00dfe (H\u00fcttelbergstra\u00dfe 115, Haltestelle der Linien 43B und 52B)",
      "description_html": "<h2>Bauarbeiten</h2><p>Wegen Stra\u00dfenbauarbeiten in der Kn\u00f6delh\u00fcttenstra\u00dfe wird die Linie 52A umgeleitet.</p><p><strong><u>Zeitraum:</u></strong><br>Ab Donnerstag, 5. November 2026, etwa 07:00 Uhr f\u00fcr etwa drei Wochen.</p><p><strong><u>Ma\u00dfnahmen:</u></strong><br><strong>Linie 52A in Richtung Bhf. H\u00fctteldorf S U:</strong><br>Umleitung ab Kn\u00f6delh\u00fcttenstra\u00dfe # Haspelmeistergasse \u00fcber Haspelmeistergasse - H\u00fcttelbergstra\u00dfe.</p><p><u>Aufgelassene Haltestellen:</u><br>- Haspelmeistergasse (Kn\u00f6delh\u00fcttenstra\u00dfe 23)<br>- Edenstra\u00dfe (Kn\u00f6delh\u00fcttenstra\u00dfe gegen\u00fcber 48-50)</p><p><u>Ersatzhaltestellen:</u><br>- Haspelmeistergasse (Kn\u00f6delh\u00fcttenstra\u00dfe 25, provisorische Haltestelle)<br>- Ulmenstra\u00dfe (H\u00fcttelbergstra\u00dfe 115, Haltestelle der Linien 43B und 52B)</p>",
      "elevator_id": null,
      "end": null,
      "equipment_status": null,
      "id": "N20261102-0001",
      "in_effect": false,
      "lines": [
        "52A"
      ],
      "location": null,
      "start": "2026-11-02T15:36:00+01:00",
      "station": null,
      "stop_ids": [],
      "subtitle": null,
      "title": "52A: Bauarbeiten",
      "towards": null,
      "valid_from": "2026-11-05T15:36:00+01:00"
    }
  ],
  "summary": "Found 1 news item, 1 planned elevator maintenance."
}
```

### Search stops

Find Wiener Linien stations by name: each with its number for Get departures, its town, where it is, its stops' numbers and the lines that stop there.

**Inputs**

- Name contains (`name`, text, required): Part of the station's name, e.g. Karlsplatz; accents and capitals don't matter. A station's or stop's number works too.
- Lines (`lines`, list): Only stations where these lines stop, e.g. U4. Leave blank for every station.
- Most stations (`limit`, number): How many stations to list, from 1 to 200. Defaults to 25. From 1 to 200. Default: `25`.

**Outputs**

- `count` (number): How many stations are listed.
- `query` (text): The name searched for.
- `stations` (list): The stations, exact names first, then by name.
- `summary` (text): One line saying how many stations were found.
- `total` (number): How many stations match.

**Example output**

```json
{
  "count": 1,
  "query": "Schwedenplatz",
  "stations": [
    {
      "diva": "60201198",
      "latitude": 48.2117496,
      "lines": [
        "U1",
        "U4",
        "1",
        "2",
        "5",
        "E4",
        "31",
        "71",
        "D",
        "O",
        "2A",
        "N25",
        "N29",
        "N31",
        "N38",
        "N60",
        "N66"
      ],
      "longitude": 16.3778956,
      "municipality": "Wien",
      "name": "Schwedenplatz",
      "stop_ids": [
        22,
        42,
        134,
        1000,
        2934,
        4113,
        4116,
        4410,
        4427,
        5501,
        5502,
        5503,
        5504,
        5505,
        5506,
        5507,
        5508
      ]
    }
  ],
  "summary": "Found 1 station matching 'Schwedenplatz'.",
  "total": 1
}
```
