Get a list of tube stations within radius of lon/lat?


#1

Is there a way to get a list of all tube stations with only commonName, approx long/latt and naptanId - given a radius around a long/latt?

Failing that, just a full list of all tube stations with credentials above?


#2

No, you get what you’re given and then have to filter the JSON.

The calls made to the API are cached.

If you’re worried about the amount of data that comes back, ensure your client has compression enabled:

“Accept-Encoding: gzip”