Apify Actors by rl1987

Solutions

Trenitalia Solutions 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: solutions — ?view=solutions on the items API, or the matching tab in the Console.

21 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.
2solutionIdsolutionIdstring, nullableUpstream solution id (a string, not a number - it is a UUID-shaped token). Unique per journey option within one search; the ledger’s de-duplication key.
3searchIdsearchIdstring, nullableThe search this solution answered, as the BFF echoed it back. Identical across the solutions of one search; useful for grouping rows back into a single run of a query.
4originoriginstring, 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.
5destinationdestinationstring, 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.
6departureTimedepartureTimestring, nullableISO-8601 departure of the journey, with the +01:00/+02:00 offset the API sends (e.g. ‘2026-11-21T08:00:00.000+01:00’). Not normalised to UTC.
7arrivalTimearrivalTimestring, nullableISO-8601 arrival of the journey, same offset convention as departureTime. For a multi-leg journey this is the arrival at the final destination.
8durationdurationstring, nullableJourney duration as the API formats it (‘3h 10min’), not a number of minutes. Includes the wait for changes.
9numberOfChangesnumberOfChangesstring, nullableChange count as a localised string the API sends: ‘Diretto’, ‘1 Cambio’, ‘2 Cambi’. Empty on fare/stop/board rows.
10statusstatusstring, nullableSolution sale status as the API reports it, e.g. SALEABLE. It describes sellability at scrape time, not availability on the day of travel.
11pricepricenumber, nullablePrice amount in the currency given by currency (’€’ for Italian domestic journeys), as the API sends it. A fare row inherits the solution’s amount because offerDetails carries no price of its own.
12currencycurrencystring, nullableCurrency symbol exactly as the API sends it (’€’), not an ISO code. Paired with price on solution and fare rows.
13priceIsIndicativepriceIsIndicativeboolean, nullableThe API’s own price.indicative flag: true when the amount is an estimate rather than a quotable fare. Null on rows that carry no price.
14trainCategorytrainCategorystring, 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’.
15trainNumbertrainNumberstring, nullableTrain number as a string (‘9611’). Present on every row kind except station, and the input for trainStatus mode.
16trainAcronymtrainAcronymstring, nullableShort category code the API uses: FR, IC, REG, AUT (bus).
17trainSummarytrainSummarystring, nullableAll legs of the journey flattened into one string, ‘FR 9611 -> FR 9620’. Change count is in numberOfChanges and the leg list is not shipped as a nested object.
18legCountlegCountinteger, nullableNumber of legs (nodes) the solution is made of. 1 for a direct train.
19fareCountfareCountinteger, nullableHow many selected offers the API returned for this solution. Same as the number of fare rows emitted for it when includeFares is on.
20canShowSeatMapcanShowSeatMapboolean, nullableThe API’s own flag for whether a seat map is offered for this solution. Full seat-level maps need a live cart and are out of scope; seats left per fare are in fare rows availableSeats.
21canShowGridcanShowGridboolean, nullableThe API’s own flag for whether a fare/class grid is offered for this solution, which also needs a live cart. Reported as the upstream says it, not probed.