Real-time Passenger Information (RTPI) for Dublin Bus, Bus Eireann, Luas and Irish rail

FEATURED
Views: 14045
Openness rating:

Public transport predictions and schedules RTPI REST Web Services API (RRWS API) provides REST interface to retrieve information on real time bus information, timetables and bus stops at https://data.smartdublin.ie/cgi-bin/rtpi/realtimebusinformation. Each method available in RRWS API will be invoked using plain HTTP Request (GET method). Depending on parameters provided, results will be returned either in XML or JSON format (if format is not provided then JSON is used by default). The response will contain requested information (see method specification for details) or an error status for the request. This API is available to the public. A link has also been provided that shows daily updated information on routes and operators (GTFS) provided by the National Transport Agency.

As per P.10 of the pdf with the dataset 3.4.4. Retrieve Bus Stop Information Method http://[rtpiserver]/busstopinformation?stopid Replace http://[rtpiserver] with https://data.smartdublin.ie/cgi-bin/rtpi

e.g. to return the next bus at Stop No.07602 (which is in Drumcondra) in json format https://data.smartdublin.ie/cgi-bin/rtpi/realtimebusinformation?stopid=7602&format=json

and for the same stop in xml format https://data.smartdublin.ie/cgi-bin/rtpi/realtimebusinformation?stopid=7602&format=xml

To get info on all stops the document refers to http://[rtpiserver]/busstopinformation?stopid&format=json so on the Dublinked site https://data.smartdublin.ie/cgi-bin/rtpi/busstopinformation?stopid&format=json The last link on the dataset called PT_Data.html links to the Transport for Ireland website which itself includes a link to NaPTAN (National Public Transport Access Nodes) with Lat Longs for each transport node in .xml file. http://www.transportforireland.ie/transitData/PT_Data.html Each GTFS file listed also has a stops table with geographic coordinates You can get all the current stops and service from the GTFS files listed here http://www.transportforireland.ie/transitData/PT_Data.html

An additional API documentation has been provided for real time Irish Rail information at http://api.irishrail.ie/realtime/index.htm?realtime_irishrail

Data Resources (6)

PDF
2018-07-18
RTPI_REST_API_specification.pdf
HTML
2018-07-18
PT_Data.html
HTML
2018-07-18
Irish Rail Realtime API Documentation
API
2018-07-18
Change `stopid` to another number to get data for a different stop. You can change `format` between `json` and ...
API
2018-07-18
You can change `format` between `json` and `xml`. This is a realtime API and will update frequently.
API
2018-07-18
This will give you the next bus routes to stop at stop 184. You can change the format by changing `format` to `json` ...

Data Resource Preview - RTPI_REST_API_specification.pdf

Theme Transport
Date dataset released 2014-09-05
Rights notes Available for research purposes under the general Dublinked Data Users Agreement and the Result of Public Sector Information Licence. This Use Constraint declaration will be updated over the period of the experimental phase. A document on allowed commercial use provisions is also under construction. Commercial use of the data will be allowed and encouraged.
Update frequency Daily
Language English
Landing Page https://data.smartdublin.ie/dataset/real-time-passenger-information-rtpi-for-dublin-bus-bus-eireann-luas-and-irish-rail
Geographic coverage Greater Dublin Area