---
title: "XML - Station Timings"
method: GET
path: "/StationTimes"
---

# XML - Station Timings

`GET /StationTimes`

<h4 class="text-primary">Description</h4>

<p>Returns opening and scheduled first/last train times based on a given
StationCode. Omit the StationCode to return timing information for all
stations.</p>

<p>Note that for stations with multiple platforms (e.g.: Metro Center, L'Enfant
Plaza, etc.), a distinct call is required for each StationCode to retrieve the
full set of train times at such stations.</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>StationTimes</td>

<td>
Array containing station timing information (<a href=
"#StationTime">StationTime</a>).
</td>
</tr>

<tr>
<td colspan="2">
<div class="text-primary" style="margin-top: 1em">
<a id="StationTime" name="StationTime">StationTime
Elements</a>
</div>
</td>
</tr>

<tr>
<td>Code</td>

<td>Station code for this station. Use this value in other
rail-related APIs to retrieve data about a station.</td>
</tr>

<tr>
<td>StationName</td>

<td>Full name of the station.</td>
</tr>

<tr>
<td>*Day Elements</td>

<td>
Container elements containing timing information based on
<a href="#dow">day of the week.</a>
</td>
</tr>

<tr>
<td colspan="2">
<div class="text-primary" style="margin-top: 1em">
<a id="dow" name="dow">Monday/Tuesday/Wednesday/etc.
Elements</a>
</div>
</td>
</tr>

<tr>
<td>OpeningTime</td>

<td>Station opening time. Format is HH:mm.</td>
</tr>

<tr>
<td>FirstTrains</td>

<td>
Structure containing <a href="#first">first train</a>
information.
</td>
</tr>

<tr>
<td>LastTrains</td>

<td>
Structure containing <a href="#last">last train</a>
information.
</td>
</tr>

<tr>
<td colspan="2">
<div class="text-primary" style="margin-top: 1em">
<a id="first" name="first">FirstTrains Elements</a>
</div>
</td>
</tr>

<tr>
<td>Time</td>

<td>First train leaves the station at this time. Format is
HH:mm.</td>
</tr>

<tr>
<td>DestinationStation</td>

<td>Station code for the train's destination. Use this value in
other rail-related APIs to retrieve data about a station.</td>
</tr>

<tr>
<td colspan="2">
<div class="text-primary" style="margin-top: 1em">
<a id="last" name="last">LastTrains Elements</a>
</div>
</td>
</tr>

<tr>
<td>Time</td>

<td>Last train leaves the station at this time. Format is HH:mm.
Note that when the time is AM, it signifies the next day. For
example, a value of 02:30 under a Saturday element means the last
train leaves on Sunday at 2:30 AM.</td>
</tr>

<tr>
<td>DestinationStation</td>

<td>Station code for the train's destination. Use this value in
other rail-related APIs to retrieve data about a station.</td>
</tr>
</tbody>
</table>

## Query parameters

- `StationCode` 'E10'

## Response `200`

Default response code.

---

[API](https://skmtc.net/wmata/apis/rail-station.md) · [All operations](https://skmtc.net/wmata/apis/rail-station/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wmata/rail-station/versions/7725c49a1ed9/schema)
