API (v2)
OverviewServices
- Destinations
- Locations
- Routes
- Service Advisories
- Statuses
- Stop Features
- Stop Schedules
- Stops
- Streets
- System Messages
- Trip Planner
- Variants
Other versions
Routes API
A route is a named and numbered pattern of service that covers a certain geographic area with a consistent method of service delivery.
New for April 12, 2020
BLUE route in effect
Beginning on April 12, 2020, a new route, BLUE, will be starting service.
A few notes about the data you'll see for BLUE:
- The key and number attributes will be "BLUE".
- The name attribute will be blank.
- The badge-label attribute will be "B".
Route badge labels and styles
We will now be providing additional branding information for routes:
Route badge labels will be provided for route results in the badge-label attribute. Badge labels are shorthand versions of route numbers, for cases where the route number exceeds 3 characters. For route numbers 3 characters or less, the badge label will generally be the same as the route number.
Route badge styles will be provided for route results nested under the badge-style property. This includes CSS colour codes for styling route badge labels - font colour, background colour, and border colour.
Additionally, a new routes stylesheet provides styling for route badge elements. CSS class names are returned in each route query result that will correspond with styles defined in this stylesheet.