You are viewing information on version v4 of the Winnipeg Transit Open Data Web Service API.

API (v4)

Services

Other versions

Routes API

A route is a pattern of service that covers a certain geographic area.

Primary Transit Network launching June 29, 2025

Find out more about the routes that make up the Primary and Feeder Networks. In general, route numbers are changing from mostly numeric to a mix of alphanumeric and numeric, so ensure your applications can handle both numeric and alphanumeric route "numbers".

New in v4

Stops, routes, trips, variants, and destinations services will have the concept of effective times:

  • effective-from and effective-to attributes on results from these services
  • effective-on query parameter accepted by these services

The effective attributes represent the time frame that the results are valid. They indicate when a piece of service begins and ends operating. Effective time ranges will correspond with Winnipeg Transit’s seasonal schedule changes. They will help you determine what service is new and what is ending when the Primary Transit Network launches on June 29, 2025. This includes identifying new stops and routes introduced by the network. It will also help in determining which routes will no longer be in service.

Different effective periods do not necessarily mean a major change in services. The BLUE route will continue to be in service after June 29, 2025 and will operate similarly to before that date. There may be some variability in service on the same route or at the same stop between effective periods. For example, an existing route may visit a new stop. Or an existing stop may be visited by a route that did not service it before.

Visit winnipeg.ca for more information about the new Primary Transit Network and its Feeder routes.

Route badges

The badge-label attribute provides a shorthand version of a route number. Badge labels may differ from the route number if the route number exceeds 3 characters. Badge labels are for display purposes in cases of limited screen space.

The badge-style property defines CSS styles for displaying route badges. CSS class names are also provided for styles defined in the routes stylesheet.

Valid URL Parameters

effective-on Return route(s) in service at the provided time. Allows querying for routes in future service that hasn't started yet.
stop Only return routes passing through this stop
Common parameters:
usage The style of names to return.
  • long: The default, yields more verbose names.
  • short: Yields terser names.
json-camel-case Return camelCase keys when returning data in JSON format.
  • false: The default, legacy behaviour. Returns hyphenated keys like 'stop-schedule' or 'effective-to'
  • true: Returns camelCase keys like 'stopSchedule' or 'effectiveTo'.

Examples

Login to see sample results.

Identity

  • routes/16
  • routes/18
  • routes/FX4?effective-on=2025-07-07T14:00:00
  • routes/224?effective-on=2025-06-29T05:00:00
  • routes/faux-route

Filter

  • routes
  • routes?stop=10066
  • routes?stop=10066&effective-on=2025-07-02T12:00:00

Wildcard

  • routes:16
  • routes:FX?effective-on=2025-06-29T12:00:00
  • routes:

Explore the API

Login to explore the Routes API.

Noteworthy Results

key A unique identifier for this route.
number The route "number", e.g., 16, 55, BLUE.
name The route name, which may be blank. See the usage parameter for formatting options.
effective-from The date and time when this route will begin operating (i.e., the beginning of the Transit schedule change this route is in)
effective-to The date and time when this route will end operating (i.e., the end of the Transit schedule change this route is in)
customer-type The type of service provided by this route.
coverage Categorizes how a route services stops along its path. Can be one of:
  • regular: observes all stops on route
  • express: observes select stops on express portions of the route
  • super express: does not observe stops on express portions of the route
badge-label A shorthand version of the route number, in cases where the route number exceeds 3 characters.
badge-style The CSS style properties for this route's badge element. Includes class names to use with the routes stylesheet. Also includes individual style properties: 'background-color', 'border-color' and 'color'.
variants A route has many variants, or variations of the route path. Only variant keys are included in the results. Use the xlink:href attribute to call the corresponding Variants service. See the Variants service for more information.