---
title: "Creates list of all Regional Rail trains"
method: GET
path: "/TrainView/index.php"
tags: ["Real Time Data"]
---

# Creates list of all Regional Rail trains

`GET /TrainView/index.php`

Creates a list of all Regional Rail trains on the system. Showing the trains ID number, its starting location, its destination, and if its late or not

## Response `200`

success

- object[]
  - `lat` string — The geographical latitude of the regional rail current location
  - `lon` string — The geographical longitude of the regional rail current location
  - `trainno` string, byte — Regional rail train number
  - `service` string, byte — Shows if the regional rail is an express or a local
  - `dest` string — Regional rail terminating station
  - `currentstop` string — Current stop of the transiting regional rail
  - `nextstop` string — The next regional rail station of the transiting regional rail
  - `line` string — Regional rail line name
  - `consist` string, byte — A list of passenger cars attached to the regional rail
  - `heading` number, double
  - `late` integer — The current status of the transiting trains
  - `SOURCE` string — Regional rail originating station
  - `TRACK` string — The track where the regional rail is scheduled to arrive at a station
  - `TRACK_CHANGE` string — Shows if there is a change in track for the regional rail at a station

---

[API](https://skmtc.net/septa/apis/septa-developers.md) · [All operations](https://skmtc.net/septa/apis/septa-developers/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/septa/septa-developers/revisions/e0575f41ded3/schema)
