Train O'Clock API

The best API to get rail data instantly

With Train O'Clock, you can retrieve train times and display timetable data from all major rail company in Europe: SNCF (France), SBB (Switzerland), SNCB (Belgium), RENFE (Spain), ÖBB (Austria), Trenord (Italia) and much more

Try it out

{ "api_version": "1.0.0", "journeys": [ { "arrival_date": "2022-03-24T12:30:00+0100", "departure_date": "2022-03-24T08:42:00+0100", "destination": "Lyon Part Dieu", "duration": 13680, "origin": "Rouen Rive Droite", "segments": [ { "arrival_date": "2022-03-24T12:30:00+0100", "carrier_number": "5316", "carrier_type": "TGV", "departure_date": "2022-03-24T08:42:00+0100", "destination": "Lyon Part Dieu", "duration": 13680, "origin": "Rouen Rive Droite", "stops": [ { "departure_date": "2022-03-24T08:42:00+0100", "stop_name": "Rouen Rive Droite" }, { "arrival_date": "2022-03-24T09:26:00+0100", "departure_date": "2022-03-24T09:29:00+0100", "stop_name": "Mantes-la-Jolie" }, { "arrival_date": "2022-03-24T10:01:00+0100", "departure_date": "2022-03-24T10:04:00+0100", "stop_name": "Versailles Chantiers" }, { "arrival_date": "2022-03-24T10:18:00+0100", "departure_date": "2022-03-24T10:28:00+0100", "stop_name": "Massy Palaiseau RER C" }, { "arrival_date": "2022-03-24T12:30:00+0100", "stop_name": "Lyon Part Dieu" } ] } ] } ], "response_date_time": "2022-03-01T13:23:19+0000" }

We handle more than million API requests per month