Metro Lisboa
App · 1 action
Check the live service status of Lisbon's metro, Metro de Lisboa: whether the Yellow, Blue, Green and Red lines are running normally, with the operator's notice for any disrupted line. No account or API key required.
Get line status
Check whether Lisbon's metro is running normally: the status of the Yellow, Blue, Green and Red lines (or just one), with Metro de Lisboa's notice, in Portuguese, for any line that is disrupted. No API key required.
Inputs
- Line
linetext - Only check this line. Leave empty for all four. Portuguese names such as 'azul' work too.One of:
yellow(Yellow Line (Linha Amarela)),blue(Blue Line (Linha Azul)),green(Green Line (Linha Verde)),red(Red Line (Linha Vermelha)).
Outputs
all_normaltrue/false- True when every listed line is running normally.
countnumber- How many lines are listed.
disrupted_countnumber- How many of the listed lines are not running normally.
lineslist- Each line's status, in Metro de Lisboa's order (Yellow, Blue, Green, Red).
source_urltext- Metro de Lisboa's website, to credit or link to.
summarytext- One line about the network, e.g. 'Normal service on all lines', or each disrupted line with its notice.
Example output
{
"all_normal": true,
"count": 4,
"disrupted_count": 0,
"lines": [
{
"color": "#FFC425",
"is_normal": true,
"line_id": "yellow",
"message_pt": null,
"message_type": "0",
"name": "Yellow Line",
"name_pt": "Linha Amarela",
"status": "Normal service"
},
{
"color": "#5591CD",
"is_normal": true,
"line_id": "blue",
"message_pt": null,
"message_type": "0",
"name": "Blue Line",
"name_pt": "Linha Azul",
"status": "Normal service"
},
{
"color": "#00AAA6",
"is_normal": true,
"line_id": "green",
"message_pt": null,
"message_type": "0",
"name": "Green Line",
"name_pt": "Linha Verde",
"status": "Normal service"
},
{
"color": "#EE2B74",
"is_normal": true,
"line_id": "red",
"message_pt": null,
"message_type": "0",
"name": "Red Line",
"name_pt": "Linha Vermelha",
"status": "Normal service"
}
],
"source_url": "https://www.metrolisboa.pt/en/",
"summary": "Normal service on all lines"
}