Which Api for arrivals regardless of line


#1

Looking through the API in postman I cant seem to find which API I can use to get all arrivals at a certain location. Regardless of Line. For example Kings Cross has multiple lines through same platform. Met, Circle, H&C. However the only API i can see has me provide a line and I don’t want to.
Any assistance on what API I should look into to achieve this?


#2

Hi @ryan.forsyth

I would advise using the StopPoint endpoint using the Naptan for the underground station.

e.g. King’s Cross would be:

https://api.tfl.gov.uk/StopPoint/940GZZLUKSX/Arrivals

Thanks,
James Evans
Technology Service Operations