{"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,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","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},"links":{"run":"https://pullrow.dev/v1/apis/api_7ca1e28e4c94046273266d19/run","openapi":"https://pullrow.dev/v1/apis/api_7ca1e28e4c94046273266d19/openapi.json","contract":"https://pullrow.dev/v1/apis/api_7ca1e28e4c94046273266d19/contract.json","page":"https://pullrow.dev/catalog/ttc-service-alerts"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["A run returns the alerts the TTC alerts page shows at that moment, usually a few dozen; there is no history.","The TTC refreshes its alerts every few minutes. Poll politely, no more often than once a minute.","One alert can cover several routes: route then holds the TTC's list, for example 2,5,12, and the route filter matches any route in that list.","Escalator and elevator outages are alerts too; use mode to separate them from subway, bus and streetcar alerts.","Public data from the TTC alerts page; not affiliated with or endorsed by the Toronto Transit Commission.","ends_at is empty while the TTC gives no end time."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"The TTC's own alert id.","group":"Technical","shown":false,"written":false},{"name":"route","label":"Route","description":"Route or line the alert covers (a comma list when several).","group":"Basics","shown":true,"written":false},{"name":"mode","label":"Mode","description":"Kind of service: Subway, Bus, Streetcar, Escalator and so on.","group":"Basics","shown":true,"written":false},{"name":"alert_type","label":"Alert type","description":"Planned or Unplanned.","group":"Basics","shown":true,"written":false},{"name":"effect","label":"Effect","description":"Effect code such as NO_SERVICE, DETOUR or SIGNIFICANT_DELAYS.","group":"Basics","shown":true,"written":false},{"name":"severity","label":"Severity","description":"Severity label such as Critical or Minor.","group":"Basics","shown":true,"written":false},{"name":"header","label":"Header","description":"Alert headline in plain text.","group":"Basics","shown":true,"written":false},{"name":"starts_at","label":"Starts at","description":"When the alert starts (UTC).","group":"Dates","shown":true,"written":false},{"name":"ends_at","label":"Ends at","description":"When the alert ends (UTC); empty when open-ended.","group":"Dates","shown":true,"written":false},{"name":"updated_at","label":"Updated","description":"When the TTC last changed the alert (UTC).","group":"Dates","shown":true,"written":false},{"name":"is_active_now","label":"Active now","description":"Yes when the alert period covers the time of the run.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"route","label":"Route","help":"Only alerts that cover this route, such as 504, 29 or 1 (Line 1).","example":"504","written":false},{"name":"alert_type","label":"Alert type","help":"Planned or Unplanned alerts only.","example":"Planned","written":false},{"name":"mode","label":"Mode","help":"Only one kind of service, such as subway, bus, streetcar, escalator or elevator.","example":"subway","written":false}]}},"incidents":[]}