SEPTA Regional Rail APIs
Resources
4 resources available
-
Regional Rail Station Inputs
HTML -
Regional Rail Station Arrivals and Departures API
JSON -
Regional Rail NextToArrive API
JSON -
Regional Rail TrainView API
JSON
Complete Metadata
| accessLevel | public |
|---|---|
| contactPoint |
{
"fn": "SEPTA Planning Division",
"hasEmail": "mailto:planning@septa.org"
}
|
| description | The TrainView API returns information on all current regional rail trains. <br><br> The NextToArrive API returns departure and arrival times between two different stations. Please refer to the Regional Rail Inputs page (see below) to see all valid inputs. - req1 is the starting Regional Rail station - req2 is the ending Regional Rail station - req3 is an integer with the number of results to show The Arrival/Departure API returns a list/queue of regional rail trains to arrive at a station in two/both directions. The direction is demarcated as either Northbound or Southbound. The directions are obviously not geographical references, but rather a reference to the old Reading and Pennsy Railroads. The key to understanding the direction is by using Suburban Station as a starting point: Any trains that move eastbound towards Market East are all considered Northbound; trains going from suburban t o 30th St are all Southbound. The path field describes more accurately the path of travel along various branches. Every regional stop is a valid parameter. Please refer to the Regional Rail Inputs page (see below) to see all valid inputs. |
| distribution |
[
{
"title": "Regional Rail Station Inputs",
"format": "HTML",
"accessURL": "https://www3.septa.org/VIRegionalRail.html",
"mediaType": "text/html"
},
{
"title": "Regional Rail Station Arrivals and Departures API",
"format": "JSON",
"mediaType": "application/json",
"downloadURL": "https://www3.septa.org/api/Arrivals/index.php"
},
{
"title": "Regional Rail NextToArrive API",
"format": "JSON",
"mediaType": "application/json",
"downloadURL": "https://www3.septa.org/api/TrainView/index.php"
},
{
"title": "Regional Rail TrainView API",
"format": "JSON",
"mediaType": "application/json",
"downloadURL": "https://www3.septa.org/api/TrainView/index.php"
}
]
|
| identifier | septa-regional-rail-trainview |
| keyword |
[
"SEPTA",
"public transit",
"transportation"
]
|
| license | https://opendataphilly.org/licenses/other |
| modified | R/PT5M |
| publisher |
{
"name": "SEPTA",
"@type": "org:Organization"
}
|
| title | SEPTA Regional Rail APIs |