just/mocks_
mockzilla.org →
Catalog /data /PTV Timetable API

PTV Timetable API

PROVIDER · Ptv SPEC vv3 · OpenAPI 3.0.0 MOCK · LIVE
▸ TRY IT
https://api.justmocks.com/ptv-timetable
Open mock →

Emulate the PTV Timetable API in seconds. The PTV Timetable API provides direct access to Public Transport Victoria’s public transport timetable data.

[01]

About

overview

Mock the PTV Timetable API as a turnkey Mockzilla sim with 26 OpenAPI endpoints, realistic JSON payloads, no upstream signup or sandbox keys. The PTV Timetable API provides direct access to Public Transport Victoria’s public transport timetable data. Methods: 26x GET. Top resource groups: Disruptions, Runs, Directions, Stops. Hit https://api.justmocks.com/ptv-timetable for the Mockzilla API Explorer landing and per-endpoint sample requests.

Endpoints
26 across 11 resource groups
Methods
GET 26 none deprecated
OpenAPI
3.0.0 spec version v3
Source spec
156 KB · YAML view raw →
[02]

Endpoints

26 operations · 11 resource groups
GET /v3/departures/route_type/{route_type}/stop/{stop_id}
Departures
View departures for all routes from a stop
GET /v3/departures/route_type/{route_type}/stop/{stop_id}/route/{route_id}
Departures
View departures for a specific route from a stop
GET /v3/directions/route/{route_id}
Directions
View directions that a route travels in
GET /v3/directions/{direction_id}
Directions
View all routes for a direction of travel
GET /v3/directions/{direction_id}/route_type/{route_type}
Directions
View all routes of a particular type for a direction of travel
GET /v3/disruptions
Disruptions
View all disruptions for all route types
GET /v3/disruptions/modes
Disruptions
Get all disruption modes
GET /v3/disruptions/route/{route_id}
Disruptions
View all disruptions for a particular route
GET /v3/disruptions/route/{route_id}/stop/{stop_id}
Disruptions
View all disruptions for a particular route and stop
GET /v3/disruptions/stop/{stop_id}
Disruptions
View all disruptions for a particular stop
GET /v3/disruptions/{disruption_id}
Disruptions
View a specific disruption
GET /v3/fare_estimate/min_zone/{minZone}/max_zone/{maxZone}
FareEstimate
Estimate a fare by zone
GET /v3/outlets
Outlets
List all ticket outlets
GET /v3/outlets/location/{latitude},{longitude}
Outlets
List ticket outlets near a specific location
GET /v3/pattern/run/{run_ref}/route_type/{route_type}
Patterns
View the stopping pattern for a specific trip/service run
GET /v3/route_types
RouteTypes
View all route types and their names
GET /v3/routes
Routes
View route names and numbers for all routes
GET /v3/routes/{route_id}
Routes
View route name and number for specific route ID
GET /v3/runs/route/{route_id}
Runs
View all trip/service runs for a specific route ID
GET /v3/runs/route/{route_id}/route_type/{route_type}
Runs
View all trip/service runs for a specific route ID and route type
GET /v3/runs/{run_ref}
Runs
View all trip/service runs for a specific run_ref
GET /v3/runs/{run_ref}/route_type/{route_type}
Runs
View the trip/service run for a specific run_ref and route type
GET /v3/search/{search_term}
Search
View stops, routes and myki ticket outlets that match the search term
GET /v3/stops/location/{latitude},{longitude}
Stops
View all stops near a specific location
GET /v3/stops/route/{route_id}/route_type/{route_type}
Stops
View all stops on a specific route
GET /v3/stops/{stop_id}/route_type/{route_type}
Stops
View facilities at a specific stop (Metro and V/Line stations only)