Trenitalia Train running status columns, generated from the actor dataset schema.
Describes build 0.1.5 of rl1987/trenitalia-timetable-scraper, deployed 2026-11-22. The column set last changed 2026-11-22. Earlier builds can return a different one.
Dataset view: trainStatuses — ?view=trainStatuses on the items API, or the matching tab in the Console.
15 columns, in the order the view shows them.
| # | Column | Label | Type | Description | Example |
|---|---|---|---|---|---|
| 1 | recordType | recordType | string | Which kind of row this is: solution, fare, trainStatus, stop, board or station. Each kind has its own dataset view; a column another kind does not fill is absent from these rows rather than null. | |
| 2 | rideKey | rideKey | string, nullable | The run’s ride key, e.g. ‘09611A’ - train number plus a run suffix. This identifies one dated run, and with departureDate it is the de-duplication key for trainStatus and board rows. | |
| 3 | trainNumber | trainNumber | string, nullable | Train number as a string (‘9611’). Present on every row kind except station, and the input for trainStatus mode. | |
| 4 | trainName | trainName | string, nullable | The train’s display name from the status payload’s train.description (usually the number). | |
| 5 | trainCategory | trainCategory | string, nullable | Service category as the API names it: ‘Frecciarossa’, ‘Intercity’, ‘Regionale’. On board rows it comes from trainInfo.denomination and regional services may come back as an unlocalised token such as ’label.train.info.denomination.reg’. | |
| 6 | trainAcronym | trainAcronym | string, nullable | Short category code the API uses: FR, IC, REG, AUT (bus). | |
| 7 | departureDate | departureDate | string, nullable | The run’s departure date in the format its endpoint returned it in: ‘21/11/2026’ from info/mobility/status, ‘2026-11-19T06:50:00’ from a trainKey, or the board entry’s own ‘2026-11-19 19:35:00.0’ when it has one - and date-only-with-midnight when it does not, which is 4 in every 47 arrivals rows measured. Not normalised; time carries the time shown on the board. | |
| 8 | origin | origin | string, nullable | Departure station name as the API spells it (e.g. ‘Milano Centrale’). On a board row this is the train’s true origin, which may be earlier than the board station. | |
| 9 | destination | destination | string, nullable | Arrival station name as the API spells it. On a board row this is the train’s final destination, which may be beyond the board station. | |
| 10 | delay | delay | string, nullable | Delay as the API phrases it, e.g. ‘+4 MIN’, ‘Partito +2 MIN’, ‘Arrivato’. A string, not minutes; null when the run has not started or has no measured delay. | |
| 11 | runningStatus | runningStatus | string, nullable | The API’s run state enum: ‘BEHIND_SCHEDULE’, ‘NOT_LEFT’, etc. Only on trainStatus rows; stop rows carry their own per-stop status. | |
| 12 | lastTakeoverLocation | lastTakeoverLocation | string, nullable | Where the train was last located by the signalling system. Null before the run starts. | |
| 13 | lastTakeoverTime | lastTakeoverTime | string, nullable | Time of that last location, as the API formats it. | |
| 14 | stopCount | stopCount | integer, nullable | Number of stops the status payload listed for the run, which is the number of stop rows emitted for it. | |
| 15 | reachedStops | reachedStops | integer, nullable | How many of those stops the train had already reached (the API’s per-stop real flag). 0 for a train that has not left. |