For Agents
Programmatically view departures for all routes from a stop, view departures for a specific route from a stop. Covers 26 operations.
Use for: I need to view departures for all routes from a stop, I want to view departures for a specific route from a stop, Search for view directions that a route travels in, Find all view all routes for a direction of travel
Not supported: Does not handle payments, communications, or crm - use for maps and geolocation only.
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.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the PTV Timetable API - Version 3, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
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%2Fptv-timetable-api---version-3" | 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%2Fptv-timetable-api---version-3" | 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.
What an agent can do with PTV Timetable API - Version 3 API.
View departures for all routes from a stop
Get all disruption modes
Access PTV Timetable API - Version 3 resources via REST API
Patterns agents use PTV Timetable API - Version 3 API for, with concrete tasks.
★ Maps and Geolocation Operations
Use the PTV Timetable API - Version 3 to perform maps geolocation operations programmatically. The API provides 26 endpoints covering core functionality including view departures for all routes from a stop, view departures for a specific route from a stop, view directions that a route travels in.
GET STARTED
Call GET /v3/departures/route_type/{route_type}/stop/{stop_id} to view departures for all routes from a stop
Automated Departures Management
Automate departures operations by combining multiple PTV Timetable API - Version 3 endpoints. Agents can view departures for a specific route from a stop and then view directions that a route travels in in a single workflow.
Call GET /v3/departures/route_type/{route_type}/stop/{stop_id}/route/{route_id} to view departures for a specific route from a stop, then verify the result
AI Agent Integration via Jentic
AI agents discover and call PTV Timetable API - Version 3 endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle none tokens manually.
Search Jentic for 'view departures for all routes from a stop', load the operation schema, and execute with Jentic-managed credentials
26 endpoints — the ptv timetable api provides direct access to public transport victoria’s public transport timetable data.
METHOD
PATH
DESCRIPTION
/v3/departures/route_type/{route_type}/stop/{stop_id}
View departures for all routes from a stop
/v3/departures/route_type/{route_type}/stop/{stop_id}/route/{route_id}
View departures for a specific route from a stop
/v3/directions/route/{route_id}
View directions that a route travels in
/v3/directions/{direction_id}
View all routes for a direction of travel
/v3/directions/{direction_id}/route_type/{route_type}
View all routes of a particular type for a direction of travel
/v3/disruptions
View all disruptions for all route types
/v3/disruptions/modes
Get all disruption modes
/v3/disruptions/route/{route_id}
View all disruptions for a particular route
/v3/departures/route_type/{route_type}/stop/{stop_id}
View departures for all routes from a stop
/v3/departures/route_type/{route_type}/stop/{stop_id}/route/{route_id}
View departures for a specific route from a stop
/v3/directions/route/{route_id}
View directions that a route travels in
/v3/directions/{direction_id}
View all routes for a direction of travel
/v3/directions/{direction_id}/route_type/{route_type}
View all routes of a particular type for a direction of travel
/v3/disruptions
View all disruptions for all route types
/v3/disruptions/modes
Get all disruption modes
What agents get from Jentic-routed access to this vendor.
Setup
Wiring the PTV Timetable API by hand means building the request signature the endpoints expect and threading route_type and stop_id through each call yourself. Through Jentic you install once, import the PTV Timetable API from the API Directory, store the credential once, and your agent calls it.
Permission scoping
The PTV Timetable API is read-only, with the stop and route ids in the URL path (/departures/route_type/{route_type}/stop/{stop_id}), so you limit the agent to the operations it needs, such as reading departures or disruptions. Every operation in this spec is a lookup, and you decide which ones the agent may call.
Credential isolation
Your PTV Timetable API credential is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
Intent-based discovery
Agents search Jentic by intent such as 'view departures from a stop' or 'list current disruptions', and Jentic returns the matching PTV operation with its input schema so the agent calls the right endpoint without browsing the reference docs.
Alternatives and complements available in the Jentic catalogue.
Specific to using PTV Timetable API - Version 3 API through Jentic.
What authentication does the PTV Timetable API - Version 3 use?
The PTV Timetable API - Version 3 uses no authentication. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.
Can I view departures for all routes from a stop with the PTV Timetable API - Version 3?
Yes. Use the GET /v3/departures/route_type/{route_type}/stop/{stop_id} endpoint. The API returns structured JSON responses that agents can parse and act on directly.
What are the rate limits for the PTV Timetable API - Version 3?
Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.
How do I view departures for all routes from a stop through Jentic?
Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'view departures for all routes from a stop'. Jentic returns the matching PTV Timetable API - Version 3 operation with its input schema. Load the schema and execute the call - credentials are injected automatically.
How many endpoints does the PTV Timetable API - Version 3 have?
The PTV Timetable API - Version 3 exposes 26 endpoints covering departures, directions, disruptions operations.
Can I limit what my agent is allowed to do with the PTV Timetable API?
Yes. Because you run Jentic One yourself, your own rules decide which PTV Timetable operations and credentials the agent may use. Every endpoint in this API is a read-only lookup with the route type and stop or route id in the URL path, so you can grant the agent only the calls it needs, such as reading departures from a stop or listing current disruptions, and withhold the rest. Any operation you do not allow stays off limits to the agent.
/v3/disruptions/route/{route_id}
View all disruptions for a particular route