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

FEATURED
Views: 22036
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

  • 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