Travellers information
STIB: brussels metro, tram and bus operator
- Format
- JSON
- Updates
- Every 15 minutes
- Latest snapshot
- Snapshots stored
- about 15,509
curl -H "Authorization: Bearer $MOBILITYTWIN_TOKEN" "https://api.mobilitytwin.brussels/stib/travellers-information"
Real-time traveller information messages and service alerts for STIB/MIVB lines and stops.
Which days have data
Data from 30 Mar 2026 to 2 Nov 2026, on 218 days. 30 of the last 30 days have data. A typical day holds 72 snapshots. Days are in UTC.
2026
JanFebMarAprMayJunJulAugSepOctNovDec
- Full day
- Partial, 50–90% of a typical day
- Low, under 50%
- No snapshot
- Not expected
Click a day above, or pick a date, to get its requests.
Parameters
| Name | Meaning |
|---|---|
timestamp | Return the last snapshot at or before this moment, in Unix seconds or ISO 8601 (e.g. 2026-05-06T12:00:00Z). Without it, the latest snapshot is returned. |
Response fields
| Field | Type | Meaning |
|---|---|---|
results[].content | string | |
results[].type | string | |
results[].lines | string | |
results[].priority | integer | |
results[].points | string | |
results[].id | string | Message id. |
Python example
import requests
import json
from datetime import datetime, timedelta, timezone
yesterday_noon = (datetime.now(timezone.utc) - timedelta(days=1)).replace(
hour=12, minute=0, second=0, microsecond=0
)
params = {
"timestamp": yesterday_noon.isoformat(), # ISO accepted; epoch also works
}
url = "https://api.mobilitytwin.brussels/stib/travellers-information"
data = requests.get(url, headers={
'Authorization': 'Bearer [MY_API_KEY]'
}, params=params).json()
# Display active service alerts sorted by priority
for alert in sorted(data['results'], key=lambda x: x['priority'], reverse=True):
content = json.loads(alert['content'])
lines = json.loads(alert['lines'])
text = content[0]['text'][0].get('en') or content[0]['text'][0]['fr'] # a few alerts are French/Dutch only
line_ids = ', '.join(l['id'] for l in lines)
print(f"[Priority {alert['priority']}] Lines {line_ids}: {text}")