Gets a list of StopPoints within {radius} by the specified criteria


#1

Can someone please tell me exactly what I need to add to these textfields, please?

https://api.tfl.gov.uk/swagger/ui/index.html?url=/swagger/docs/v1#!/StopPoint/StopPoint_GetByGeoPoint


#2

useStopPointHeirarchy: a simple true/false - true if you want the output returned as a hierarchy (i.e. TopMostParent and then children iteratively, false if you just want a list

modes: you most probably want ‘bus’ here, possibly ‘bus,tram’

categories: probably leave blank to return all the possible data. If you want to refine the returned output, do what Swagger says and use stopPoint/Meta/categories to get the list in order to decide which categories of data to include/exclude


#3

I am also having problems with this end point, I always get a “EntityNotFoundException” 404 error, no matter what query parameters I use.
Do you get back a valid result?

Here is the full url I call (please update the id and keys accordingly to test):
https://api.tfl.gov.uk/StopPoint?stopTypes=NaptanBusWayPoint&radius=200&useStopPointHierarchy=false&modes=bus&categories=none&returnLines=true&location.lat=51.6&location.lon=0.12&app_id=xxx&app_key=xxx