GET stops/{latitude}/{longitude}/{distance}/{active}/{routeName}
Retrieve all stops within a certain radius (in feet) of the given point. The default search radius is 500 feet. Stops are sorted distance from the given point, from closest to furthest.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| latitude |
Latitude for the position to evaulate. |
decimal number |
Required |
| longitude |
Longitude for the position to evaluate. |
decimal number |
Required |
| distance |
Optional - The radius (in feet) for which to search against the supplied coordinates. Default is 500, max is 25,000 |
decimal number |
None. |
| active |
Optional - Retrieve also inactive stops (false by default) |
boolean |
None. |
| routeName |
Optional - Only retrieve stops for the specified route. |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of Stop| Name | Description | Type | Additional information |
|---|---|---|---|
| StopId | integer |
None. |
|
| Name | string |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| City | string |
None. |
|
| ScheduledTime |
The time a vehicle is scheduled to depart from this stop. Note: The 'date' part of this variable is unimportant, use only the Time. |
date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"StopId": 1,
"Name": "sample string 2",
"Latitude": 3.0,
"Longitude": 4.0,
"City": "sample string 5",
"ScheduledTime": "2026-03-02T21:21:36.7730928-08:00"
},
{
"StopId": 1,
"Name": "sample string 2",
"Latitude": 3.0,
"Longitude": 4.0,
"City": "sample string 5",
"ScheduledTime": "2026-03-02T21:21:36.7730928-08:00"
}
]
text/html
Sample:
[{"StopId":1,"Name":"sample string 2","Latitude":3.0,"Longitude":4.0,"City":"sample string 5","ScheduledTime":"2026-03-02T21:21:36.7730928-08:00"},{"StopId":1,"Name":"sample string 2","Latitude":3.0,"Longitude":4.0,"City":"sample string 5","ScheduledTime":"2026-03-02T21:21:36.7730928-08:00"}]
application/xml, text/xml
Sample:
<ArrayOfStop xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ACTransit.Transit.Domain.Models">
<Stop>
<City>sample string 5</City>
<Latitude>3</Latitude>
<Longitude>4</Longitude>
<Name>sample string 2</Name>
<ScheduledTime>2026-03-02T21:21:36.7730928-08:00</ScheduledTime>
<StopId>1</StopId>
</Stop>
<Stop>
<City>sample string 5</City>
<Latitude>3</Latitude>
<Longitude>4</Longitude>
<Name>sample string 2</Name>
<ScheduledTime>2026-03-02T21:21:36.7730928-08:00</ScheduledTime>
<StopId>1</StopId>
</Stop>
</ArrayOfStop>
