StopPoint from 5-digit legacy StopCode1


#1

Returning to the API after a while I’m wondering what is the recommended way to take a 5 digit code seen on a bus stop and turning it into a StopPoint I can use with the Unified API? Of course with the legacy API the code could be used as a look-up parameter directly.

Many Thanks,

Drew


#2

There is an API call that will do this for bus stops /StopPoint/Sms it will return a 302 to the /StopPoint/Naptan id for that bus stop.

Here is an example call https://api.tfl.gov.uk/StopPoint/Sms/73241


#3

That’s fantastic! I had never seen this documented. Thanks so much.

Hope this is useful to others, too.

Cheers,

Drew