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

FEATURED
Views: 24643
Openness rating:

🔴 IMPORTANT: SERVICE DEPRECIATION❗🔴

🆕 NEW SERVICE: https://data.smartdublin.ie/dataset/gtfs-r-real-time-passenger-information 🆕

The existing RTPI REST API will shortly be replaced by a GTFS-R API. GTFS-realtime is a feed specification that allows public transportation agencies to provide realtime updates about their fleet to application developers. It is an extension to GTFS (General Transit Feed Specification), an open data format for public transportation schedules and associated geographic information.

Following the commencement of the GTFS-R API the existing RTPI REST API will be discontinued.

The following dates should be noted:

30th July 2020: Commencement of GTFS-R API

28th August 2020: Temporary shutdown of RTPI REST API

30th September 2020: Permanent shutdown of RTPI REST API

Registration for the new GTFS-R API can be completed at:

https://developer.nationaltransport.ie/

Further details on the GTFS-R API can be found at the following links:

https://developers.google.com/transit/gtfs-realtime

https://gtfs.org/reference/realtime/v2/



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

  • Go to resource

Resource: Realtime Bus Information for stop 184 in JSON

URL: https://data.smartdublin.ie/cgi-bin/rtpi/realtimebusinformation?stopid=184&format=json

This will give you the next bus routes to stop at stop 184. You can change the format by changing format to json or xml. You can change the stop by changing stopid to another number. This is a realtime API and will update very frequently .

There are no views created for this resource yet.

Additional Information

Field Value
Last updated unknown
Created unknown
Format API
License Creative Commons Attribution 4.0
Description
API Response Formats
    API Type
    API Access URL