vnva
May 30, 2024, 2:36pm
1
This may be due to too much data.
I also noticed that for this type, stations are returned not throughout London, but throughout the UK.
It would actually be nice to be able to get all the train stations across the UK.
Perhaps it is worth adding pagination for this endpoint as implemented for StopPoint/Mode/:modeId?
Hello and welcome to the forum.
In terms of alternatives to the Unified API for getting data about railway stations, there are a few options:
The data we have in the Unified API comes from NaPTAN, so you could actually get it from the source.
That said, thank you for reporting the issue about the error. I’ll loop in my colleague @SarahLS regarding this.
1 Like
Thanks Leon.
@vnva thanks for reporting this. We’ll have a look into that error, and I’ll add a reply here with more details/once it’s resolved.
2 Likes
vnva
June 6, 2024, 12:12pm
5
Hello! Thanks for the answer.
Yes, I looked at the NaPTAN source, but there are no transport lines there
Hi @SarahLS Many thanks for looking into this.
Are there any updates? Will this be fixed soon?
If you go to the Download stop data by local authority page and enter 910 in the “Search local authority” box, you should be able to download the dataset of national rail stations, an extract of which I’ll include below:
ATCOCode
NaptanCode
PlateCode
CleardownCode
CommonName
CommonNameLang
ShortCommonName
ShortCommonNameLang
Landmark
LandmarkLang
Street
StreetLang
Crossing
CrossingLang
Indicator
IndicatorLang
Bearing
NptgLocalityCode
LocalityName
ParentLocalityName
GrandParentLocalityName
Town
TownLang
Suburb
SuburbLang
LocalityCentre
GridType
Easting
Northing
Longitude
Latitude
StopType
BusStopType
TimingStatus
DefaultWaitTime
Notes
NotesLang
AdministrativeAreaCode
CreationDateTime
ModificationDateTime
RevisionNumber
Modification
Status
9100ABDARE
Aberdare Rail Station
-
E0054662
Aberdare
1
UKOS
300400
202800
-3.443083446
51.71505791
RLY
110
2006-09-08T14:30:00
2007-09-26T13:00:00
1
revise
active
9100BRENTX
Brent Cross West Station
-
N0077635
Brent Cross
Golders Green
0
UKOS
523085
186998
-0.22548819
51.568429
RLY
110
2023-12-01T14:30:00
2023-12-01T13:00:00
0
new
active
9100ABDO
Aberdour Rail Station
-
ES000016
Aberdour
1
UKOS
319100
685400
-3.300560017
56.05459191
RLY
110
2006-09-08T14:30:00
2007-09-26T13:00:00
1
revise
active
9100ABDVY
Aberdovey Rail Station
-
E0054262
Aberdovey
1
UKOS
260600
296000
-4.057067068
52.5439566
RLY
110
2006-09-08T14:30:00
2007-09-26T13:00:00
1
revise
active
9100ABER
Aber Rail Station
-
E0035679
Aber
Caerphilly
1
UKOS
314870
186950
-3.229828477
51.57496554
RLY
110
2006-09-08T14:30:00
2007-09-26T13:00:00
1
revise
active
Is this what you’re looking for?
1 Like
vnva
June 11, 2024, 4:20pm
8
Hello, unfortunately no, this data does not contain NaPTAN code and lines.