v1

latestSwagger 2.02026-07-14120752.1 KB

XML - Stop Search

<h4 class="text-primary">Description</h4> <p>Returns a list of nearby bus stops based on latitude, longitude, and radius. Omit all parameters to retrieve a list of all stops.</p> <h4 class="text-primary">Response Elements</h4> <table class="table table-condensed table-hover"> <thead> <tr> <th class="col-md-3">Element</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>Stops</td> <td> Array containing stop information (<a href="#Stop">Stop</a>). </td> </tr> <tr> <td colspan="2"> <div class="text-primary" style="margin-top: 1em"> <a id="Stop" name="Stop">Stop Elements</a> </div> </td> </tr> <tr> <td>Lat</td> <td>Latitude.</td> </tr> <tr> <td>Lon</td> <td>Longitude.</td> </tr> <tr> <td>Name</td> <td>Stop name. May be slightly different from what is spoken or displayed in the bus.</td> </tr> <tr> <td>Routes</td> <td>String array of route variants which provide service at this stop. Note that these are not date-specific; any route variant which stops at this stop on any day will be listed.</td> </tr> <tr> <td>StopID</td> <td>7-digit regional ID which can be used in various bus-related methods. If unavailable, the StopID will be 0 or NULL.</td> </tr> </tbody> </table>
get/Stops

Query parameters

Lat'38.878586'

Center point Latitude, required if Longitude and Radius are specified.

Lon'-76.989626'

Center point Longitude, required if Latitude and Radius are specified.

Radius'500'

Radius (feet) to include in the search area, required if Latitude and Longitude are specified.

Response

Default response code.