Apify Actors by rl1987

Railcards

Trainline Railcards columns, generated from the actor dataset schema.

Describes build 0.1.8 of rl1987/trainline-api-scraper, deployed 2026-11-22. The column set last changed 2026-11-22. Earlier builds can return a different one.

Dataset view: railcards — ?view=railcards on the items API, or the matching tab in the Console.

12 columns, in the order the view shows them.

#ColumnLabelTypeDescriptionExample
1recordTypestringWhich kind of row this is. journey and fare-day come from the journeys and fareCalendar modes, station from stations, railcard from railcards, calling-point and service-status from the includeCallingPoints toggle.
2scrapedAtstringISO 8601 UTC timestamp of when this row was delivered.
3provenancestringWhat produced this row: the Apify actor id, the build number and the record kind, joined as ‘@ ’, e.g. ’[email protected] journey’ (’local@local ’ off-platform). With scrapedAt (when the row was delivered) it pins every row to the exact build that made it.
4codestring, nullableStation rows: Trainline’s location id for the place. Railcard rows: the railcard’s catalogue code.
5namestring, nullableStation rows: the place’s full name. Railcard rows: the card’s name.
6pricenumber, nullableRailcard rows only. The card’s price in currency.
7currencystring, nullableThe ISO code the price on this row is in (journey, fare-day: the fare; railcard: the card’s price).
8validityPeriodstring, nullableRailcard rows only. The card’s validity as the catalogue states it, e.g. P1Y for one year and P3Y for three.
9vendorstring, nullableRailcard rows only. Who sells the card.
10description—undocumented
11termsSummarystring, nullableRailcard rows only, and only with includeRailcardTerms on. The card’s terms and conditions summary. Blank (not missing) when the terms request failed.
12termsUrlstring, nullableRailcard rows only, and only with includeRailcardTerms on. Link to the card’s full terms on Trainline’s site.