GTFS Schedule Data

Originating as the Google Transit Feed Specification, GTFS is an open data format that Google created in partnership with Portland TriMet in order to easily provide schedule data to Google’s systems for trip planning.  As an open specification published under the Apache 2.0 License, it has blossomed into a standard that is used by transit agencies everywhere.

Today, it is known as the General Transit Feed Specification and continues to be extended for public agency and private industry needs through the facilitation of MobilityData. LA Metro has been publishing separate GTFS files for Bus and Rail since May 6, 2016.  This allows us to provide more frequent file updates.

Please follow the instructions on GitLab to subscribe to feed update notifications.

Metro Bus GTFS

Bus data is updated every few months as large-scale changes to the system occur.

Starting 9/22/21, a new calendar_dates.txt file is being published weekly for the GTFS bus. This file contains data for the two-week period following the day it is generated. For example, the file generated on 9/22/21 contains data for 9/22/21 to 10/6/21.  This file is not meant to be a direct replacement for the main calendar_dates.txt file since it only contains a subset of information.  It is only meant to replace the data for the relevant dates. These files are in the GitLab repository in the /notebooks/input/ folder as .zip files with the generated date and its relevant two-week period in the file name.

We’ve created a Jupyter Notebook in the /notebooks/ folder that will take the weekly generated files and apply them to the main calendar_dates.txt file to create a new file that can be used to replace the main file.  The notebook will be run each time the weekly calendar_dates.txt is published and the resulting new calendar_dates.txt will be located in the /calendar_dates/ folder.

FileDescription
GitLab ProjectThe GitLab project where the GTFS bus files are hosted. The README file contains detailed information about each update.
gtfs_bus.zipA zip file with all the GTFS bus files.
agency.txt 
calendar.txt 
calendar_dates.txt 
feed_info.txt 
routes.txt 
shapes.txt 
stop_times.txt 
stops.txt 
trips.txt 

Metro Rail GTFS

Rail data is updated daily (generally Tuesday-Saturday mornings) and will reflect temporary rail service changes that may occur on a daily basis.

FileDescription
GitLab ProjectThe GitLab project where the GTFS rail files are hosted.
gtfs_rail.zipA zip file with all the GTFS rail files.
agency.txt 
calendar.txt 
calendar_dates.txt 
feed_info.txt 
routes.txt 
shapes.txt 
stop_times.txt 
stops.txt 
trips.txt 

Copyright © 2017-2021 Metro | For everyone who wants to make transit better!