PASAR API

🇨🇦 OC Transpo ~ Ottawa real-time transit (GTFS-RT)

← directory
OC Transpo (City of Ottawa)Travel & mobilitytier: openauth: API keypricing: freeverified 2026-07-05

Ottawa's transit agency serves GTFS-Realtime vehicle positions and trip updates (JSON or protobuf) via an Azure developer portal after free sign-up; the legacy API 2.0 was retired in 2025.

View docs ↗ More Travel & mobility APIs

Get started

# OC Transpo ~ Ottawa real-time transit (GTFS-RT) needs an API key ~ get yours at:
# https://www.octranspo.com/en/plan-your-trip/travel-tools/developers/dev-doc
curl 'https://nextrip-public-api.azure-api.net/octranspo' \
  -H 'Authorization: Bearer YOUR_TOKEN'

AI prompt

I'm integrating a Canada API into my app.

API: OC Transpo ~ Ottawa real-time transit (GTFS-RT)
Provider: OC Transpo (City of Ottawa)
Auth: requires an API key (sign up: https://www.octranspo.com/en/plan-your-trip/travel-tools/developers/dev-doc)
Pricing: free
Base URL: https://nextrip-public-api.azure-api.net/octranspo
Important note: Ottawa's transit agency serves GTFS-Realtime vehicle positions and trip updates (JSON or protobuf) via an Azure developer portal after free sign-up; the legacy API 2.0 was retired in 2025.

Source: OC Transpo (City of Ottawa) (https://www.octranspo.com/en/plan-your-trip/travel-tools/developers/dev-doc)
Source type: Official public feed
Endpoint type: Public feed, non-JSON
Integration difficulty: Needs API key
Last checked: 2026-07-05
Production caveat: Keep credentials server-side and confirm current limits, pricing, and webhook/error behaviour in the provider docs.

Help me set up the correct onboarding/authentication path and make the first valid request ~ explain exactly where credentials go and what must happen before production.

Related Travel & mobility APIs

LTA DataMall ~ Singapore real-time bus, train & traffic dataCarpark Availability (data.gov.sg) ~ live HDB carpark lotsTraffic Images (data.gov.sg) ~ live Singapore road camerasAviationstack Real-Time Flight DataFlightAware AeroAPIBooking.com Demand APIViator Partner APISkyscanner Travel APIKlook Open APIAmadeus Self-Service APIs ~ flight search, booking, hotels & travel data