Tec

View API Documentation

The TEC is the main public transport operator in Wallonia with a fraction of its network in Brussels. It publishes a GTFS feed which is used to provide the schedule of the vehicles and a GTFS-RT feed which is used to provide real-time data.

Endpoints

Gtfs

/tec/gtfs
GTFS APPLICATION/ZIP

The GTFS zip file of TEC

Refresh: Daily
From
2024-08-21 14:53:16
To
2026-05-19 05:45:42
Records
603

GTFS (Parquet)

/tec/gtfs-parquet
GTFS-PARQUET APPLICATION/ZIP

The GTFS feed of TEC converted to Apache Parquet format (zip archive of .parquet files). Parquet uses columnar storage with zstd compression and strong typing, resulting in 40-75% smaller files compared to the original GTFS zip. This format enables extremely efficient data transfer and near-zero RAM overhead when reading specific columns via Polars or DuckDB, making it ideal for analytical workloads and large-scale processing. Produced using gtfs-parquet v0.4.0.

Refresh: Daily (regenerated from the GTFS feed)
From
2024-08-21 14:53:16
To
2026-05-19 05:45:42
Records
579

Gtfs realtime

/tec/gtfs-realtime
GTFS-RT APPLICATION/OCTET-STREAM

The GTFS-RT binary file of TEC

Refresh: Every 20 seconds
From
2024-08-21 14:54:58
To
2026-05-19 06:09:59
Records
2,600,773

GTFS-RT Alerts

/tec/gtfs-rt-alert
GTFS-RT APPLICATION/OCTET-STREAM

Real-time service alerts for TEC (disruptions, detours, cancellations).

Refresh: Every 15 minutes
From
2026-03-30 11:01:24
To
2026-05-19 06:05:28
Records
4,635

GTFS-RT Trip updates

/tec/gtfs-rt-trip-update
GTFS-RT APPLICATION/OCTET-STREAM

Real-time trip updates for TEC including schedule deviations and cancellations.

Refresh: Every 20 seconds
From
2026-03-30 11:00:46
To
2026-05-19 06:09:59
Records
190,472

Punctuality

/tec/punctuality
PARQUET APPLICATION/OCTET-STREAM

Daily punctuality table derived from TEC's GTFS-RT trip-update stream over a full Brussels-day window. Each row represents one (trip, stop) observation with the latest known arrival/departure times, delays, and schedule_relationship — plus a synthetic row per cancelled trip when the feed signals cancellation without stop-time entries. Single Parquet file (zstd-compressed). Read with Polars, DuckDB or PyArrow. The data is consistent with the GTFS schedule: scheduled = actual_time − delay matches the static GTFS arrival_time for TEC feeds that publish absolute times.

Refresh: Daily (one file per Brussels-day, anchored to 00:00 Europe/Brussels)
From
2024-08-22 00:00:00
To
2025-08-16 00:00:00
Records
309