Transport for Toronto, Canada

API

Official API for Toronto Transit Commission (TTC) real-time transit data

Visit Website

Overview

The Transport for Toronto API provides access to official Toronto Transit Commission (TTC) data, including real-time vehicle positions (buses, subways, streetcars), route schedules, stop details, and service alerts. Endpoints support queries for specific routes, stops, or vehicle IDs, with responses formatted in JSON. Ideal for developers building real-time transit tracking apps, journey planning tools, or integrating TTC data into navigation platforms to help commuters stay informed about delays or schedule changes.

Example Integration (JavaScript)

script.js JS

fetch('https://myttc.ca/developers')
  .then(res => res.json())
  .then(data => console.log(data))
  .catch(err => console.error(err));

Key Features

  • RESTful API
  • Real-time transit data
  • JSON response format
  • Official TTC data
  • Covers buses, subways, streetcars

Frequently Asked Questions

? Is Transport for Toronto, Canada API free to use?

Yes, the API is free for developers, though registration on the developer portal is required to obtain an API key.

? Does it require an API Key?

Yes, users must register at https://myttc.ca/developers to get an API key for authenticated access.

? What is the response format?

The API returns data in JSON format for easy integration into web and mobile applications.

Top Alternatives

OC Transpo API (Ottawa) Search Google
TransLink Open API (Vancouver) Search Google

People Also Ask about Transport for Toronto, Canada

Transport for Toronto, Canada vs OC Transpo API (Ottawa)Transport for Toronto, Canada vs TransLink Open API (Vancouver) Transport for Toronto, Canada 2025 review

Tool Info

Pricing Free
Category Transportation
Platform Public API

Pros

  • Official TTC data source
  • Real-time vehicle tracking
  • Comprehensive transit mode coverage
  • Supports service alert integration

Cons

  • Rate limits may apply
  • Requires API key registration
  • Limited historical data access

More Transportation Tools