Colour Stripe
Mobile Colour Stripe

Our Top 5 Most Used APIs!

Here is a list of the top 5 most used APIs by our open data community:

#5. Public Transport - Realtime Vehicle Positions - Light Rail

Average of 1.6 - 1.7 million API calls per week

This API will give you the current vehicle positions in GTFS-realtime format. Use the /lightrail end-point for Light Rail data. The main data points provided by the API include the trip ID along with the vehicle’s current position in latitude and longitude as well as its bearing. The Vehicle Position API updates every 10 to 15 seconds, it is recommended that your app updates/refreshes every 15 seconds.

 

#4. Public Transport - Realtime Trip Update - Light Rail

Average of 1.6 - 1.8 million API calls per week

This API will give you stop time updates for active trips, replacement vehicles, and changed stopping patterns in GTFS-realtime format. Use the /lightrail end-point for Light Rail data. The main data points provided by this API include trip ID, stop sequence number and arrival/departure delay values. The Trip Update API updates every 10 to 15 seconds, it is recommended that your app updates/refreshes every 15 seconds.

 

#3. Public Transport - Realtime Trip Update - NSW Trains

Average of 1.7 - 2.0 million API calls per week

This API will give you stop time updates for active trips, replacement vehicles, and changed stopping patterns in GTFS-realtime format. Use the /nswtrains end-point for NSW Trains data. The main data points provided by this API include trip ID, stop sequence number and arrival/departure delay values. The Trip Update API updates every 10 to 15 seconds, it is recommended that your app updates/refreshes every 15 seconds.

 

#2. Public Transport - Realtime Trip Update - Ferries

Average of 1.8 - 2.1 million API calls per week

This API will give you stop time updates for active trips, replacement vehicles, and changed stopping patterns in GTFS-realtime format. Use the /ferries end-point for Ferries data. The main data points provided by this API include trip ID, stop sequence number and arrival/departure delay values. The Trip Update API updates every 10 to 15 seconds, it is recommended that your app updates/refreshes every 15 seconds.

 

#1. Public Transport - Realtime Vehicle Positions - Buses

Average of 2.1 - 2.5 million API calls per week

This API will give you the current vehicle positions in GTFS-realtime format. Use the /buses end-point for Buses data. The main data points provided by the API include the trip ID along with the vehicle’s current position in latitude and longitude as well as its bearing. The Vehicle Position API updates every 10 to 15 seconds, it is recommended that your app updates/refreshes every 15 seconds.

TOP 10 APIS IN THE LAST 3 MONTHS

For more information about these APIs make sure to read the real-time technical documents on our documentation page. To explore these APIs and all our datasets visit the data catalogue on the Open Data Hub!

- The TfNSW Open Data and Innovation Team