Finland Live Trains API

Upcoming and recent trains at Finnish railway stations: train number, operator, type, commuter line, scheduled, estimated and actual times, delay in minutes, track and whether it is cancelled.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 15 fieldsv1.0

Data from digitraffic.fi/en/railway-traffic/

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Stations
Station short codes, such as HKI (Helsinki), TPE (Tampere), TKU (Turku) or OL (Oulu). One per line, or separated by commas.
Example: HKI, TPE
Departingoptional
How many departing trains to read for each station (0 to 100).
Example: 5
Arrivingoptional
How many arriving trains to read for each station (0 to 100).
Example: 5

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/finland-live-trains/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/finland-live-trains/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"stations":["HKI","TPE"]},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

stationslistrequired
Station short codes, such as HKI (Helsinki), TPE (Tampere), TKU (Turku) or OL (Oulu).
example: HKI, TPE
departingnumber
How many departing trains to read for each station (0 to 100).
default: 5example: 5
arrivingnumber
How many arriving trains to read for each station (0 to 100).
default: 5example: 5

What's in each record

15 fields: 14 here, 1 technical one under Technical details.

Basics

  • Train number

    The train's number.

    Example 21

  • Operator

    Short code of the operating company, such as vr.

    Example vr

  • Train type

    Train type code, such as IC, S or HL.

    Example IC

  • Train category

    Category such as Long-distance or Commuter.

    Example Long-distance

  • Commuter line

    Commuter line letter, such as P or I; empty for other trains.

    Example L

  • Running currently

    Whether the train is on its way right now.

    Example No

  • Cancelled

    Whether the train or this stop is cancelled.

    Example No

  • Station

    Station short code the record is about.

    Example HKI

  • Difference (minutes)

    Delay in minutes against the timetable; negative when early.

    Example 1

  • Track

    Platform track the train uses.

    Example 10

Dates

  • Departure date

    The day the train started its journey.

    Example Dec 6, 2026

  • Scheduled time

    Timetable time of the departure or arrival (UTC).

    Example Dec 6, 2026

  • Live estimate time

    Fintraffic's current estimate (UTC), for trains that have not yet reached the station.

    Example Dec 6, 2026

  • Actual time

    When the train really departed or arrived (UTC).

    Example Dec 6, 2026

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • ID idDeparture date, train number and station together, such as 2026-12-06-941-HKI.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
train_numbernumberTrain number3 of 3
departure_datedateDeparture date3 of 3
operatortextOperator3 of 3
train_typetextTrain type3 of 3
train_categorytextTrain category3 of 3
commuter_linetextCommuter line1 of 3
running_currentlyyes or noRunning currently3 of 3
cancelledyes or noCancelled3 of 3
stationtextStation3 of 3
scheduled_timedate and timeScheduled time3 of 3
live_estimate_timedate and timeLive estimate time0 of 3
actual_timedate and timeActual time2 of 3
difference_minutesnumberDifference (minutes)2 of 3
tracktextTrack3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordTrain numberOperatorTrain typeTrain categoryCommuter lineRunning currentlyCancelledStationDifference (minutes)TrackDeparture dateScheduled timeLive estimate timeActual time
121vrICLong-distance—NoNoHKI—10Dec 6, 2026Dec 6, 2026——
2941vrICLong-distance—YesNoHKI114Dec 6, 2026Dec 6, 2026—Dec 6, 2026
38402vrHLCommuterLNoNoHKI-117Dec 6, 2026Dec 6, 2026—Dec 6, 2026

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • One record is one train at one station you asked for; a train that departs from the station is shown by its departure, a train that ends there by its arrival.
  • Each station returns at most the number of departing and arriving trains you ask for (up to 100 each), taken from Fintraffic's current live data; it is not a historical archive.
  • A run reads at most 20 stations and returns at most 2,000 records.
  • live_estimate_time is filled only for trains that have not yet passed the station, and actual_time only for trains that already have; track and commuter_line are empty when the source has none.
  • Times are UTC. Fintraffic updates the data continuously, so results change from one call to the next.
  • Data from Fintraffic / digitraffic.fi, licensed CC BY 4.0: credit Fintraffic / digitraffic.fi when you use it. Not affiliated with or endorsed by Fintraffic.

Version history

A run uses the live version unless the request names another one with version.