{"api":{"id":"api_0a0c0ef39073074db8c1cadf","slug":"via-rail-train-status","name":"VIA Rail Train Status API","description":"Every VIA Rail train currently tracked, one row per train and station: scheduled and estimated time, delay in minutes, plus the train's position and speed.","kind":"ready_made","visibility":"public","domain":"tsimobile.viarail.ca","source_url":"https://tsimobile.viarail.ca/data/allData.json","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.728Z","updated_at":"2026-12-06T03:57:27.728Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"train","type":"string","description":"VIA train number.","required":true,"coverage":1,"example":"59"},{"name":"service_date","type":"date","description":"Day the train's run started.","required":false,"coverage":1,"example":"2026-12-05"},{"name":"from","type":"string","description":"Origin city.","required":false,"coverage":1,"example":"OTTAWA"},{"name":"to","type":"string","description":"Destination city.","required":false,"coverage":1,"example":"TORONTO"},{"name":"departed","type":"boolean","description":"True once the train has left its origin.","required":false,"coverage":1,"example":true},{"name":"arrived","type":"boolean","description":"True once the train has reached its destination.","required":false,"coverage":1,"example":false},{"name":"station","type":"string","description":"Station name.","required":false,"coverage":1,"example":"Toronto"},{"name":"station_code","type":"string","description":"VIA station code.","required":false,"coverage":1,"example":"TRTO"},{"name":"scheduled","type":"datetime","description":"Scheduled time at the station (UTC).","required":false,"coverage":1,"example":"2026-12-06T03:48:00.000Z"},{"name":"estimated","type":"datetime","description":"Estimated time at the station (UTC).","required":false,"coverage":1,"example":"2026-12-06T04:01:10.000Z"},{"name":"delay_minutes","type":"integer","description":"Estimated minus scheduled, in minutes.","required":false,"coverage":1,"example":13},{"name":"lat","type":"number","description":"Train latitude.","required":false,"coverage":1,"example":43.6907},{"name":"lon","type":"number","description":"Train longitude.","required":false,"coverage":1,"example":-79.2812},{"name":"speed","type":"number","description":"Train speed as reported.","required":false,"coverage":1,"example":92},{"name":"poll_time","type":"datetime","description":"When the train position was last updated (UTC).","required":false,"coverage":1,"example":"2026-12-06T03:50:25.000Z"}],"inputs":[{"name":"train_numbers","type":"array","description":"Only these VIA train numbers, such as 1 or 45.","example":["1","45"]},{"name":"stations","type":"array","description":"Only rows for these station codes, such as TRTO or MTRL.","example":["TRTO","MTRL"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"arrived":{"description":"True once the train has reached its destination.","type":"boolean"},"delay_minutes":{"description":"Estimated minus scheduled, in minutes.","type":"integer"},"departed":{"description":"True once the train has left its origin.","type":"boolean"},"estimated":{"description":"Estimated time at the station (UTC).","format":"date-time","type":"string"},"from":{"description":"Origin city.","type":"string"},"lat":{"description":"Train latitude.","type":"number"},"lon":{"description":"Train longitude.","type":"number"},"poll_time":{"description":"When the train position was last updated (UTC).","format":"date-time","type":"string"},"scheduled":{"description":"Scheduled time at the station (UTC).","format":"date-time","type":"string"},"service_date":{"description":"Day the train's run started.","format":"date","type":"string"},"speed":{"description":"Train speed as reported.","type":"number"},"station":{"description":"Station name.","type":"string"},"station_code":{"description":"VIA station code.","type":"string"},"to":{"description":"Destination city.","type":"string"},"train":{"description":"VIA train number.","type":"string"}},"required":["train"],"title":"VIA Rail Train Status API","type":"object"},"samples":[{"train":"59","service_date":"2026-12-05","from":"OTTAWA","to":"TORONTO","departed":true,"arrived":false,"station":"Toronto","station_code":"TRTO","scheduled":"2026-12-06T03:48:00.000Z","estimated":"2026-12-06T04:01:10.000Z","delay_minutes":13,"lat":43.6907,"lon":-79.2812,"speed":92,"poll_time":"2026-12-06T03:50:25.000Z"},{"train":"75","service_date":"2026-12-05","from":"TORONTO","to":"WINDSOR","departed":true,"arrived":false,"station":"Toronto","station_code":"TRTO","scheduled":"2026-12-05T22:36:00.000Z","estimated":"2026-12-05T22:36:00.000Z","delay_minutes":0,"lat":42.3043,"lon":-82.5319,"speed":161,"poll_time":"2026-12-06T03:50:19.000Z"},{"train":"79","service_date":"2026-12-05","from":"TORONTO","to":"WINDSOR","departed":true,"arrived":false,"station":"Toronto","station_code":"TRTO","scheduled":"2026-12-06T00:45:00.000Z","estimated":"2026-12-06T00:45:00.000Z","delay_minutes":0,"lat":42.9914,"lon":-81.0761,"speed":94,"poll_time":"2026-12-06T03:50:22.000Z"}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"arrived":1,"delay_minutes":1,"departed":1,"estimated":1,"from":1,"lat":1,"lon":1,"poll_time":1,"scheduled":1,"service_date":1,"speed":1,"station":1,"station_code":1,"to":1,"train":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},"links":{"run":"https://pullrow.dev/v1/apis/api_0a0c0ef39073074db8c1cadf/run","openapi":"https://pullrow.dev/v1/apis/api_0a0c0ef39073074db8c1cadf/openapi.json","contract":"https://pullrow.dev/v1/apis/api_0a0c0ef39073074db8c1cadf/contract.json","page":"https://pullrow.dev/catalog/via-rail-train-status"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Covers only trains VIA Rail currently lists as active (about 60 at a time); there is no history.","Times come from cellular tracking and may not show delays or recovered time; VIA says to treat them as estimates.","Position, speed and poll time are per train and repeat on each station row of that train.","Some stations have only an arrival or only a departure time; the first time available is used.","The source updates about every few minutes. Data is public train-status information from VIA Rail; credit VIA Rail, no published licence."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"train","label":"VIA train number","description":"","group":"Basics","shown":true,"written":false},{"name":"service_date","label":"Service date","description":"Day the train's run started.","group":"Dates","shown":true,"written":false},{"name":"from","label":"From","description":"Origin city.","group":"Basics","shown":true,"written":false},{"name":"to","label":"To","description":"Destination city.","group":"Basics","shown":true,"written":false},{"name":"departed","label":"Departed","description":"True once the train has left its origin.","group":"Basics","shown":true,"written":false},{"name":"arrived","label":"Arrived","description":"True once the train has reached its destination.","group":"Basics","shown":true,"written":false},{"name":"station","label":"Station name","description":"","group":"Basics","shown":true,"written":false},{"name":"station_code","label":"VIA station code","description":"","group":"Basics","shown":true,"written":false},{"name":"scheduled","label":"Scheduled","description":"Scheduled time at the station (UTC).","group":"Dates","shown":true,"written":false},{"name":"estimated","label":"Estimated","description":"Estimated time at the station (UTC).","group":"Dates","shown":true,"written":false},{"name":"delay_minutes","label":"Delay (minutes)","description":"Estimated minus scheduled, in minutes.","group":"Basics","shown":true,"written":false},{"name":"lat","label":"Train latitude","description":"","group":"Basics","shown":true,"written":false},{"name":"lon","label":"Train longitude","description":"","group":"Basics","shown":true,"written":false},{"name":"speed","label":"Speed","description":"Train speed as reported.","group":"Basics","shown":true,"written":false},{"name":"poll_time","label":"Poll time","description":"When the train position was last updated (UTC).","group":"Dates","shown":true,"written":false}],"inputs":[{"name":"train_numbers","label":"Train numbers","help":"Only these VIA train numbers, such as 1 or 45.","example":"1, 45","written":false},{"name":"stations","label":"Stations","help":"Only rows for these station codes, such as TRTO or MTRL.","example":"TRTO, MTRL","written":false}]}},"incidents":[]}