UPGTFSRealTimeV1
Returns GTFS real time feeds. Requests with "api/UP/Gtfs.xml" or "api/UP/Gtfs.json" or "api/UP/Gtfs.proto" or "api/UP/Gtfs" displays data in xml, json and protobuffer format respectively.
| API | Description |
|---|---|
| GET api/V1/UP/Gtfs/Feed/Alerts |
Returns all UP alert feeds. |
| GET api/V1/UP/Gtfs/Feed/TripUpdates |
Returns all UP trip update feeds. |
| GET api/V1/UP/Gtfs/Feed/VehiclePosition |
Returns all UP vehicle position feeds. |
Stop
Returns information on Stops. Requests with "api/V1/Stop.xml" or "api/V1/Stop.json" or "api/V1/Stop" displays data in xml and json format respectively.
| API | Description |
|---|---|
| GET api/V1/Stop/NextService/{StopCode} |
Displays predictions for all lines that feed a certain bus or train stop. |
| GET api/V1/Stop/Details/{StopCode} |
No documentation available. |
| GET api/V1/Stop/Destinations/{StopCode}/{FromTime}/{ToTime} |
Displays Destinations of a stop |
| GET api/V1/Stop/All |
No documentation available. |
Service Update
Returns information on Alert messages, train or bus departures from Union and Service Guarantee for the trip. Requests with "api/V1/ServiceUpdate.xml" or "api/V1/ServiceUpdate.json" or "api/V1/ServiceUpdate" displays data in xml and json format respectively.
| API | Description |
|---|---|
| GET api/V1/ServiceUpdate/ServiceAlert/All |
Displays Service alert messages by date. |
| GET api/V1/ServiceUpdate/InformationAlert/All |
Displays Information alert messages by date. |
| GET api/V1/ServiceUpdate/MarketingAlert/All |
Displays Marketing Alert messages by date. |
| GET api/V1/ServiceUpdate/UnionDepartures/All |
Displays The nearest departures for buses and trains from Union Station |
| GET api/V1/ServiceUpdate/ServiceGuarantee/{TripNumber}/{OperationalDay} |
Displays The trip number for the day given. |
| GET api/V1/ServiceUpdate/Exceptions/Train |
Returns the schedule exceptions - cancelled trips/stops etc. |
| GET api/V1/ServiceUpdate/Exceptions/Bus |
Returns the schedule exceptions - cancelled trips/stops etc. |
| GET api/V1/ServiceUpdate/Exceptions/All |
Returns the schedule exceptions - cancelled trips/stops etc. |
Service At Glance
Returns information on service bus and train trips. Requests with "api/V1/ServiceataGlance.xml" or "api/V1/ServiceataGlance.json" or "api/V1/ServiceataGlance" displays data in xml and json format respectively.
| API | Description |
|---|---|
| GET api/V1/ServiceataGlance/Buses/All |
Displays all in service bus trips. |
| GET api/V1/ServiceataGlance/Trains/All |
Displays all in service train trips. |
| GET api/V1/ServiceataGlance/UPX/All |
Displays all in service UPX trips. |
Schedule
Returns information on Schedules by Line, Schedules by Stop and Journey. Requests with "api/V1/Schedule.xml" or "api/V1/Schedule.json" or "api/V1/Schedule" displays data in xml and json format respectively.
| API | Description |
|---|---|
| GET api/V1/Schedule/Journey/{Date}/{FromStopCode}/{ToStopCode}/{StartTime}/{MaxJourney} |
Displays A Journey’s lines (rail corridor and bus routes), trips, stops and transfers. |
| GET api/V1/Schedule/Journey/{Date}/{FromStopCode}/{StartTime}/{MaxJourney}?ToStopCode={ToStopCode} |
Displays A Journey’s lines (rail corridor and bus routes), trips, stops and transfers. |
| GET api/V1/Schedule/Line/{Date}/{LineCode}/{LineDirection} |
Displays Line detail based on date, line code and direction |
| GET api/V1/Schedule/Line/All/{Date} |
Displays The lines in effect for the date provided. |
| GET api/V1/Schedule/Line/Stop/{Date}/{LineCode}/{LineDirection} |
Displays The line stops in effect for the date, line code and line direction given. |
| GET api/V1/Schedule/Trip/{Date}/{TripNumber} |
Displays The trip stops in effect for the given trip number and date |
GTFS Feeds
Returns GTFS real time feeds. Requests with "api/V1/Gtfs.xml" or "api/V1/Gtfs.json" or "api/V1/Gtfs.proto" or "api/V1/Gtfs" displays data in xml, json and protobuffer format respectively.
| API | Description |
|---|---|
| GET api/V1/Gtfs/Feed/Alerts |
Returns all alert feeds. |
| GET api/V1/Gtfs/Feed/TripUpdates |
Returns all trip update feeds. |
| GET api/V1/Gtfs/Feed/VehiclePosition |
Returns all vehicle position feeds. |
Fleet
Returns GTFS real time feeds with Occupancy percentage and Consist information. Requests with "api/V1/Fleet.xml " or "api/V1/Fleet.json " or "api/V1/Fleet.proto " display data in xml, json and protobuffer format respectively. The default return type is json for "api/V1/Fleet ".
| API | Description |
|---|---|
| GET api/V1/Fleet/Consist/All |
Returns all consists data. |
| GET api/V1/Fleet/Consist/Engine/{EngineNumber} |
Returns consist for engine. |
| GET api/V1/Fleet/Occupancy/GtfsRT/Feed/Alerts |
Returns all alert feeds. |
| GET api/V1/Fleet/Occupancy/GtfsRT/Feed/TripUpdates |
Returns all trip update feeds. |
| GET api/V1/Fleet/Occupancy/GtfsRT/Feed/VehiclePosition |
Returns all vehicle position feeds. |
Fare
Returns information on Fares between stations. Requests with "api/V1/Fares.xml" or "api/V1/Fares.json" or "api/V1/Fares" displays data in xml and json format respectively.
| API | Description |
|---|---|
| GET api/V1/Fares/{FromStopCode}/{ToStopCode} |
Displays all fares between two stations |
| GET api/V1/Fares/{FromStopCode}/{ToStopCode}/{OperationalDay} |
Displays all fares between two stations for an operational day |