643 matches
25 actions
PTV Timetable API - Version 3
25 actions
- Estimate a fare by zoneGETv1.0.0
- Get all disruption modesGETv1.0.0
- List all ticket outletsGETv1.0.0
- List ticket outlets near a specific locationGETv1.0.0
- View a specific disruptionGETv1.0.0
- View all disruptions for a particular routeGETv1.0.0
- View all disruptions for a particular route and stopGETv1.0.0
- View all disruptions for a particular stopGETv1.0.0
- View all disruptions for all route typesGETv1.0.0
- View all route types and their namesGETv1.0.0
- View all routes for a direction of travelGETv1.0.0
- View all routes of a particular type for a direction of travelGETv1.0.0
- View all stops near a specific locationGETv1.0.0
- View all stops on a specific routeGETv1.0.0
- View all trip/service runs for a specific route IDGETv1.0.0
- View all trip/service runs for a specific route ID and route typeGETv1.0.0
- View all trip/service runs for a specific run_refGETv1.0.0
- View departures for a specific route from a stopGETv1.0.0
- View departures for all routes from a stopGETv1.0.0
- View directions that a route travels inGETv1.0.0
- View facilities at a specific stop (Metro and V/Line stations only)GETv1.0.0
- View route name and number for specific route IDGETv1.0.0
- View route names and numbers for all routesGETv1.0.0
- View stops, routes and myki ticket outlets that match the search termGETv1.0.0
- View the trip/service run for a specific run_ref and route typeGETv1.0.0
Other/PTV Timetable API - Version 3
View departures for all routes from a stop
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
{
"type": "object",
"properties": {
"date_utc": {
"type": "string",
"format": "date-time"
},
"devid": {
"type": "string"
},
"direction_id": {
"type": "integer",
"format": "int32"
},
"expand": {
"type": "array",
"items": {
"type": "string",
"enum": [
"All",
"Stop",
"Route",
"Run",
"Direction",
"Disruption",
"VehicleDescriptor",
"VehiclePosition",
"None"
]
}
},
"gtfs": {
"type": "boolean"
},
"include_cancelled": {
"type": "boolean"
},
"include_geopath": {
"type": "boolean"
},
"look_backwards": {
"type": "boolean"
},
"max_results": {
"type": "integer",
"format": "int32"
},
"platform_numbers": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
},
"route_type": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4
]
},
"signature": {
"type": "string"
},
"stop_id": {
"type": "integer",
"format": "int32"
},
"token": {
"type": "string"
}
},
"required": [
"route_type",
"stop_id"
],
"additionalProperties": false
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
{
"type": "object",
"properties": {
"departures": {
"type": "array",
"description": "Timetabled and real-time service departures",
"items": {
"type": "object",
"properties": {
"at_platform": {
"type": "boolean",
"description": "Indicates if the metropolitan train service is at the platform at the time of query; returns false for other modes"
},
"departure_sequence": {
"type": "integer",
"format": "int32",
"description": "Chronological sequence for the departures in a run. Order ascendingly by this field to get chronological order (earliest first) of departures with the same run_ref. NOTE, this field is not always N+1 or N-1 of the previous or following departure. e.g 100, 200, 250, 300 instead of 1, 2, 3, 4"
},
"direction_id": {
"type": "integer",
"format": "int32",
"description": "Direction of travel identifier"
},
"disruption_ids": {
"type": "array",
"description": "Disruption information identifier(s)",
"items": {
"type": "integer",
"format": "int64"
}
},
"estimated_departure_utc": {
"type": "string",
"format": "date-time",
"description": "Real-time estimate of departure time and date in ISO 8601 UTC format"
},
"flags": {
"type": "string",
"description": "Flag indicating special condition for run (e.g. RR Reservations Required, GC Guaranteed Connection, DOO Drop Off Only, PUO Pick Up Only, MO Mondays only, TU Tuesdays only, WE Wednesdays only, TH Thursdays only, FR Fridays only, SS School days only; ignore E flag)"
},
"platform_number": {
"type": "string",
"description": "Platform number at stop (metropolitan train only; returns null for other modes)"
},
"route_id": {
"type": "integer",
"format": "int32",
"description": "Route identifier"
},
"run_id": {
"type": "integer",
"format": "int32",
"description": "Numeric trip/service run identifier. Defaults to -1 when run identifier is Alphanumeric"
},
"run_ref": {
"type": "string",
"description": "Alphanumeric trip/service run identifier"
},
"scheduled_departure_utc": {
"type": "string",
"format": "date-time",
"description": "Scheduled (i.e. timetabled) departure time and date in ISO 8601 UTC format"
},
"stop_id": {
"type": "integer",
"format": "int32",
"description": "Stop identifier"
}
}
}
},
"directions": {
"type": "object",
"description": "Directions of travel of route"
},
"disruptions": {
"type": "object",
"description": "Disruption information applicable to relevant routes or stops"
},
"routes": {
"type": "object",
"description": "Train lines, tram routes, bus routes, regional coach routes, Night Bus routes"
},
"runs": {
"type": "object",
"description": "Individual trips/services of a route"
},
"status": {
"type": "object",
"properties": {
"health": {
"type": "integer",
"format": "int32",
"description": "API system health status (0=offline, 1=online)",
"enum": [
0,
1
]
},
"version": {
"type": "string",
"description": "API Version number"
}
}
},
"stops": {
"type": "object",
"description": "A train station, tram stop, bus stop, regional coach stop or Night Bus stop"
}
}
}