Apify Actors by rl1987

Stations

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

16 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.
4querystring, nullableStation rows only. The search term this row was returned for.
5namestring, nullableStation rows: the place’s full name. Railcard rows: the card’s name.
6codestring, nullableStation rows: Trainline’s location id for the place. Railcard rows: the railcard’s catalogue code.
7shortNamestring, nullableStation rows only. The station’s short name/code as the API labels it, e.g. LDS.
8locationTypestring, nullableStation rows only. The kind of place: station, city, region, country or address.
9countryCodestring, nullableStation rows only. ISO country code of the place.
10latitudenumber, nullableStation rows only. Latitude in decimal degrees.
11longitudenumber, nullableStation rows only. Longitude in decimal degrees.
12timezonestring, nullableStation rows only. IANA timezone of the place.
13parentNamestring, nullableStation rows only. The city or region the station belongs to, when the API reports one.
14parentTypestring, nullableStation rows only. The kind of the parent place.
15connectionsstring, nullableStation rows only. Comma-separated ids of places the API links to this one (nearby stations and metro links).
16scorenumber, nullableStation rows only. How well this place matched the query, 0 to 1. Rows below 0.72 are not delivered at all, so every station row is a match and not just a ranked near-miss.