STOP_TIMES.TXT

Stop timetables

Stop timetable urls require either stop id or trip id appended to url. Query to plain timetable url hints you about possible further suffices.

http://data.foli.fi/gtfs/stop_times
{
    "host": "data.foli.fi",
    "gtfspath": "\/gtfs\/v0",
    "datasets": [
        "20150601-155344"
    ],
    "latest": "20150601-155344",
    "success": false,
    "subpaths": [
        "stop",
        "trip"
    ]
}
	

Known stop and trip identifiers

Subpaths /stop and /trip contains listings on datasets currently known stop_ids and trip_ids. Stops by their ids (stop_id) are described in stops.txt table. Mapping trip_id to trip (and eventually to route, line and shape) can be done through trips.txt table.

http://data.foli.fi/gtfs/stop_times/stop
[
    "1122",
    "1059",
    "3134",
    "131",
    "1025",
    "1198",
    "5160",
    "135",
/* ...(snip)... */
    "5055",
    "475",
    "5094"
]
	
http://data.foli.fi/gtfs/stop_times/trip
[
    "00012960__4256generatedBlock",
    "00015205__6503generatedBlock",
    "00013493__4789generatedBlock",
    "00014982__6280generatedBlock",
    "00011892__3188generatedBlock",
/* ...(snip)... */
    "00014666__5962generatedBlock",
    "00016343__7767generatedBlock",
    "00014673__5969generatedBlock"
]
	

Getting stop timetables by stop id

http://data.foli.fi/gtfs/stop_times/stop/%stop_id%
[
    {
        "trip_id": "0000null__1901generatedBlock",
        "arrival_time": "05:20:00",
        "departure_time": "05:20:00",
        "stop_sequence": 0,
        "stop_headsign": "",
        "pickup_type": 0,
        "drop_off_type": 0,
        "shape_dist_traveled": 0
    },
/* ...(snip)... */
    {
        "trip_id": "0000null__6001generatedBlock",
        "arrival_time": "23:59:00",
        "departure_time": "23:59:00",
        "stop_sequence": 28,
        "stop_headsign": "",
        "pickup_type": 0,
        "drop_off_type": 0,
        "shape_dist_traveled": 9796.31302
    }
]
	

Getting stop timetables by trip id

http://data.foli.fi/gtfs/stop_times/trip/%trip_id%
[
    {
        "arrival_time": "05:20:00",
        "departure_time": "05:20:00",
        "stop_id": "1586",
        "stop_sequence": 0,
        "stop_headsign": "",
        "pickup_type": 0,
        "drop_off_type": 0,
        "shape_dist_traveled": 0
    },
/* ...(snip)... */
    {
        "arrival_time": "05:48:00",
        "departure_time": "05:48:00",
        "stop_id": "1",
        "stop_sequence": 40,
        "stop_headsign": "",
        "pickup_type": 0,
        "drop_off_type": 0,
        "shape_dist_traveled": 13188.18374
    }
]