Waiting times
STIB: brussels metro, tram and bus operator
- Format
- JSON
- Updates
- Every 60 seconds
- Latest snapshot
- Snapshots stored
- about 377,554
curl -H "Authorization: Bearer $MOBILITYTWIN_TOKEN" "https://api.mobilitytwin.brussels/stib/waiting-times"
Real-time waiting times at STIB/MIVB stops with expected arrival times per line and destination.
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 1392 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. |
start_timestamp | Start of the range, in Unix seconds or ISO 8601. |
end_timestamp | End of the range, in Unix seconds or ISO 8601. |
limit | Maximum number of snapshots, at most 100. |
offset | Number of snapshots to skip, to page through a range. |
Response fields
| Field | Type |
|---|---|
results[].pointid | string |
results[].lineid | string |
results[].passingtimes | string |
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/waiting-times"
data = requests.get(url, headers={
'Authorization': 'Bearer [MY_API_KEY]'
}, params=params).json()
# Show next arrivals at each stop
for entry in data['results'][:10]:
times = json.loads(entry['passingtimes'])
for t in times:
dest = t.get('destination', {}).get('fr', '?') # absent on a "last departure" message
arrival = datetime.fromisoformat(t['expectedArrivalTime'])
print(f"Stop {entry['pointid']} — Line {entry['lineid']} → {dest} at {arrival:%H:%M}")