https://api.tfl.gov.uk/StopPoint/Mode/tube
I’m using the above link for naptanId to feed into my other endpoints to get other data such as live crowding but I’ve noticed that most of these naptanId codes aren’t useful. Is there a way to get simple naptanId for all tube stations?
The data returned by that first URL contains many types of StopPoint, including station entrances and platforms, for which crowding data are not available.
What you could do is filter the StopPoints and only look at those with a stopType of NaptanMetroStation:
I have filtered down to NaptanMetroEntrance codes only. But they are still not helpful when I plug them into the crowding endpoint.
4900ZZLUACT1
4900ZZLUADE1
4900ZZLUALD1
400ZZLUAMS0
4900ZZLUAGL1
4900ZZLUACY1