The PTV Timetable API returns Public Transport Victoria's scheduled and real-time departures, routes, stops, and service runs for metropolitan and regional train, tram, and bus services across Victoria, including Night Network. It finds stops and myki ticket outlets near a latitude and longitude or by search term, reports current and planned disruptions by route or stop, and estimates fares between myki zones. Train timetable data is updated daily and the remaining data weekly, and it is the same API PTV uses for its own apps.
The PTV Timetable API provides direct access to Public Transport Victoria’s public transport timetable data. The API returns scheduled timetable, route and stop data for all metropolitan and regional train, tram and bus services in Victoria, including Night Network(Night Train and Night Tram data are included in metropolitan train and tram services data, respectively, whereas Night Bus is a separa. The API exposes 26 endpoints.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fptv.vic.gov.au" | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fptv.vic.gov.au" | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
BOOK A DEMO
Browse thousands of APIs and connect them all to your agent with Jentic One. One layer, one credential — every API your agent needs.