{"api":{"id":"api_7ca1e28e4c94046273266d19","slug":"ttc-service-alerts","name":"TTC Service Alerts API","description":"Live Toronto Transit Commission service alerts as flat rows: route, planned or unplanned, effect, headline, details, start and end time, last update and whether the alert is active right now.","kind":"ready_made","visibility":"public","domain":"alerts.ttc.ca","source_url":"https://alerts.ttc.ca/api/alerts/live-alerts","category":"travel","record_type":"event","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":11,"created_at":"2026-12-06T04:45:48.407Z","updated_at":"2026-12-06T04:45:48.407Z","runnable":true},"version":"1.0","contract_hash":"4ab598b629ad65ab4a7364bc8a3e037f392e280c78d6ba635d6a55ed5ea002bc","fields":[{"name":"id","type":"string","description":"The TTC's own alert id.","required":true,"coverage":1,"example":"81774"},{"name":"route","type":"string","description":"Route or line the alert covers (a comma list when several).","required":false,"coverage":1,"example":"1"},{"name":"mode","type":"string","description":"Kind of service: Subway, Bus, Streetcar, Escalator and so on.","required":false,"coverage":1,"example":"Subway"},{"name":"alert_type","type":"string","description":"Planned or Unplanned.","required":false,"coverage":1,"example":"Planned"},{"name":"effect","type":"string","description":"Effect code such as NO_SERVICE, DETOUR or SIGNIFICANT_DELAYS.","required":false,"coverage":1,"example":"NO_SERVICE"},{"name":"severity","type":"string","description":"Severity label such as Critical or Minor.","required":false,"coverage":1,"example":"Critical"},{"name":"header","type":"string","description":"Alert headline in plain text.","required":false,"coverage":1,"example":"Line 1 Yonge-University: There is no subway service between College and Osgoode stations due to planned track work.…"},{"name":"starts_at","type":"datetime","description":"When the alert starts (UTC).","required":false,"coverage":1,"example":"2026-12-04T23:59:00.000Z"},{"name":"ends_at","type":"datetime","description":"When the alert ends (UTC); empty when open-ended.","required":false,"coverage":0.6,"example":"2026-12-07T03:30:00.000Z"},{"name":"updated_at","type":"datetime","description":"When the TTC last changed the alert (UTC).","required":false,"coverage":1,"example":"2026-12-04T23:59:03.187Z"},{"name":"is_active_now","type":"boolean","description":"True when the alert period covers the time of the run.","required":false,"coverage":1,"example":true}],"inputs":[{"name":"route","type":"string","description":"Only alerts that cover this route, such as 504, 29 or 1 (Line 1).","example":"504"},{"name":"alert_type","type":"string","description":"Planned or Unplanned alerts only.","example":"Planned","enum":["Planned","Unplanned"]},{"name":"mode","type":"string","description":"Only one kind of service, such as subway, bus, streetcar, escalator or elevator.","example":"subway"}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"alert_type":{"description":"Planned or Unplanned.","type":"string"},"effect":{"description":"Effect code such as NO_SERVICE, DETOUR or SIGNIFICANT_DELAYS.","type":"string"},"ends_at":{"description":"When the alert ends (UTC); empty when open-ended.","format":"date-time","type":"string"},"header":{"description":"Alert headline in plain text.","type":"string"},"id":{"description":"The TTC's own alert id.","type":"string"},"is_active_now":{"description":"True when the alert period covers the time of the run.","type":"boolean"},"mode":{"description":"Kind of service: Subway, Bus, Streetcar, Escalator and so on.","type":"string"},"route":{"description":"Route or line the alert covers (a comma list when several).","type":"string"},"severity":{"description":"Severity label such as Critical or Minor.","type":"string"},"starts_at":{"description":"When the alert starts (UTC).","format":"date-time","type":"string"},"updated_at":{"description":"When the TTC last changed the alert (UTC).","format":"date-time","type":"string"}},"required":["id"],"title":"TTC Service Alerts API","type":"object"},"samples":[{"id":"81774","route":"1","mode":"Subway","alert_type":"Planned","effect":"NO_SERVICE","severity":"Critical","header":"Line 1 Yonge-University: There is no subway service between College and Osgoode stations due to planned track work. Shuttle buses are running.","starts_at":"2026-12-04T23:59:00.000Z","ends_at":"2026-12-07T03:30:00.000Z","updated_at":"2026-12-04T23:59:03.187Z","is_active_now":true},{"id":"81777","route":"5","mode":"Subway","alert_type":"Planned","effect":"NO_SERVICE","severity":"Critical","header":"Line 5 Eglinton: There is no subway service between Mount Dennis and Kennedy stations due to a planned Metrolinx signalling upgrade. Shuttle buses are running.","starts_at":"2026-12-05T22:00:00.000Z","ends_at":"2026-12-06T03:30:00.000Z","updated_at":"2026-12-05T22:00:03.213Z","is_active_now":false},{"id":"81813","route":"23","mode":"Bus","alert_type":"Planned","effect":"DETOUR","severity":"Critical","header":"23 Dawes: Detour northbound via Main St, Doncaster Ave, Barrington Ave and Secord Ave due to construction.","starts_at":"2026-12-05T07:53:00.000Z","ends_at":"2026-12-06T02:00:00.000Z","updated_at":"2026-12-05T22:25:14.287Z","is_active_now":false}],"validation":{"checked_at":"2026-12-06T04:45:48.335Z","field_coverage":{"alert_type":1,"effect":1,"ends_at":1,"header":1,"id":1,"is_active_now":1,"mode":1,"route":1,"severity":1,"starts_at":1,"updated_at":1},"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-06T04:45:48.407Z","activated_at":"2026-12-06T04:45:48.407Z","active":true,"contract_hash":"4ab598b629ad65ab4a7364bc8a3e037f392e280c78d6ba635d6a55ed5ea002bc","fields_count":11}]}