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.
| # | Column | Label | Type | Description | Example |
|---|---|---|---|---|---|
| 1 | recordType | string | Which 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. | ||
| 2 | scrapedAt | string | ISO 8601 UTC timestamp of when this row was delivered. | ||
| 3 | provenance | string | What produced this row: the Apify actor id, the build number and the record kind, joined as ‘ | ||
| 4 | query | string, nullable | Station rows only. The search term this row was returned for. | ||
| 5 | name | string, nullable | Station rows: the place’s full name. Railcard rows: the card’s name. | ||
| 6 | code | string, nullable | Station rows: Trainline’s location id for the place. Railcard rows: the railcard’s catalogue code. | ||
| 7 | shortName | string, nullable | Station rows only. The station’s short name/code as the API labels it, e.g. LDS. | ||
| 8 | locationType | string, nullable | Station rows only. The kind of place: station, city, region, country or address. | ||
| 9 | countryCode | string, nullable | Station rows only. ISO country code of the place. | ||
| 10 | latitude | number, nullable | Station rows only. Latitude in decimal degrees. | ||
| 11 | longitude | number, nullable | Station rows only. Longitude in decimal degrees. | ||
| 12 | timezone | string, nullable | Station rows only. IANA timezone of the place. | ||
| 13 | parentName | string, nullable | Station rows only. The city or region the station belongs to, when the API reports one. | ||
| 14 | parentType | string, nullable | Station rows only. The kind of the parent place. | ||
| 15 | connections | string, nullable | Station rows only. Comma-separated ids of places the API links to this one (nearby stations and metro links). | ||
| 16 | score | number, nullable | Station 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. |