Naptan codes anywhere?

Seeing as many of the feeds use them is there a list of all underground stations with their naptan codes available?

https://data.gov.uk/dataset/naptan

I looked there but couldn’t find any Underground stations.

grep “Tooting Broadway Underground Station” Stops.csv

gives me one row back :-

“4900ZZLUTBY1”,"","","",“Tooting Broadway Underground Station”,"","","","—","","—","","–","",“Entrance 1”,"","",“N0077726”,“Tooting Broadway”,“London”,"","","","","",“0”,“U”,527454,171472,-0.1680882070,51.4279315245,“TMU”,"","","","","",“082”,“2016-01-22T11:07:05”,“2017-06-12T10:20:01”,1,“rev”,“act”

1 Like

Hi Ryan,

would calling https://api.tfl.gov.uk/StopPoint/Mode/Tube give you what you need?

3 Likes

Nope that returns 1683 objects. What he’s looking for (so am I) is just a list of stations that are being served by all these following: tube, overground, dlr, tram and tfl-rail. So all we want is an endpoint where we can get the list of unique stations served by the above modes. For example West Ham stations should be returning West Ham station once, not three times (multiple times on above endpoint as a child, different entrance and for different modes) for DLR, Tube and TfL rail. To re-iterate, all I want is a list of unique stations served by “tube, overground, tram, dlr, and tfl-rail” possible? Please?

so i think you can probably take the following steps

i haven’t fully tested it out yet, but i believe this is possible. I’m trying to find arrival times for any specified station and i need naptan Ids for that