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.

Try it
Ready-made, maintained by usEvents, 11 fieldsv1.0

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

Routeoptional
Only alerts that cover this route, such as 504, 29 or 1 (Line 1).
Example: 504
Alert typeoptional
Planned or Unplanned alerts only.
Modeoptional
Only one kind of service, such as subway, bus, streetcar, escalator or elevator.
Example: subway

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
Endpoint
POSThttps://pullrow.dev/v1/apis/ttc-service-alerts/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
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.

routetext
Only alerts that cover this route, such as 504, 29 or 1 (Line 1).
example: 504
alert_typetext
Planned or Unplanned alerts only.
example: Plannedone of: Planned, Unplanned
modetext
Only one kind of service, such as subway, bus, streetcar, escalator or elevator.
example: subway

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 nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
routetextRoute3 of 3
modetextMode3 of 3
alert_typetextAlert type3 of 3
effecttextEffect3 of 3
severitytextSeverity3 of 3
headertextHeader3 of 3
starts_atdate and timeStarts at3 of 3
ends_atdate and timeEnds at3 of 3
updated_atdate and timeUpdated3 of 3
is_active_nowyes or noActive now3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordRouteModeAlert typeEffectSeverityHeaderActive nowStarts atEnds atUpdated
11SubwayPlannedNO_SERVICECriticalLine 1 Yonge-University: There is no subway service between College and Osgoode stations due to planned track work. Shuttle buses are running.YesDec 4, 2026Dec 7, 2026Dec 4, 2026
25SubwayPlannedNO_SERVICECriticalLine 5 Eglinton: There is no subway service between Mount Dennis and Kennedy stations due to a planned Metrolinx signalling upgrade. Shuttle buses are running.NoDec 5, 2026Dec 6, 2026Dec 5, 2026
323BusPlannedDETOURCritical23 Dawes: Detour northbound via Main St, Doncaster Ave, Barrington Ave and Secord Ave due to construction.NoDec 5, 2026Dec 6, 2026Dec 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.
Known limits
  • 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.