TTC Service Alerts API
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.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from alerts.ttc.ca/api/alerts/live-alerts
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/ttc-service-alerts/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"route":"504"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
11 fields: 10 here, 1 technical one under Technical details.
Basics
- Route
Route or line the alert covers (a comma list when several).
Example 1
- Mode
Kind of service: Subway, Bus, Streetcar, Escalator and so on.
Example Subway
- Alert type
Planned or Unplanned.
Example Planned
- Effect
Effect code such as NO_SERVICE, DETOUR or SIGNIFICANT_DELAYS.
Example NO_SERVICE
- Severity
Severity label such as Critical or Minor.
Example Critical
- Header
Alert headline in plain text.
Example Line 1 Yonge-University: There is no subway service between College and Osgoode stations due to planned track work.…
- Active now
Yes when the alert period covers the time of the run.
Example Yes
Dates
- Starts at
When the alert starts (UTC).
Example Dec 4, 2026
- Ends at
When the alert ends (UTC); empty when open-ended.
Example Dec 7, 2026
- Updated
When the TTC last changed the alert (UTC).
Example Dec 4, 2026
Technical detailsField names and types for developers, and the 1 field hidden above
Hidden by default
This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.
- ID
idThe TTC's own alert id.
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | ID (hidden) | 3 of 3 |
route | text | Route | 3 of 3 |
mode | text | Mode | 3 of 3 |
alert_type | text | Alert type | 3 of 3 |
effect | text | Effect | 3 of 3 |
severity | text | Severity | 3 of 3 |
header | text | Header | 3 of 3 |
starts_at | date and time | Starts at | 3 of 3 |
ends_at | date and time | Ends at | 3 of 3 |
updated_at | date and time | Updated | 3 of 3 |
is_active_now | yes or no | Active now | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Route | Mode | Alert type | Effect | Severity | Header | Active now | Starts at | Ends at | Updated |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 1 | Subway | Planned | NO_SERVICE | Critical | Line 1 Yonge-University: There is no subway service between College and Osgoode stations due to planned track work. Shuttle buses are running. | Yes | Dec 4, 2026 | Dec 7, 2026 | Dec 4, 2026 |
| 2 | 5 | Subway | Planned | NO_SERVICE | Critical | 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. | No | Dec 5, 2026 | Dec 6, 2026 | Dec 5, 2026 |
| 3 | 23 | Bus | Planned | DETOUR | Critical | 23 Dawes: Detour northbound via Main St, Doncaster Ave, Barrington Ave and Secord Ave due to construction. | No | Dec 5, 2026 | Dec 6, 2026 | Dec 5, 2026 |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- 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.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.