Mock sample for your project: PTV Timetable API - Version 3

Integrate with "PTV Timetable API - Version 3" from ptv.vic.gov.au in no time with Mockoon's ready to use mock sample

PTV Timetable API - Version 3

ptv.vic.gov.au

Version: v3


Use this API in your project

Speed up your application development by using "PTV Timetable API - Version 3" ready-to-use mock sample. Mocking this API will help you accelerate your development lifecycles and allow you to stop relying on an external API to get the job done. No more API keys to provision, accesses to configure or unplanned downtime, just work.
Enhance your development infrastructure by mocking third party APIs during integrating testing.

Description

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 separate route type).
The API also returns real-time data for metropolitan train, tram and bus services (where this data is made available to PTV), as well as disruption information, stop facility information, and access to myki ticket outlet data.
This Swagger is for Version 3 of the PTV Timetable API. By using this documentation you agree to comply with the licence and terms of service.
Train timetable data is updated daily, while the remaining data is updated weekly, taking into account any planned timetable changes (for example, due to holidays or planned disruptions). The PTV timetable API is the same API used by PTV for its apps. To access the most up to date data PTV has (including real-time data) you must use the API dynamically.
You can access the PTV Timetable API through a HTTP or HTTPS interface, as follows:
base URL / version number / API name / query string
The base URL is either:
http://timetableapi.ptv.vic.gov.au
or
https://timetableapi.ptv.vic.gov.au
The Swagger JSON file is available at http://timetableapi.ptv.vic.gov.au/swagger/docs/v3
Frequently asked questions are available on the PTV website at http://ptv.vic.gov.au/apifaq
Links to the following information are also provided on the PTV website at http://ptv.vic.gov.au/ptv-timetable-api/
How to register for an API key and calculate a signature
PTV Timetable API V2 to V3 Migration Guide
Documentation for Version 2 of the PTV Timetable API
PTV Timetable API Data Quality Statement
All information about how to use the API is in this documentation. PTV cannot provide technical support for the API.
Credits: This page has been based on Steve Bennett's http://opentransportdata.org/, used with permission.

Other APIs in the same category

Betriebsstellen

deutschebahn.com
This REST-API enables you to query station and stop infos

Bus Route and Stop Methods

wmata.com
Bus stop information, route and schedule data, and bus positions.

Car Configurator

mercedes-benz.com
The Car Configurator API offers access to the Mercedes-Benz car configuration functions. It provides required reference data such as the masterdata of all Mercedes-Benz vehicles as well as functions to retrieve initial and changed configurations. In addition to that is is possible to save a newly created configuration so that it can be easily restored or shared with others.

Reisezentren-API

deutschebahn.com
This REST-API enables you to query information about travel centers in Germany.

AviationData.Systems Airports API V1

aviationdata.systems

Faretrotter Travel API

faretrotter.com
Multimodal travel API to return modes of transportation between cities and points of interest.

Airports API v2

transavia.com
Returns all airports

departureboard.io API

departureboard.io
The departureboard.io is a high performance API written in Golang. Its goal is to provide to main functions: (1): A JSON API interface to the legacy National Rail SOAP API: Giving developers the ability to pull live information on departures, arrivals, and services from National Rail, without having to use the legacy SOAP API provided by National Rail. Information is still pulled directly from National Rail in the background, providing the same level of real-time data without the additional complexity of having to interact with SOAP. (2): A JSON API interface for additional National Rail information: Giving developers the ability to pull a range of information about the Rail Network, via a JSON API interface. This is not an offering that National Rail currently provide, and is custom developed. Data is sourced from periodically updated XML documents, parsed, and provided for consumption via the departureboard.io API. This API is completely free to use for non-commercial purposes. You can explore the various sections of the documentation using the links below. For more information please see https://api.departureboard.io

Stationsdatenbereitstellung

deutschebahn.com
An API providing master data for German railway stations by DB Station&Service AG.

Where to Credit API

wheretocredit.com
The Where to Credit API provides mileage earning calculations for frequent flyer programs around the world.

Incidents

wmata.com
Rail, bus, and elevator disruptions/outages.

Real-Time Rail Predictions

wmata.com
Real-time rail prediction methods.