v1

latestSwagger 2.02026-07-14160108.2 KB

JSON - Station Entrances

<h4 class="text-primary">Description</h4> <p>Returns a list of nearby station entrances based on latitude, longitude, and radius (meters). Omit search parameters to return all station entrances.</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>Entrances</td> <td> Array containing detailed information about station entrances (<a href="#StationEntrance">StationEntrance</a>). </td> </tr> <tr> <td colspan="2"> <div class="text-primary" style="margin-top: 1em"> <a id="StationEntrance" name= "StationEntrance">StationEntrance Elements</a> </div> </td> </tr> <tr> <td>Description</td> <td>Additional information for the entrance, if available. Currently available data usually shows the same value as the Name element.</td> </tr> <tr> <td style="text-decoration: line-through">ID</td> <td><span class="text-danger">Deprecated.</span></td> </tr> <tr> <td>Lat</td> <td>Latitude.</td> </tr> <tr> <td>Lon</td> <td>Longitude.</td> </tr> <tr> <td>Name</td> <td>Name of the entrance (usually the station name and nearest intersection).</td> </tr> <tr> <td>StationCode1</td> <td>The station code associated with this entrance. Use this value in other rail-related APIs to retrieve data about a station.</td> </tr> <tr> <td>StationCode2</td> <td>For stations containing multiple platforms (e.g.: Gallery Place, Fort Totten, L'Enfant Plaza, and Metro Center), the other station code.</td> </tr> </tbody> </table>
get/json/jStationEntrances

Query parameters

Lat38.8978168

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

Lon-77.0404246

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

Radius500

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

Response

Default response code.