Swedish trains (Trafikverket)

Live delays Timetables

Live delays and timetables of Swedish trains (Trafikverket) in Sweden, recorded since 30 Sep 2026 from data published on api.trafikinfo.trafikverket.se, which the archive converts to GTFS-RT and GTFS. It carries the trains of SJ and the other Swedish rail operators.

Download

Pick a day on the calendar. Each day is one file with everything recorded that day, in Sweden local time. You choose the format on the next page: a spreadsheet (CSV, opens in Excel, LibreOffice or Google Sheets) or Parquet (a compact table format for code).

‹ October 2026

November 2026

Delays of Swedish trains (Trafikverket) in November 2026. Days with a file are links.
MonTueWedThuFriSatSun
1
2 3 Wednesday 4 November 2026: still being collected 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
  • A file to download
  • Collected, file ready after 02:15 UTC
  • Today, still being collected
  • No data

35 days ready to download. The archive has data for this source since 30 Sep 2026.

Several days at once

Choose the first and last day: you get one zip with a file per day.

File type

The timetable

The planned timetable: stations, routes, trips and times. It comes as GTFS, the standard timetable format, one Parquet table per GTFS file. 128 versions stored, a new one when Swedish trains (Trafikverket) changes the coming week’s trains.

All versions as Parquet tables

Tools that need a GTFS zip: pip install gtfs-parquet, then gtfs_parquet.write_gtfs(gtfs_parquet.read_parquet(folder), "gtfs.zip") on a folder of the tables. This version was stored on 4 Nov 2026, 15:24 and is the current one.

Accounts are free: you sign in with a code sent to your email, no password.

Use it from code

Every day is a Parquet file at a fixed address. Read it straight from DuckDB, Polars or anything that reads Parquet over HTTP: only the columns and rows your query needs are downloaded. You need a free API token from an account.

Try it in your browser Developer guide

Source id
se-trafikverket
Services
TripUpdate live delays: daily files from 30 Sep 2026 to 3 Nov 2026 (35 days)
Daily file
https://data.train-archive.eu/daily/provider=se-trafikverket/service=TripUpdate/date=YYYY-MM-DD.parquet final delays per train and stop
Every update
https://data.train-archive.eu/provider=se-trafikverket/service=SERVICE/date=YYYY-MM-DD/day.parquet
Today
Still being collected in 15-minute files. The day’s file is built after 02:15 UTC. The developer guide shows how to read the 15-minute files.
Timetables
Service static: 128 versions, listed in se-trafikverket/static/latest.json
Live delays on 2 Oct 2026, with DuckDB
INSTALL httpfs; LOAD httpfs;

-- The final delay of each train at each stop, in minutes: the 20 largest
SELECT route, stop_name, scheduled_arrival, arrival_delay_min, delay_source
FROM read_parquet('https://data.train-archive.eu/daily/provider=se-trafikverket/service=TripUpdate/date=2026-10-02.parquet?token=YOUR_TOKEN')
WHERE trip_status = 'scheduled'
ORDER BY arrival_delay_min DESC NULLS LAST
LIMIT 20;
The same, in Python with Polars
import polars as pl

token = "YOUR_TOKEN"
day = pl.read_parquet(f"https://data.train-archive.eu/daily/provider=se-trafikverket/service=TripUpdate/date=2026-10-02.parquet?token={token}")

# The final delay of each train at each stop, in minutes: the 20 largest
print(
    day.filter(pl.col("trip_status") == "scheduled")
    .select("route", "stop_name", "scheduled_arrival", "arrival_delay_min", "delay_source")
    .sort("arrival_delay_min", descending=True, nulls_last=True)
    .head(20)
)
Or save the file, with curl
curl -L -o se-trafikverket-TripUpdate-2026-10-02.parquet \
  'https://data.train-archive.eu/daily/provider=se-trafikverket/service=TripUpdate/date=2026-10-02.parquet?token=YOUR_TOKEN'

Replace YOUR_TOKEN with one of your API tokens. Delays are in seconds in the Parquet files; the examples turn them into minutes.

Stations of the current timetable
import json, urllib.request
import polars as pl

base, token = "https://data.train-archive.eu", "YOUR_TOKEN"
latest = json.load(urllib.request.urlopen(f"{base}/se-trafikverket/static/latest.json?token={token}"))
stops = pl.read_parquet(f"{base}/{latest['tables']['stops']}?token={token}")
print(stops.select("stop_id", "stop_name"))

Also: every file of this source, listed, and asking an AI assistant to query it for you.

What is covered

Local time
Europe/Stockholm
Rail filter
Off: the feed carries trains only
Live delays
30 Sep 2026 to 4 Nov 2026, 111 files, 262.4 MB.
1 missing hour

    On a usual day the live data covers 94% of the trains the timetable plans. Incomplete days: 30 Sep 2026 (82%, part of the day).

    Feed status
    Last update 19:17 on 4 Nov 2026, local time, 2,089 trains.
    Timetables
    128 versions stored.
    • 4 Nov 2026, 15:24 2 files, 267.7 KB current
    • 4 Nov 2026, 09:24 2 files, 267.7 KB
    • 4 Nov 2026, 03:24 5 files, 304.6 KB
    • 3 Nov 2026, 21:24 3 files, 302.3 KB
    • 3 Nov 2026, 15:24 2 files, 268.5 KB
    • 3 Nov 2026, 09:24 2 files, 268.7 KB
    525 stops in the latest timetable (every stop: the timetable does not mark stations).

    Do you publish this feed? Ask for a change or its removal. Removal stops collection and deletes the files already stored.