Public APIs
Transport for Ottawa, Canada favicon

Transport for Ottawa, Canada

Transportation

OC Transpo API.

Transport for Ottawa, Canada's website screenshot

About Transport for Ottawa, Canada

OC Transpo, the public transit authority for Ottawa, provides an open data feed for developers building transit applications. The feed follows the GTFS-Realtime (GTFS-RT) standard for real-time next-arrival information, alongside static GTFS schedule data; an older stop-based API 2.0 was retired as of April 30, 2025. GPS position data is sent from buses to the server approximately every 30 seconds, though the agency notes gaps in accuracy can occur roughly 5% of the time due to equipment defects, latency, or network coverage issues.

The service also offers RSS feeds for service alerts in English and French. Registered developers may use the GTFS-RT data for both non-commercial and commercial purposes. OC Transpo does not provide technical support for building applications but makes documentation, release notes, and best-practices resources available through its developer portal, and can be contacted via email for questions about how the GTFS-RT feed works.

This is intended for developers creating desktop, web, or mobile applications that incorporate Ottawa transit schedule and real-time arrival data.

Key features

  • Real-time bus and train arrival data via GTFS-Realtime feed
  • GTFS static schedule data for route and stop information
  • Service alerts delivered through RSS feeds (English and French)
  • Open data usable for both non-commercial and commercial applications
  • GPS vehicle positions updated approximately every 30 seconds

Frequently asked questions

Is there a free tier or cost to access the data?

The GTFS and GTFS-RT feeds are open and freely available; there is no mention of any fee to access them.

What standard does the API use?

OC Transpo uses the GTFS-Realtime standard for its open data feed, having retired its older stop-based API 2.0 as of April 30, 2025.

Can I use this data for a commercial app?

Yes, OC Transpo and the City of Ottawa allow registered developers to use the GTFS-RT data for both non-commercial and commercial purposes.

Is technical support available for developers?

OC Transpo does not provide support for building applications, but developers can reach out to octranspo-dev@ottawa.ca with questions about how GTFS-realtime works.

How accurate and up-to-date is the real-time data?

Bus GPS data is sent to the server about every 30 seconds, though roughly 5% of the time positions may be inaccurate due to equipment defects, latency, or network coverage gaps.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product