Community list of transit APIs, apps, datasets, research, and software :bus::star2::train::star2::steam_locomotive:
Have something to add or change? Open a pull request or issue.
Table of Contents
If this is your first time dealing with transit data, you might find these links useful:
- GTFS - A GTFS feed is a group of text files that contains infrequently changing transit data, like stops, routes, trips, and other schedule data. Transit agencies typically update their GTFS feed every few months.
- GTFS Realtime - GTFS Realtime consists of three binary files that contain realtime vehicle positions, realtime arrival information, and service alerts. Transit agencies typically update these files every minute.
- TransitFeeds - List of GTFS/GTFS-realtime data feeds from around the world. If you’re trying to get realtime data for some agency, this is a good place to start.
- World Bank - “Intro. to GTFS” online course - A free, online, self-paced course for learning about GTFS and GTFS-realtime.
- Open Transit Data Toolkit - A series of lessons to help people utilize open transit data.
Places to ask questions and find other community resources.
Places to access collections of GTFS and other transit and multimodal data
3rd party GTFS URL directories
- Transitland - Community editable list of many transit agency GTFS datasets. Also provides an API to access the data as JSON/GeoJSON and a playground to try out the data.
- TransitFeeds - List of GTFS and GTFS-RT feeds. Archives and validates the GTFS feeds and allows you to preview both GTFS and GTFS-RT through the browser.
GTFS Data Exchange (Deprecated) - Formerly the definitive directory of GTFS feed URLs. Shutdown in 2016. But 93 GB of data from 2008 to 2016 is available upon request.
Transit agency data archives
- CapMetrics - Historical vehicle locations for Austin’s transit agency (CapMetro). Data is collected by capmetricsd, a Go daemon.
U.S. Federal Government
- National Transit Database - Information and statistics on the transit systems of the United States, run by the Federal Transit Administration.
Proprietary (non-standard) vendor APIs
- Transport API - REST API for aggregated transit data for the United Kingdom. Fee-based access.
- TransLoc OpenAPI - REST API for real-time vehicle, route, stop, and arrival data for over 60 transit systems in the United States that have purchased TransLoc’s AVL hardware and software.
- NextBus API - REST API for real-time vehicle, route, stop, and arrival data for agencies that have puchased NextBus’s hardware and/or software.
- Navitia.io - REST API for journey planning, stop schedules, isocrhons and lot more on US and EU. Navitia is the opensource engine behind the live API.
- CityBikes - REST API for aggregated bikeshare data from around the world. Powered by pyBikes.
Software for Creating APIs
Software that you can set up to provide an API to transit and multimodal data.
- OneBusAway - A Java app that consumes GTFS and GTFS-Realtime (along with other formats) and turns them into an easy to use REST API.
- OpenTripPlanner - An open source platform for multi-modal and multi-agency journey planning, as well as returning information about a multi-modal graph (using data sources such as GTFS and OpenStreetMap).
- TransitClock - Java application that can consume raw vehicle positions and generate prediction times in formats such as GTFS-realtime. Formerly known as “Transitime”.
- Linked Connections - An open-source, scalable intermodal route planning engine, which allows clients to execute the route planning algorithm (as opposed to the server). Uses GTFS data.
- TransiCast - Provides public transportation data for North America in a single, integrated call and response format. The data is provided in stream-parsable XML and JSON formats. Open-source on Google Code. Hosted version at www.transitcast.com requires payment.
- gtfs-server - A web server, written in Rust that uses PostGIS as a backend to serve GTFS data via a HTTP endpoint
- Navitia is the opensource engine behind the Navitia.io live API.
- pyBikes - Software powering CityBikes for worldwide bikeshare system info
Tools for transit agencies. See also GTFS Tools for tools specific to GTFS.
- Remix - A webapp that lets transit agencies easily plan routes.
- AC Transit RestroomFinder - Pinpoints the nearest authorized restroom for bus operator and field staff, using GPS and on-screen map.
- AC Transit Training and Education Department (TED) application - This application supports the District’s training operations for transportation and maintenance employees, primarily in the positions of Bus Operators and Heavy Duty Coach Mechanics (Apprentice and Journey), although the system supports new courses and apprenticeship programs.
- AC Transit Customer Relations application (CusRel) - Public transit ticketing system for customer issues and feedback with: inter-departmental routing with notifications, department/person assigments, simple workflow, ticket searching, pre-canned reports, daily reminders and more.
- TransAM - An open-source asset management platform for public transportation agencies. Open-source on Github.
- RidePilot - An open-source Computer Aided Scheduling and Dispatch (CASD) software system to meet the needs of small scale human service transportation agencies (for more info see Cambridge Systematics’s marketing site).
- TNExT - Transit Network Explorer Tool (TNExT) is a web-based software tool developed for the visualization, analysis, and reporting of regional and statewide transit networks in the state of Oregon.
- Route Trends (webapp, GitHub) - An R Shiny app to ingest ridership time series, and return seasonal, trend, and residual components according to STL methodology and forecasts including uncertainty based on those components. Sponsored by Metro Transit (Minneapolis-St. Paul).
Experimental and production transit hardware.
- Bus Tracking GPS - Code for Miami prototype of a cheap open-source solution to track transit buses.
Apps people use when taking transit.
- TransitScreen - Custom realtime displays of all local transportation choices
- Instabus - Realtime map of Austin’s (CapMetro) public transit. Has no server/backend dependency at all and runs completely on GitHub pages.
- Maryland MTA Real-time Vehicle Tracking
- OpenTripPlanner Client GWT - A Google Web Toolkit-based web interface for OpenTripPlanner
- GTFS-realtime Alerts Producer Web Application - A Java-based web application for producing GTFS-realtime Service Alerts.
- HRT BUS Web app - HRT Bus API publishes real time bus data from Hampton Roads Transit through an application programming interface for developers to make apps from it.
- Transit-Map - Web app that animates vehicles (markers) on a map using the public transport timetables to interpolate their positions along the routes (polylines).
- Bikeshare Map - Status of all worldwide bikeshare stations
- Bongo - Real-time Transit Tracking for Iowa City, Coralville and the University of Iowa. Awesome because it combines three disparate transit systems into one UI.
- Transitive.js - Creates a customizable web map layer of transit routes using Leaflet or D3.
- Brand New Subway - An interactive transportation planning game that lets players alter the NYC subway system to their heart’s content.
- CityMapper Webapp - Really polished webapp with trip planner and route status for over 30 of cities.
- Google I/O Transport Tracker - Shows shuttle arrival times for Google I/O conference, based on the open-source transport-tracker project. Note: To implement this yourself, you need a Google Maps APIs Premium Plan license.
- YourStop - Mobile friendly web app which consumes GTFS feeds and displays both live and scheduled trips for stops. Launched with MBTA, YRT/Viva and Maryland MTA.
- 1-Click - A virtual “trip aggregator” that assembles information on a wide variety of available modes: public transit, private, rail, rideshare, carpool, volunteer, paratransit, and walking and biking. Open-source on Github.
- Bustime - Public transport real-time monitoring with WebSocket updates.
Native Apps (open source)
Native Apps (closed source)
- Visualizing MBTA Data - Interactive graphs that show how people use Boston’s subway system.
- MIT COAXS - Co-creative Planning of Transit Corridors using Accessibility-Based Stakeholder Engagement (shows route scenarios using OpenTripPlanner Analyst).
- TRAVIC Transit Visualization Client - Visualizes vehicles moving based on static GTFS data (and sometimes realtime data). Supports over 260 cities. Github account for geOps organization is here.
- Muni, this moment - Realtime map of all the buses in San Francisco.
- MTA Frequency - Frequency visualization of subways and buses in New York City built using Transitland.
- Traze by Veridict - Visualization of public transport vehicles from all over the world. Collaborate with other users to get real-time updates even when it is not available from the agency. Based on a number of sources, including GTFS and GTFS-RT. (Previously known as Livemap24).
- Graphs in Transit - Graph centrality metrics displayed over rapid transit networks for New York City, Boston, and Paris.
- SEPTA Rail OTP Report - An online on-time performance reporing & drill down tool using GTFS.
- TransitFlow Animate GTFS data around the world using Processing and Transitland.
- gtfspy-webviz - Web application for animation and visualization of GTFS data using gtfspy.
- Mapnificent - Shows areas you can reach with public transport in a given time. Open-source on GitHub, live at https://www.mapnificent.net/.
- Toronto Transit Explorer - A Java application that visualizes transit, biking and walking accessibility across the city of Toronto. Live version hosted here. Uses a modified version of R5 for routing.
- fastest-bus-analysis-in-the-west - A python Pandas script that combines Ridership/APC, Swiftly speed and dwell data, bus stop inventory, GTFS, and geospatial shapes to create a stop by stop, route by route, time grouping filterable dataset for cross-analyses. The dataset is then visualized in Tableau to help VTA Planners find places to make bus and rail network faster and more reliable through speedups methods like stop consolidation and dedicated lanes.
- TNExT - Transit Network Explorer Tool (TNExT) is a web-based software tool developed for the visualization, analysis, and reporting of regional and statewide transit networks in the state of Oregon.
Software that makes it easy to consume GTFS data in a variety of languages.
- Mapzen GTFS - A Python GTFS library that supports reading individual GTFS tables, or constructing a graph to represent each agency in a feed.
- gtfsdb - Python library for converting GTFS files into a relational database.
- OneBusAway GTFS Modules - A Java-based library for reading, writing, and transforming public transit data in the GTFS format, including database support.
- GTFS to SQL - Parses a GTFS feed into an SQL database (used in TransitFeeds.com)
- SQL to GTFS - Convert an SQLite file generated with “GtfsToSql” back to a zipped GTFS file.
- Go GTFS Parser - A GTFS parsing library for Go
- GTFS Feed Parser - .Net/Mono implementation of a GTFS parser
- Node-GTFS - Loads transit data from GTFS Data Exchange, unzips it and stores it to a MongoDB database and provides some methods to query for agencies, routes, stops and times.
- GTFS-viz - Ruby script that converts a set of GTFS files into a SQLite database + GeoJSONs (needed by the Transit Map web application)
- gtfs-sequelize - Node.js library modeling the static GTFS using sequelize.js.
- gtfslib-python - An open source library in python for reading GTFS files and computing various stats and indicators about Public Transport networks.
- multigtfs - A Django application to import and export GTFS
- GTFSTK - A Python 3 toolkit for analyzing GTFS data in memory. Uses Pandas and Shapely for speed.
- gtfs-schema - PostgreSQL schema for GTFS feeds.
- partridge - A fast, forgiving Python GTFS reader built on pandas DataFrames.
- gtfspy - Public transport network analysis and travel time computations using Python3. Compatible with Postgres/PostGIS, Oracle, MySQL, and SQLite. Used by gtfspy-webviz.
- RRRR Rapid Real-time Routing - RRRR (usually pronounced R4) is a C-language implementation of the RAPTOR public transit routing algorithm.
- R5: Rapid Realistic Routing on Real-world and Reimagined networks - A Java-based routing engine for multimodal (transit/bike/walk/car) networks. It currently plans many trips over a time window for analytics purposes, but may eventually support point-to-point journey planning.
- gtfsman - Repository-like tool in Python to manage and update a huge number of GTFS feeds.
- go gtfsparser - A GTFS parsing library implemented in Go.
- Make GTFS - A Python library to make GTFS feeds from basic route information
- trread - A transit (GTFS) file reader for R.
- ESRI public-transit-tools - Tools for working with public transit data in ArcGIS (license for ArcGIS required).
- CGTFS - C library for reading static GTFS feeds. Supports reading unpacked feeds into application memory or into SQLite databases.
Converters from various static schedule formats to and from GTFS.
- Transmodel and IFF to GTFS - Imports and syncs (Transmodel) BISON Koppelvlak1, IFF (a format written by HP/EDS, somewhat similiar to ATCO CIF) to import timetables of the railway networks. The internal pseudo-NETeX datastructure allows to export to GTFS and there are proof-of-concepts to export to other formats such as NETeX, GTFS and IFF.
- Open-Transport SYNTHESE Convertors - Converts French-Transmodel, SIRI, NETeX, HAFAS, HASTUS, VDV452, and more.
- Chouette - Converts French-Transmodel, SIRI, NETeX. See Chouette.mobi website for more info.
- osm2gtfs - Turn OpenStreetMap data and schedule information into GTFS.
- GTFS-OSM-Sync - A Java tool for synchronizing data in GTFS format with OpenStreetMap.org.
- onebusaway-gtfs-to-barefoot - A Java tool to create a Barefoot mapfile from a GTFS file.
- o2g - A simple tool to extract GTFS feed from OpenStreetMap.
- transloc-gtfs-rectifier - Python application that attempts to assign GTFS stop_ids to TransLoc IDs using TransLoc’s API (TransLoc doesn’t provide GTFS
stop_ids in their API).
- Hafas2GTFS - Hafas2GTFS converter written in Python, optimized for SBB HAFAS feeds.
- gtsf - general transit (GTFS) simple (geographic) features (sf) in R. can be used to convert from GTFS to Shapefile, GeoJSON, and other formats through GDAL.
GTFS Data Collection and Maintenance Tools
- bus-router - Python script that generates missing shapes.txt for GTFS using routing from Google Maps Directions API or OSRM.
- GTFS Editor A (self-hosted) web-based GTFS editing framework. (Note: this project has been deprecated in favor of Conveyal Data Tools.)
- GTFS Editor for Vagrant Quickly set up the GTFS editor (above) using Vagrant
- static-GTFS-manager - A (self-hosted) browser-based user interface for creating, editing, exporting static GTFS (see related post). Live demo here.
- TransitWand - An open source web and mobile application for collecting transit data. Use it to create GTFS feeds, capture passenger counts or generate GIS datasets.
- Conveyal Data Tools - A web application that handles GTFS editing, validating, quality checking, and deploying to OpenTripPlanner. (Combines and builds upon the functionality of the deprecated Gtfs Data Manager and GTFS Editor.)
- GTFS.html - An entirely browser-based tool to view GTFS feeds. Use it to view routes, stops, timetables, etc.
- pfaedle - Precise map-matching for GTFS using OpenStreetMap data
- Peartree - A Python library for converting transit data into a directed graph for network analysis.
- gtfsr - An R package for easily importing, validating, and mapping transit data that follows the General Transit Feed Specification (GTFS) format.
- tidytransit (formerly bustt) - Reads GTFS data into tidyverse and simple features dataframes to map transit stops and routes, calculate transit frequencies, and validate transit feeds. tidytransit is a fork of gtfsr, published to CRAN, with frequency/headway calculation functions.
- transitr - An R package for constructing and modelling a transit network in real time to obtain vehicle ETAs
- GTFS to HTML - A creates human-readable, user-friendly transit timetables in HTML format directly from GTFS transit data.
- TimeTablePublisher (TTPUB) - A web publishing system developed by TriMet that allows a transit agency to examine, modify, and transform raw scheduling data into easy-to-read timetables for customer information purposes
GTFS Realtime Libraries & Demo Apps
GTFS Realtime Validators
- gtfs-realtime-validator - A GTFS-realtime validation tool developed by the Center for Urban Transportation Research at the University of South Florida. Also includes an integrated version of the gtfs-validator tool.
- GTFS-realtime to SQL - Parses a GTFS-RealTime feed into an SQL database (used in TransitFeeds.com)
- gtfsrdb - A Python tool that supports reading and archiving GTFS-realtime feeds into a database
- retro-gtfs - A Python application that collects real-time data from the Nextbus API and archives it into the GTFS format (i.e., retrospective GTFS).
GTFS Realtime Convertors
GTFS Realtime Utilities
Other multimodal data formats
- GTFS-flex - A data format that models flexible public transportation services as an extension to GTFS.
- NeTex - A general purpose XML format designed for the exchange of complex static transport data among distributed systems managed by the CEN standards process.
- General Bikeshare Feed Specification (GBFS) - Open data standard for real-time bikeshare information developed by members of the North American Bikeshare Association (NABSA).
- gbfs-validator - 3rd party tool to validate GBFS feeds.
- gbfs R package - Functions to interface with GBFS feeds in R, allowing users to save and accumulate tidy .rds datasets for specified cities/bikeshare programs.
- GTFS-ride - An open, fixed-route transit ridership data standard developed through a partnership between the Oregon Department of Transportation and Oregon State University.
- Managed and Tolled Lanes Feed Specification (MTLFS) - Proposal for a schema that comprise the Managed and Tolled Lanes Tolling Feed Specification (MTLFS) and defines the fields used in all of those files developed by Santa Clara Valley Transportation Authority.
- GTFS-plus - A GTFS-based transit network format for vehicle and capacity data suitable for dynamic transit modeling developed by Puget Sound Regional Council, UrbanLabs LLC, LMZ LLC, and San Francisco County Transportation Authority.
- Dyno-Demand - A GTFS-based travel demand data format focusing on individual passenger demand suitable for dynamic network modeling developed by San Francisco County Transportation Authority, LMZ LLC, and UrbanLabs LLC.
- Dyno-Path - (Under development - see this post) Data for individual passenger trajectories.
- GTFS-stat - An extension to a GTFS transit network with additional files that contain performance data developed by UrbanLabs LLC and San Francisco County Transportation Authority.
- TIDES project - Transit ITS Data Exchange Specification (TIDES) is a proposed effort to create standard data structures, APIs, and data management tools for historical transit ITS data including AVL, APC and AFC Data.
- SAE Shared and Digital Mobility Committee - Appears to be working on a data standard for car share and transportation network companies (TNCs) / rideshare.
- City of Los Angeles Mobility Data Specification (MDS) - A format to implement realtime data sharing, measurement and regulation for municipalities and mobility as a service providers. It is meant to ensure that governments have the ability to enforce, evaluate and manage providers.
- Alliance for Parking Data Standards (APDS) - Formed by the International Parking Institute (IPI), the British Parking Association (BPA), and the European Parking Association (EPA), APDS is a not-for-profit organization with the mission to develop, promote, manage, and maintain a uniform global standard that will allow organizations to share parking data across platforms worldwide. APDS Version 1.0 documents are here.
- Mobility as a Service API - A set of open documents and test suite that defines a MaaS-compatible API (e.g., a MaaS Transport Service Provider Booking API).
- TCRP G-16 Development of Transactional Data Specifications for Demand-Responsive Transportation (In progress) - The objective of this research is to develop technical specifications for transactional data for entities involved in the provision of demand-responsive transportation. Expected completion date is late 2018.
- NCHRP 08-119 Developing Data Standards and Guidance for Transportation Planning and Traffic Operations - Phase 1 (Anticipated) - The objective of this research is to develop standards and/or guidance to be used and adopted by the transportation community in collecting, managing, and sharing static and real-time data for transportation planning and operations.
- General Travel Network Specification - A planned data specification for sharing travel demand model networks.
On-line courses, blog posts, and reports related to open transit data.
To the extent possible under law, Luqmaan Dawoodjee and the Center for Urban Transportation Research at the University of South Florida have waived all copyright and related or neighboring rights to this work.
Originally created by Luqmaan Dawoodjee, now maintained by the Center for Urban Transportation Research at the University of South Florida.
This list is intended as a community resource for informational use only - listing of a project/product does not imply endorsement.