Apify Actors by rl1987

Train running status

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.

#ColumnLabelTypeDescriptionExample
1recordTyperecordTypestringWhich 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.
2rideKeyrideKeystring, nullableThe 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.
3trainNumbertrainNumberstring, nullableTrain number as a string (‘9611’). Present on every row kind except station, and the input for trainStatus mode.
4trainNametrainNamestring, nullableThe train’s display name from the status payload’s train.description (usually the number).
5trainCategorytrainCategorystring, nullableService 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’.
6trainAcronymtrainAcronymstring, nullableShort category code the API uses: FR, IC, REG, AUT (bus).
7departureDatedepartureDatestring, nullableThe 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.
8originoriginstring, nullableDeparture 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.
9destinationdestinationstring, nullableArrival 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.
10delaydelaystring, nullableDelay 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.
11runningStatusrunningStatusstring, nullableThe API’s run state enum: ‘BEHIND_SCHEDULE’, ‘NOT_LEFT’, etc. Only on trainStatus rows; stop rows carry their own per-stop status.
12lastTakeoverLocationlastTakeoverLocationstring, nullableWhere the train was last located by the signalling system. Null before the run starts.
13lastTakeoverTimelastTakeoverTimestring, nullableTime of that last location, as the API formats it.
14stopCountstopCountinteger, nullableNumber of stops the status payload listed for the run, which is the number of stop rows emitted for it.
15reachedStopsreachedStopsinteger, nullableHow many of those stops the train had already reached (the API’s per-stop real flag). 0 for a train that has not left.