v1
latestSwagger 2.02026-07-14160108.2 KBXML - Station List
<h4 class="text-primary">Description</h4> <p>Returns a list of station location and address information based on a given LineCode. Omit the LineCode to return all stations. The response is an array of objects identical to those returned in the Station Information method.</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>Stations</td> <td> Array containing station information (<a href= "#Station">Station</a>). </td> </tr> <tr> <td colspan="2"> <div class="text-primary" style="margin-top: 1em"> <a id="Station" name="Station">Station Elements</a> </div> </td> </tr> <tr> <td>Address</td> <td> Structure describing <a href="#Address">address</a> information. </td> </tr> <tr> <td>Code</td> <td>Station code. Repeated from input.</td> </tr> <tr> <td>Lat</td> <td>Latitude.</td> </tr> <tr> <td>LineCode1</td> <td>Two-letter abbreviation for one line (e.g.: RD, BL, YL, OR, GR, or SV) served by this station. If the station has an additional platform, the lines served by the other platform are listed in the LineCodeX values for the record associated with the StationCode found in StationTogether1.</td> </tr> <tr> <td>LineCode2</td> <td>Additional line served by this station, if applicable.</td> </tr> <tr> <td>LineCode3</td> <td>Additional line served by this station, if applicable.</td> </tr> <tr> <td>LineCode4</td> <td>Additional line served by this station, if applicable. Currently not in use.</td> </tr> <tr> <td>Lon</td> <td>Longitude.</td> </tr> <tr> <td>Name</td> <td>Station name.</td> </tr> <tr> <td>StationTogether1</td> <td>For stations with multiple platforms (e.g.: Gallery Place, Fort Totten, L'Enfant Plaza, and Metro Center), the additional StationCode will be listed here.</td> </tr> <tr> <td>StationTogether2</td> <td>Similar in function to StationTogether2. Currently not in use.</td> </tr> <tr> <td colspan="2"> <div class="text-primary" style="margin-top: 1em"> <a id="Address" name="Address">Address Elements</a> </div> </td> </tr> <tr> <td>City</td> <td>City.</td> </tr> <tr> <td>State</td> <td>State (abbreviated).</td> </tr> <tr> <td>Street</td> <td>Street address (for GPS use).</td> </tr> <tr> <td>Zip</td> <td>Zip code.</td> </tr> </tbody> </table>get/Stations
Query parameters
LineCode'RD' | 'YL' | 'GR' | 'BL' | 'OR' | 'SV'
Two-letter line code abbreviation:
<ul> <li>RD - Red</li> <li>YL - Yellow</li> <li>GR - Green</li> <li>BL - Blue</li> <li>OR - Orange</li> <li>SV - Silver</li> </ul>Response
Default response code.