---
title: "JSON - Lines"
method: GET
path: "/json/jLines"
---

# JSON - Lines

`GET /json/jLines`

<h4 class="text-primary">Description</h4>

<p>Returns information about all rail lines.</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>Lines</td>

<td>
Array containing line information (<a href="#Line">Line</a>).
</td>
</tr>

<tr>
<td colspan="2">
<div class="text-primary" style="margin-top: 1em">
<a id="Line" name="Line">Line Elements</a>
</div>
</td>
</tr>

<tr>
<td>DisplayName</td>

<td>Full name of line color.</td>
</tr>

<tr>
<td>EndStationCode</td>

<td>End station code. For example, will be E10 (Greenbelt) for the
Green Line, B11 (Glenmont) for the Red Line, etc. Use this value in
other rail-related APIs to retrieve data about a station.</td>
</tr>

<tr>
<td>InternalDestination1</td>

<td>Intermediate terminal station code. During normal service, some
trains on some lines might end their trip prior to the
StartStationCode or EndStationCode. A good example is on the Red
Line where some trains stop at A11 (Grosvenor) or B08 (Silver
Spring). Empty string if not defined.</td>
</tr>

<tr>
<td>InternalDestination2</td>

<td>Similar to InternalDestination1.</td>
</tr>

<tr>
<td>LineCode</td>

<td>Two-letter abbreviation for the line (e.g.: RD, BL, YL, OR, GR,
or SV).</td>
</tr>

<tr>
<td>StartStationCode</td>

<td>Start station code. For example, will be F11 (Branch Avenue)
for the Green Line, A15 (Shady Grove) for the Red Line, etc. Use
this value in other rail-related APIs to retrieve data about a
station.</td>
</tr>
</tbody>
</table>

## 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)
