{"api":{"id":"api_06196d55296be3c9fc1aad3d","slug":"live-transit-vehicles","name":"Live Transit Vehicles & Delays API","description":"Open GTFS-Realtime transit feeds decoded to typed rows: live vehicle positions with route, speed and crowding, trip delays in seconds, and service alerts with their effect, for any keyless agency feed such as TTC or MBTA.","kind":"ready_made","visibility":"public","domain":"bustime.ttc.ca","source_url":"https://bustime.ttc.ca/gtfsrt/vehicles","category":"travel","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":19,"created_at":"2026-12-06T03:57:27.678Z","updated_at":"2026-12-06T03:57:27.678Z","runnable":true},"version":"1.0","contract_hash":"2505c31dfe213ab46d6f6aab620d9630147c56fe8f3ffef83d5b3ec2dd0533b9","fields":[{"name":"id","type":"string","description":"The feed own id of the vehicle, trip update or alert.","required":true,"coverage":1,"example":"1"},{"name":"feed","type":"string","description":"Host name of the feed the row came from.","required":false,"coverage":1,"example":"bustime.ttc.ca"},{"name":"feed_type","type":"string","description":"vehicle_positions, trip_updates or alerts.","required":false,"coverage":1,"example":"vehicle_positions"},{"name":"vehicle_id","type":"string","description":"Vehicle id.","required":false,"coverage":0.6,"example":"3639"},{"name":"vehicle_label","type":"string","description":"Vehicle label shown to riders.","required":false,"coverage":0.4,"example":"3-door"},{"name":"trip_id","type":"string","description":"Trip id.","required":false,"coverage":0.6,"example":"15382070"},{"name":"route_id","type":"string","description":"Route id (first affected route for alerts).","required":false,"coverage":0.6,"example":"906"},{"name":"direction_id","type":"integer","description":"Direction of travel, 0 or 1.","required":false,"coverage":0.2,"example":0},{"name":"lat","type":"number","description":"Vehicle latitude.","required":false,"coverage":0.6,"example":43.709499},{"name":"lon","type":"number","description":"Vehicle longitude.","required":false,"coverage":0.6,"example":-79.592049},{"name":"bearing","type":"number","description":"Heading in degrees.","required":false,"coverage":0.6,"example":160},{"name":"speed","type":"number","description":"Speed in meters per second.","required":false,"coverage":0.4,"example":18.78},{"name":"current_status","type":"string","description":"incoming_at, stopped_at or in_transit_to.","required":false,"coverage":0.4,"example":"in_transit_to"},{"name":"stop_id","type":"string","description":"Current, next or first predicted stop; first affected stop for alerts.","required":false,"coverage":0.8,"example":"6367"},{"name":"occupancy_status","type":"string","description":"Crowding, such as many_seats_available or full.","required":false,"coverage":0.4,"example":"empty"},{"name":"timestamp_at","type":"datetime","description":"When the position or prediction was recorded, or the alert started (UTC).","required":false,"coverage":0.6,"example":"2026-12-06T03:37:35.000Z"},{"name":"delay_seconds","type":"integer","description":"Delay of the trip in seconds (negative when early); trip update rows.","required":false,"coverage":0.2,"example":8},{"name":"alert_header","type":"string","description":"Alert headline; alert rows.","required":false,"coverage":0.2,"example":"Have proof of payment ready for"},{"name":"alert_effect","type":"string","description":"Effect of the alert, such as detour or no_service; alert rows.","required":false,"coverage":0.2,"example":"unknown_effect"}],"inputs":[{"name":"feed_urls","type":"array","description":"Addresses of open GTFS-Realtime feeds (protobuf), such as https://bustime.ttc.ca/gtfsrt/vehicles. Up to 10.","example":["https://bustime.ttc.ca/gtfsrt/vehicles","https://bustime.ttc.ca/gtfsrt/trips","https://bustime.ttc.ca/gtfsrt/alerts"]},{"name":"feed_type","type":"string","description":"Keep only vehicle_positions, trip_updates or alerts. Leave empty for everything the feeds hold.","example":"vehicle_positions","enum":["vehicle_positions","trip_updates","alerts"]},{"name":"routes","type":"array","description":"Keep only these route ids, such as 504.","example":["504"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"alert_effect":{"description":"Effect of the alert, such as detour or no_service; alert rows.","type":"string"},"alert_header":{"description":"Alert headline; alert rows.","type":"string"},"bearing":{"description":"Heading in degrees.","type":"number"},"current_status":{"description":"incoming_at, stopped_at or in_transit_to.","type":"string"},"delay_seconds":{"description":"Delay of the trip in seconds (negative when early); trip update rows.","type":"integer"},"direction_id":{"description":"Direction of travel, 0 or 1.","type":"integer"},"feed":{"description":"Host name of the feed the row came from.","type":"string"},"feed_type":{"description":"vehicle_positions, trip_updates or alerts.","type":"string"},"id":{"description":"The feed own id of the vehicle, trip update or alert.","type":"string"},"lat":{"description":"Vehicle latitude.","type":"number"},"lon":{"description":"Vehicle longitude.","type":"number"},"occupancy_status":{"description":"Crowding, such as many_seats_available or full.","type":"string"},"route_id":{"description":"Route id (first affected route for alerts).","type":"string"},"speed":{"description":"Speed in meters per second.","type":"number"},"stop_id":{"description":"Current, next or first predicted stop; first affected stop for alerts.","type":"string"},"timestamp_at":{"description":"When the position or prediction was recorded, or the alert started (UTC).","format":"date-time","type":"string"},"trip_id":{"description":"Trip id.","type":"string"},"vehicle_id":{"description":"Vehicle id.","type":"string"},"vehicle_label":{"description":"Vehicle label shown to riders.","type":"string"}},"required":["id"],"title":"Live Transit Vehicles & Delays API","type":"object"},"samples":[{"id":"1","feed":"bustime.ttc.ca","feed_type":"vehicle_positions","vehicle_id":"3639","vehicle_label":null,"trip_id":"15382070","route_id":"906","direction_id":null,"lat":43.709499,"lon":-79.592049,"bearing":160,"speed":18.78,"current_status":"in_transit_to","stop_id":"6367","occupancy_status":"empty","timestamp_at":"2026-12-06T03:37:35.000Z","delay_seconds":null,"alert_header":null,"alert_effect":null},{"id":"1968693","feed":"api.bart.gov","feed_type":"trip_updates","vehicle_id":null,"vehicle_label":"3-door","trip_id":"1968693","route_id":null,"direction_id":null,"lat":null,"lon":null,"bearing":null,"speed":null,"current_status":null,"stop_id":"S40-1","occupancy_status":null,"timestamp_at":null,"delay_seconds":8,"alert_header":null,"alert_effect":null},{"id":"DevAPI-A7A47D84-4C20-4E7B-A011-BE3F74D8425A","feed":"bustime.ttc.ca","feed_type":"alerts","vehicle_id":null,"vehicle_label":null,"trip_id":null,"route_id":"7","direction_id":null,"lat":null,"lon":null,"bearing":null,"speed":null,"current_status":null,"stop_id":"3718","occupancy_status":null,"timestamp_at":null,"delay_seconds":null,"alert_header":"Have proof of payment ready for","alert_effect":"unknown_effect"}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"alert_effect":0.33,"alert_header":0.33,"bearing":0.33,"current_status":0.33,"delay_seconds":0.33,"direction_id":0,"feed":1,"feed_type":1,"id":1,"lat":0.33,"lon":0.33,"occupancy_status":0.33,"route_id":0.67,"speed":0.33,"stop_id":1,"timestamp_at":0.33,"trip_id":0.67,"vehicle_id":0.33,"vehicle_label":0.33},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:57:27.678Z","activated_at":"2026-12-06T03:57:27.678Z","active":true,"contract_hash":"2505c31dfe213ab46d6f6aab620d9630147c56fe8f3ffef83d5b3ec2dd0533b9","fields_count":19}]}