Sydney Metro v1 static GTFS-S and Trip Update and Vehicle Positions GTFS-R feeds will be transitioning to Sydney Metro v2 GTFS-S and GTFS-R feeds.
The new v2 feed is using Public Transport Messaging Services (PTMS), which is a suite of TXC and SIRI messages implemented to provide scheduled timetable and real-time information.
These feeds are produced via the same systems as our current CSELR GTFS feeds and will include occupancy information for the vehicle. Please note, occupancy information for each individual carriage is not currently supported however it will be coming soon.
We have detailed documentation on the new V2 Metro feeds here.
All users will need to transition to the V2 feed data by 21 February 2024. The Metro V1 feed will be decommissioned sometime soon after.
The version 2 Metro feeds can be browsed here:
Public Transport - Timetables - For Realtime v2
Public Transport - Realtime Vehicle Positions v2
Public Transport - Realtime Trip Update v2
If you wish to parse the additional information now available in the vehicle position feed, the proto file in these datasets should be used. It includes TfNSW assigned GTFS-R extension 1007 for extra information such as carriage based occupancy levels. Find the proto file here.
Legacy API endpoints (will be unsupported)
https://api.transport.nsw.gov.au/v1/gtfs/schedule/metro
https://api.transport.nsw.gov.au/v1/gtfs/realtime/metro
https://api.transport.nsw.gov.au/v1/gtfs/vehiclepos/metro
New API endpoints
https://api.transport.nsw.gov.au/v2/gtfs/schedule/metro