Open source · MIT · 9 cities · 5 continents · 7 languages

Multimodal trip planning for any city.

opentransit turns a city's open transit data into apps people want to use: bus, subway, rail, ferry, cable car, bikes, taxis and car + transit in one itinerary, with live vehicles, reminders of when to leave and estimated fares. Running today in Bogotá, Toronto, Boston, Santiago, Rome, Lisbon, Casablanca, Kuala Lumpur and Brisbane. No API keys, no lock-in.

The code:apiwebmobile

What it looks like, on live Bogotá data

Map-first home on the web
Map-first home on the web
Locate my bus: next buses, live vs scheduled
Locate my bus: next buses, live vs scheduled
Itinerary mixing shared bike and bus
Itinerary mixing shared bike and bus
Mobile home
Mobile home
Arrival board
Arrival board
Shared-bike stations
Shared-bike stations

What you get

Architecture

Three independent repositories, one router per city and open data as the only input. One API instance serves several cities (nine today); each city is a YAML file.

Open dataGTFSGTFS-RealtimeGBFSOpenStreetMapOpenTripPlanner 2graph + RT/GBFS updatersopentransit-apiFastAPI · PostGIS/v1/cities/{city}/…opentransit-webopentransit-mobileadmin + landing

Built on open data

Cities

Nine cities on five continents, each with its own graph, its brand and whatever realtime its agency publishes. Where no open GTFS-Realtime exists, the app shows the timetable and says so.

Live

Bogotá, Colombia

TransMilenio, SITP and TransMiCable (GTFS + GTFS-Realtime, ~6,000 buses), public bikes (GBFS, 252 stations), 819 paid-parking zones with live spaces (CDS) and the cadastre's geocoder.

bogota.opentransit.tech
Live

Toronto, Canada

TTC subway, streetcars and buses (GTFS + GTFS-Realtime, ~1,000 vehicles live) and Bike Share Toronto (GBFS, over a thousand stations). Arrivals are paired by stop because the feed shares no trip ids with the schedule.

toronto.opentransit.tech
Live

Brisbane, Australia

TransLink trains, buses, CityCats and the G:link across South East Queensland (GTFS + GTFS-Realtime: vehicles, arrivals and alerts).

brisbane.opentransit.tech
Live

Rome, Italy

ATAC metro, trams and buses with Roma Mobilità's data (GTFS + GTFS-Realtime: positions, arrivals and alerts).

roma.opentransit.tech
Live

Lisbon, Portugal

Carris Metropolitana's 941 lines across the 18 municipalities of the metro area (GTFS + live positions and alerts).

lisboa.opentransit.tech
Live

Kuala Lumpur, Malaysia

LRT, MRT, monorail and Rapid KL buses from data.gov.my's three GTFS feeds merged into one, plus live bus positions.

kualalumpur.opentransit.tech
Scheduled

Casablanca, Morocco

Casa Tramway's tramway and busway from a community GTFS; scheduled times until Morocco publishes realtime data.

casablanca.opentransit.tech
Live

Boston, United States

MBTA subway, buses, commuter rail and ferries (GTFS + GTFS-Realtime) and Bluebikes (GBFS, 600+ stations).

boston.opentransit.tech
Scheduled

Santiago, Chile

Metro, Red buses and EFE trains from DTPM's GTFS, plus Bike Santiago (GBFS). Scheduled times: Chile has no open GTFS-Realtime yet.

santiago.opentransit.tech

Add your city

One YAML, a GTFS feed and an OpenStreetMap extract. We will help you through it.

How to add a city

Repositories

Why

  • Open data

    Only public, openly licensed feeds. If your city publishes GTFS, it can use it today.

  • No lock-in

    Nothing proprietary in the path: OpenTripPlanner, MapLibre, OpenFreeMap, Photon. Every piece is replaceable by configuration.

  • Cities own it

    Each city deploys its own instance, with its brand, its panel and its data.

  • Honest with users

    Estimates are shown as estimates; unverified data as unverified.

Join in

Cities, agencies, developers and designers. Open an issue, propose a city or send a pull request.