{"api":{"id":"api_9e83fe965b0a3b060749a925","slug":"finland-live-trains","name":"Finland Live Trains API","description":"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.","kind":"ready_made","visibility":"public","domain":"rata.digitraffic.fi","source_url":"https://www.digitraffic.fi/en/railway-traffic/","category":"travel","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":15,"created_at":"2026-12-06T03:57:27.652Z","updated_at":"2026-12-06T03:57:27.652Z","runnable":true},"version":"1.0","contract_hash":"fc30a852aaf87ec381ee73f866c46a6b84c5da469e79ba60edcc7aed5886c486","fields":[{"name":"id","type":"string","description":"Departure date, train number and station together, such as 2026-12-06-941-HKI.","required":true,"coverage":1,"example":"2026-12-06-21-HKI"},{"name":"train_number","type":"integer","description":"The train's number.","required":false,"coverage":1,"example":21},{"name":"departure_date","type":"date","description":"The day the train started its journey.","required":false,"coverage":1,"example":"2026-12-06"},{"name":"operator","type":"string","description":"Short code of the operating company, such as vr.","required":false,"coverage":1,"example":"vr"},{"name":"train_type","type":"string","description":"Train type code, such as IC, S or HL.","required":false,"coverage":1,"example":"IC"},{"name":"train_category","type":"string","description":"Category such as Long-distance or Commuter.","required":false,"coverage":1,"example":"Long-distance"},{"name":"commuter_line","type":"string","description":"Commuter line letter, such as P or I; empty for other trains.","required":false,"coverage":0.6,"example":"L"},{"name":"running_currently","type":"boolean","description":"Whether the train is on its way right now.","required":false,"coverage":1,"example":false},{"name":"cancelled","type":"boolean","description":"Whether the train or this stop is cancelled.","required":false,"coverage":1,"example":false},{"name":"station","type":"string","description":"Station short code the record is about.","required":false,"coverage":1,"example":"HKI"},{"name":"scheduled_time","type":"datetime","description":"Timetable time of the departure or arrival (UTC).","required":false,"coverage":1,"example":"2026-12-06T04:20:00.000Z"},{"name":"live_estimate_time","type":"datetime","description":"Fintraffic's current estimate (UTC), for trains that have not yet reached the station.","required":false,"coverage":0.2,"example":"2026-12-06T04:13:00.000Z"},{"name":"actual_time","type":"datetime","description":"When the train really departed or arrived (UTC).","required":false,"coverage":0.6,"example":"2026-12-06T03:26:35.000Z"},{"name":"difference_minutes","type":"integer","description":"Delay in minutes against the timetable; negative when early.","required":false,"coverage":0.8,"example":1},{"name":"track","type":"string","description":"Platform track the train uses.","required":false,"coverage":1,"example":"10"}],"inputs":[{"name":"stations","type":"array","description":"Station short codes, such as HKI (Helsinki), TPE (Tampere), TKU (Turku) or OL (Oulu).","example":["HKI","TPE"],"required":true},{"name":"departing","type":"integer","description":"How many departing trains to read for each station (0 to 100).","default":5,"example":5},{"name":"arriving","type":"integer","description":"How many arriving trains to read for each station (0 to 100).","default":5,"example":5}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"actual_time":{"description":"When the train really departed or arrived (UTC).","format":"date-time","type":"string"},"cancelled":{"description":"Whether the train or this stop is cancelled.","type":"boolean"},"commuter_line":{"description":"Commuter line letter, such as P or I; empty for other trains.","type":"string"},"departure_date":{"description":"The day the train started its journey.","format":"date","type":"string"},"difference_minutes":{"description":"Delay in minutes against the timetable; negative when early.","type":"integer"},"id":{"description":"Departure date, train number and station together, such as 2026-12-06-941-HKI.","type":"string"},"live_estimate_time":{"description":"Fintraffic's current estimate (UTC), for trains that have not yet reached the station.","format":"date-time","type":"string"},"operator":{"description":"Short code of the operating company, such as vr.","type":"string"},"running_currently":{"description":"Whether the train is on its way right now.","type":"boolean"},"scheduled_time":{"description":"Timetable time of the departure or arrival (UTC).","format":"date-time","type":"string"},"station":{"description":"Station short code the record is about.","type":"string"},"track":{"description":"Platform track the train uses.","type":"string"},"train_category":{"description":"Category such as Long-distance or Commuter.","type":"string"},"train_number":{"description":"The train's number.","type":"integer"},"train_type":{"description":"Train type code, such as IC, S or HL.","type":"string"}},"required":["id"],"title":"Finland Live Trains API","type":"object"},"samples":[{"id":"2026-12-06-21-HKI","train_number":21,"departure_date":"2026-12-06","operator":"vr","train_type":"IC","train_category":"Long-distance","commuter_line":null,"running_currently":false,"cancelled":false,"station":"HKI","scheduled_time":"2026-12-06T04:20:00.000Z","live_estimate_time":null,"actual_time":null,"difference_minutes":null,"track":"10"},{"id":"2026-12-06-941-HKI","train_number":941,"departure_date":"2026-12-06","operator":"vr","train_type":"IC","train_category":"Long-distance","commuter_line":null,"running_currently":true,"cancelled":false,"station":"HKI","scheduled_time":"2026-12-06T03:26:00.000Z","live_estimate_time":null,"actual_time":"2026-12-06T03:26:35.000Z","difference_minutes":1,"track":"14"},{"id":"2026-12-06-8402-HKI","train_number":8402,"departure_date":"2026-12-06","operator":"vr","train_type":"HL","train_category":"Commuter","commuter_line":"L","running_currently":false,"cancelled":false,"station":"HKI","scheduled_time":"2026-12-06T03:13:00.000Z","live_estimate_time":null,"actual_time":"2026-12-06T03:12:00.000Z","difference_minutes":-1,"track":"17"}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"actual_time":0.67,"cancelled":1,"commuter_line":0.33,"departure_date":1,"difference_minutes":0.67,"id":1,"live_estimate_time":0,"operator":1,"running_currently":1,"scheduled_time":1,"station":1,"track":1,"train_category":1,"train_number":1,"train_type":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:57:27.652Z","activated_at":"2026-12-06T03:57:27.652Z","active":true,"contract_hash":"fc30a852aaf87ec381ee73f866c46a6b84c5da469e79ba60edcc7aed5886c486","fields_count":15}]}