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 stops, routes and myki ticket outlets that match the search term
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
{
"type": "object",
"properties": {
"devid": {
"type": "string"
},
"include_addresses": {
"type": "boolean"
},
"include_outlets": {
"type": "boolean"
},
"latitude": {
"type": "number",
"format": "float"
},
"longitude": {
"type": "number",
"format": "float"
},
"match_route_by_suburb": {
"type": "boolean"
},
"match_stop_by_gtfs_stop_id": {
"type": "boolean"
},
"match_stop_by_suburb": {
"type": "boolean"
},
"max_distance": {
"type": "number",
"format": "float"
},
"route_types": {
"type": "array",
"items": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4
]
}
},
"search_term": {
"type": "string"
},
"signature": {
"type": "string"
},
"token": {
"type": "string"
}
},
"required": [
"search_term"
],
"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
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
- 121
- 122
- 123
- 124
- 125
- 126
- 127
- 128
- 129
- 130
- 131
- 132
- 133
- 134
- 135
- 136
- 137
- 138
- 139
- 140
- 141
- 142
- 143
- 144
- 145
- 146
- 147
- 148
- 149
- 150
- 151
- 152
- 153
- 154
- 155
- 156
- 157
- 158
- 159
- 160
- 161
- 162
- 163
- 164
- 165
- 166
- 167
- 168
- 169
- 170
- 171
- 172
- 173
- 174
- 175
- 176
- 177
- 178
- 179
- 180
- 181
- 182
- 183
- 184
- 185
- 186
- 187
- 188
- 189
- 190
- 191
- 192
- 193
- 194
- 195
- 196
- 197
- 198
- 199
- 200
- 201
- 202
- 203
- 204
- 205
- 206
- 207
- 208
- 209
- 210
- 211
- 212
- 213
- 214
- 215
- 216
- 217
- 218
- 219
- 220
- 221
- 222
- 223
- 224
- 225
- 226
- 227
- 228
- 229
- 230
- 231
- 232
- 233
- 234
- 235
- 236
- 237
{
"type": "object",
"properties": {
"outlets": {
"type": "array",
"description": "myki ticket outlets",
"items": {
"type": "object",
"properties": {
"outlet_business": {
"type": "string",
"description": "The business name of the outlet"
},
"outlet_business_hour_fri": {
"type": "string",
"description": "The business hours on Friday"
},
"outlet_business_hour_mon": {
"type": "string",
"description": "The business hours on Monday"
},
"outlet_business_hour_sat": {
"type": "string",
"description": "The business hours on Saturday"
},
"outlet_business_hour_sun": {
"type": "string",
"description": "The business hours on Sunday"
},
"outlet_business_hour_thur": {
"type": "string",
"description": "The business hours on Thursday"
},
"outlet_business_hour_tue": {
"type": "string",
"description": "The business hours on Tuesday"
},
"outlet_business_hour_wed": {
"type": "string",
"description": "The business hours on Wednesday"
},
"outlet_distance": {
"type": "number",
"format": "float",
"description": "Distance of outlet from input location (in metres); returns 0 if no location is input"
},
"outlet_latitude": {
"type": "number",
"format": "float",
"description": "Geographic coordinate of latitude at outlet"
},
"outlet_longitude": {
"type": "number",
"format": "float",
"description": "Geographic coordinate of longitude at outlet"
},
"outlet_name": {
"type": "string",
"description": "The location name of the outlet"
},
"outlet_notes": {
"type": "string",
"description": "Any additional notes for the outlet such as 'Buy pre-loaded myki cards only'. May be null/empty."
},
"outlet_postcode": {
"type": "integer",
"format": "int32",
"description": "The postcode for the outlet"
},
"outlet_slid_spid": {
"type": "string",
"description": "The SLID / SPID"
},
"outlet_suburb": {
"type": "string",
"description": "The city/municipality the outlet is in"
}
}
}
},
"routes": {
"type": "array",
"description": "Train lines, tram routes, bus routes, regional coach routes, Night Bus routes",
"items": {
"type": "object",
"properties": {
"route_gtfs_id": {
"type": "string",
"description": "GTFS Identifer of the route"
},
"route_id": {
"type": "integer",
"format": "int32",
"description": "Route identifier"
},
"route_name": {
"type": "string",
"description": "Name of route"
},
"route_number": {
"type": "string",
"description": "Route number presented to public (nb. not route_id)"
},
"route_service_status": {
"type": "object",
"properties": {
"description": {
"type": "string"
},
"timestamp": {
"type": "string",
"format": "date-time"
}
}
},
"route_type": {
"type": "integer",
"format": "int32",
"description": "Transport mode identifier"
}
}
}
},
"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": "array",
"description": "Train stations, tram stops, bus stops, regional coach stops or Night Bus stops",
"items": {
"type": "object",
"properties": {
"route_type": {
"type": "integer",
"format": "int32",
"description": "Transport mode identifier"
},
"routes": {
"type": "array",
"description": "List of routes travelling through the stop",
"items": {
"type": "object",
"properties": {
"route_gtfs_id": {
"type": "string",
"description": "GTFS Identifer of the route"
},
"route_id": {
"type": "integer",
"format": "int32",
"description": "Route identifier"
},
"route_name": {
"type": "string",
"description": "Name of route"
},
"route_number": {
"type": "string",
"description": "Route number presented to public (nb. not route_id)"
},
"route_service_status": {
"type": "object",
"properties": {
"description": {
"type": "string"
},
"timestamp": {
"type": "string",
"format": "date-time"
}
}
},
"route_type": {
"type": "integer",
"format": "int32",
"description": "Transport mode identifier"
}
}
}
},
"stop_distance": {
"type": "number",
"format": "float",
"description": "Distance of stop from input location (in metres); returns 0 if no location is input"
},
"stop_id": {
"type": "integer",
"format": "int32",
"description": "Stop identifier"
},
"stop_landmark": {
"type": "string",
"description": "Landmark in proximity of stop"
},
"stop_latitude": {
"type": "number",
"format": "float",
"description": "Geographic coordinate of latitude at stop"
},
"stop_longitude": {
"type": "number",
"format": "float",
"description": "Geographic coordinate of longitude at stop"
},
"stop_name": {
"type": "string",
"description": "Name of stop"
},
"stop_sequence": {
"type": "integer",
"format": "int32",
"description": "Sequence of the stop on the route/run; return 0 when route_id or run_id not specified. Order ascendingly by this field (when non zero) to get physical order (earliest first) of stops on the route_id/run_id."
},
"stop_suburb": {
"type": "string",
"description": "suburb of stop"
}
}
}
}
}
}