Southeastern Pennsylvania Transportation Authority Serving Bucks, Chester, Delaware, Montgomery, and Philadelphia Counties
SEPTA and SEPTAdev welcomes the second generation of Code for America fellows, as well as, all those participating in the Code Across America: Philadelphia Civic Hackathon in Philadelphia.
The previous version of this page is still available.
SEPTA App Ideas
SEPTA locations API- This api takes in 4 paramters a latitude(required), longitude(required), type(optional), radius(optional) to return all SEPTA locations from a geographical point within a radius that is measured in miles.
Types: [bus_stops,rail_stations,perk_locations,trolley_stops,sales_locations]
Note: For radius it is a decimal value so .5 is acceptable for half a mile.
JSONP OR JSON compatiable. For JSONP add &callback=?
Additonal Notes: More infomation about sales and perk locations are embedded inside the arrays. Notifed as perk_data or sales_data.
http://www3.septa.org/hackathon/locations/get_locations.php?lon=-75.33299748&lat=40.11043326&radius=3Real-time Data is not yet available for the Broad Street Line (Subway), Market Frankford Line (EL), and Norristown High Speed Line (Rt. 100)....we're really sorry it's not available, but we're working on getting it!
System Status: Suspensions, Alerts, Detours and Advisories (json/jsonp)
Param(s): Route/Line Name (optional)
Will show if there is an alert, advisory, or detour:
http://www3.septa.org/hackathon/Alerts/
JSONP Example(s)
http://www3.septa.org/hackathon/Alerts/?callback=?
Adivosry, Alert, Detour Messages:
All Alerts Messages
http://www3.septa.org/hackathon/Alerts/get_alert_data.php?req1=all
Single Alerts Messages
http://www3.septa.org/hackathon/Alerts/get_alert_data.php?req1=bus_route_1
JSONP Example
http://www3.septa.org/hackathon/Alerts/get_alert_data.php?req1=all&callback=?
TrainView Web Page
Regional Rail Trainview Feed (json)
Regional Rail Trains on a Google Map
Regional Rail Trains on a System Map. There's bugs in how a few
point get rendered. The area's in orange are "Dark Territory" the data in those locations is an estimate at best and that goes for above json data as well. End users should understand that the data can be unreliable. We're wroking to get reliable data from Amtrak.
Next to Arrive Web Page
Param(s): Start Station / End Station / Number of Results (optional)
http://www3.septa.org/hackathon/NextToArrive/Airport%20Terminal%20B/Ardmore/10
JSONP Example
http://www3.septa.org/hackathon/NextToArrive/?req1=Airport%20Terminal%20B&req2=Ardmore&req3=10&callback=?
TransitView Web Page
Param(s): Route Number or Letter. Lettered routes in caps.
http://www3.septa.org/hackathon/TransitView/17
JSONP Example
http://www3.septa.org/hackathon/TransitView/?route=20&callback=?
Bus Detours Web Page - deprecated
Param(s): Route (optional)
All Detours for all routes:
http://www3.septa.org/hackathon/BusDetours/
Detour By Route:
http://www3.septa.org/hackathon/BusDetours/2
JSONP Example
http://www3.septa.org/hackathon/BusDetours/?req1=2&callback=?
SEPTA Twitter Accounts Web Page
@SEPTA Account Param(s): Number of posts
http://www3.septa.org/hackathon/Twitter/2
Current Travel Alerts. HTML only sorry, scrape & grep on div then strong
http://www.septa.org/realtime/alert.html
http://www2.septa.org/developer/download.php
Regional Rail: Route Trace (kml)Single KML file of the Regional Rail (kml)
Bus/Trolley: Route Trace (kml)
Param(s): Route Number or Letter. Lettered routes in caps.
http://www3.septa.org/transitview/kml/17.kml
Param: Train Number
http://www3.septa.org/hackathon/RRSchedules/458
JSONP Example
http://www3.septa.org/hackathon/RRSchedules/?req1=458&callback=?
Bus/Trolley: Schedules (json)
Parms(s): ?req1=stop_id req2=route (optional) req3=(i or o) (for inbound/outbound)optional req=6 number of results(optional)
http://www3.septa.org/hackathon/BusSchedules/
JSONP Example
http://www3.septa.org/hackathon/BusSchedules/?req1=17842&req2=17&req3=i&req6=7&callback=?
Param(s): Route Number or Letter. Lettered routes in caps.
http://www3.septa.org/hackathon/Stops/23
JSONP Example
http://www3.septa.org/hackathon/Stops/?req1=23&callback=?
Param(s): StopID / RouteID (optional) / DirectionID (i=inbound, o=outbound, optional when applicable)
http://www3.septa.org/sms/17842/17/o/
Press Releases
http://www.septa.org/rss/releases.xml
News Bites (w/ error)
http://www.septa.org/rss/news.xml
Sustainability Journal Entries (with errors)
http://www.septa.org/rss/sustain.xml
Travel Alerts (by mode)
http://www2.septa.org/rss/alerts/index.xml
Elevator Outages
http://www2.septa.org/rss/elevators/index.xml
Bus Detours
http://www2.septa.org/rss/detours/index.xml
Apps For Septa: http://www.appsforsepta.org/
PennApps20120: http://2012s.pennapps.com/
TransitView (Bus/Trolley Locations): http://www3.septa.org/transitview
Next To Arrive (Regional Rail Departures): http://app.septa.org/nta/
SMS Schedules: http://www3.septa.org/sms/simulator/
Mobile Website: http://m.septa.org/
Twitter: http://www.twitter.com/septa/
Press Releases: http://septa.org/media/releases/
News Bites: http://septa.org/media/short/
Current Travel Alerts: http://www.septa.org/realtime/alert.html
Elevator Status: http://www2.septa.org/elevators/
Bus Detours: http://septa.org/realtime/index.html
TrainView:
html
pda
mobile