Apify Actors by rl1987

Train stops

Trenitalia Train stops 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: stops — ?view=stops 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.
4departureDatedepartureDatestring, 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.
5sequencesequenceinteger, nullable1-based position of the stop in the run’s stop list, in travel order. With rideKey and departureDate it identifies the stop.
6locationlocationstring, nullableStation name of this stop, as the API spells it.
7locationIdlocationIdstring, nullableThe stop’s own station id, e.g. ‘830001700’ for Milano Centrale - a string here, an integer on station rows. On a board row the payload’s locationId is NOT the counterpart station’s id and is deliberately not mapped.
8platformplatformstring, nullablePlatform (‘binario’) at this stop as the API sends it, e.g. ‘17’. A string because it can carry a suffix; null when not yet assigned.
9trainOrientationtrainOrientationstring, nullableWhich end of the platform the train’s Executive/first carriage is at, as a localised string (‘Executive in testa’). Null when the API does not say.
10stopStatusstopStatusstring, nullablePer-stop state: ‘NOT_YET_ARRIVED’, ‘STATION_EXCEEDED’, etc. Tells you whether the times on this stop have happened.
11reachedreachedboolean, nullableWhether the train had actually reached this stop at scrape time (the API’s real flag). False on every stop of a run that has not left.
12scheduledDeparturescheduledDeparturestring, nullableScheduled departure time at this stop, HH:MM as the API sends it with no date. Null at a terminus that has no departure.
13actualDepartureactualDeparturestring, nullableEstimated or actual departure time at this stop, HH:MM. The API labels it ‘Stimata’ (estimated) or ‘Effettiva’ (actual); both are mapped here and reached says which one it was.
14scheduledArrivalscheduledArrivalstring, nullableScheduled arrival time at this stop, HH:MM. Null at the first stop of the run.
15actualArrivalactualArrivalstring, nullableEstimated or actual arrival time at this stop, HH:MM, from the API’s ‘Arrivo Stimato’/‘Arrivo Effettivo’ label.